Aliverkkojen laskeminen
Etsitään ensin Pepistä opiskelijanumero, joka on 2002626.
Muodossa 'vvxyzki' tehdään siitä aliverkot 10.xy.yz.0/24 ja 192.168.ki.0/24.
Saadaan tulokseksi:
10.2.26.0/24
192.168.26.0/24
Exercise 1:
What is the usable address range of 192.168.26.0/24? What is the broadcast address? What is the network address?
- Address range is 192.168.26.1 - 192.168.26.254
- Broadcast address is 192.168.26.255
- Network address is 192.168.26.0
Exercise 2:
Divide the 192.168.26.0/24 into smaller subnets with (atleast) 50 hosts in each.
50 koneelle tarvitsee olla 2⁶ osoitetta, jolla päästään 64 osoitteeseen, joista kaksi käytetään verkko-osoitteeksi ja broadcast-osoitteeksi.
Näin ollen uusi subnet mask on:
11111111.11111111.1111111.11000000
255.255.255.192
/26
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.192 |
Number of usable hosts in the subnet | 62 |
Network address | 192.168.26.0/26 |
First IP Host address | 192.168.26.1 |
Last IP Host address | 192.168.26.62 |
Broadcast address | 192.168.26.63 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.192 |
Number of usable hosts in the subnet | 62 |
Network address | 192.168.26.64/26 |
First IP Host address | 192.168.26.65 |
Last IP Host address | 192.168.26.126 |
Broadcast address | 192.168.26.127 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.192 |
Number of usable hosts in the subnet | 62 |
Network address | 192.168.26.128/26 |
First IP Host address | 192.168.26.129 |
Last IP Host address | 192.168.26.190 |
Broadcast address | 192.168.26.191 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.192 |
Number of usable hosts in the subnet | 62 |
Network address | 192.168.26.192/26 |
First IP Host address | 192.168.26.193 |
Last IP Host address | 192.168.26.254 |
Broadcast address | 192.168.26.255 |
Exercise 3:
Divide the 10.2.26.0/24 into smaller subnets with (atleast) 13 hosts in each.
13 hostille tarvitaan 2⁴ osoitetta, jolla päästään 16 osoitteeseen, joista kaksi käytetään verkko-osoitteeksi ja broadcast-osoitteeksi.
Näin ollen uusi subnet mask on:
11111111.11111111.1111111.11110000
255.255.255.240
/28
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.240 |
Number of usable hosts in the subnet | 14 |
Network address | 10.2.26.0/28 |
First IP Host address | 10.2.26.1 |
Last IP Host address | 10.2.26.14 |
Broadcast address | 10.2.26.15 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.240 |
Number of usable hosts in the subnet | 14 |
Network address | 10.2.26.16/28 |
First IP Host address | 10.2.26.17 |
Last IP Host address | 10.2.26.30 |
Broadcast address | 10.2.26.31 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.240 |
Number of usable hosts in the subnet | 14 |
Network address | 10.2.26.224/28 |
First IP Host address | 10.2.26.225 |
Last IP Host address | 10.2.26.238 |
Broadcast address | 10.2.26.239 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.240 |
Number of usable hosts in the subnet | 14 |
Network address | 10.2.26.240/28 |
First IP Host address | 10.2.26.241 |
Last IP Host address | 10.2.26.254 |
Broadcast address | 10.2.26.255 |
Exercise 4
Divide the last 13 host subnet into smaller subnets with (atleast) 2 hosts in each.
2 hostille tarvitaan 2² osoitetta, jolla päästään 4 osoitteeseen, joista kaksi käytetään verkko-osoitteeksi ja broadcast-osoitteeksi.
Näin ollen uusi subnet mask on:
11111111.11111111.1111111.11111100
255.255.255.252
/30
Näitä /30 verkkoja mahtuu 4 kappaletta /28 maskin alle.
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.252 |
Number of usable hosts in the subnet | 2 |
Network address | 10.2.26.240/30 |
First IP Host address | 10.2.26.241 |
Last IP Host address | 10.2.26.242 |
Broadcast address | 10.2.26.243 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.252 |
Number of usable hosts in the subnet | 2 |
Network address | 10.2.26.244/30 |
First IP Host address | 10.2.26.245 |
Last IP Host address | 10.2.26.246 |
Broadcast address | 10.2.26.247 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.252 |
Number of usable hosts in the subnet | 2 |
Network address | 10.2.26.248/30 |
First IP Host address | 10.2.26.249 |
Last IP Host address | 10.2.26.250 |
Broadcast address | 10.2.26.251 |
Specification | Subnet info |
---|---|
New subnet mask (decimal or slash format) | 255.255.255.252 |
Number of usable hosts in the subnet | 2 |
Network address | 10.2.26.252/30 |
First IP Host address | 10.2.26.253 |
Last IP Host address | 10.2.26.254 |
Broadcast address | 10.2.26.255 |
Exercise 5
Is 10.2.26.0/24 a part of 10.2.16.0/16? Write your calculations on paper or do them on the computer. Add the calculations to the documentation (e.g. take a picture of the paper or screenshot).
Laskemme osoitteen 10.2.16.0 verkko käyttämällä /16 maskia:
Osoite 0000 1010 . 0000 0010 . 0001 0000 . 0000 0000
Maski 1111 1111 . 1111 1111 . 0000 0000 . 0000 0000
AND 0000 1010 . 0000 0010 . 0000 0000 . 0000 0000
Laskemme osoitteen 10.2.26.0 verkko myös käyttämällä /16 maskia:
(Käytetään /16 maskia, koska testataan meneekö tämä osoitteisto /16 maskiseen osoitteistoon.)
Osoite 0000 1010 . 0000 0010 . 0001 1010 . 0000 0000
Maski 1111 1111 . 1111 1111 . 0000 0000 . 0000 0000
AND 0000 1010 . 0000 0010 . 0000 0000 . 0000 0000
Huomataan, että molemmat ovat samassa verkossa, joten koko 10.2.26.0/24 osoitteisto on myös 10.2.16.0/16:ssä.
10.2.16.0/16 osoiteavaruus on 10.2.0.0 - 10.2.255.255.
10.2.26.0/24 osoiteavaruus on 10.2.26.0 - 10.2.26.255.
Exercise 6
Is 10.xy.yz.0/24 a part of 10.0.0.0/8? Write your calculations on paper or do them on the computer. Add the calculations to the documentation (e.g. take a picture of the paper or screenshot).
Laskemme osoitteen 10.0.0.0 verkko käyttämällä /8 maskia:
Osoite 0000 1010 . 0000 0000 . 0000 0000 . 0000 0000
Maski 1111 1111 . 0000 0000 . 0000 0000 . 0000 0000
AND 0000 1010 . 0000 0000 . 0000 0000 . 0000 0000
Laskemme osoitteen 10.2.26.0 verkko myös käyttämällä /8 maskia:
(Käytetään /8 maskia, koska testataan meneekö tämä osoitteisto /8 maskiseen osoitteistoon.)
Osoite 0000 1010 . 0000 0010 . 0001 1010 . 0000 0000
Maski 1111 1111 . 0000 0000 . 0000 0000 . 0000 0000
AND 0000 1010 . 0000 0000 . 0000 0000 . 0000 0000
Huomataan, että molemmat ovat samassa verkossa, joten koko 10.2.26.0/24 osoitteisto on myös 10.0.0.0/8:ssa.
10.0.0.0/8 osoiteavaruus on 10.0.0.0 - 10.255.255.255.
10.2.26.0/24 osoiteavaruus on 10.2.26.0 - 10.2.26.255.
IP-osoitteen haku
Haetaan 'https://www.ripe.net/'-osoitteesta oma ip.
Tulokset:
Tuloksista huomaamme, että ollaan JAMK:in verkossa, Suomessa. IP-osoitteisto on rekisteröity jo vuonna 1970 ja viimeksi muokattu vuonna 2015. Palveluntarjoaja on Funet. IP-osoitteiston ylläpitäjä on RIPE NCC.
Internet Registries
Etsitään osoitteet:
195.2.26.0/24
43.2.26.0/24
15.26.2.0/24
100.26.26.0/24
195.2.26.0/24 on RIPE NCC:n-rekisteristä Vodafonen ip-osoite.
43.2.26.0/24 on APNIC-rekisteristä Alibabacom Singaporen osoite.
15.26.2.0/24 on ARIN-rekisteristä HP-INTERNETin osoite.
100.26.26.0/24 on ARIN-rekisteristä Amazon Ringin osoite.