Wednesday, March 27, 2019

Menghitung jumlah Network dan Host yang akan terbentuk dari alamat IP


Address dibawah ini:
1. 192.168.10.1/30
2. 172.168.10.1/16
3. 172.168.10./22
4. 10.168.5.1/8  
5. 10.168.5.1/17

Jawab :
1.     192.168.10.1 /30

Subnet : 255.255.255.252

11111111. 11111111. 11111111.11111100

Network     :         2n
                             26
                             64 network

Host            :         2h-2
                             22-2
                             2 host

2.     172.168.10.1/16

Subnet : 255.255.0.0

11111111. 11111111. 00000000.00000000

Network     :         20
                             20
                             1 network

Host            :         2h-2
                             216-2
                             65534 host


3.     172.168.10./22

Subnet : 255.255.252.0

11111111. 11111111. 11111100.00000000


Network     :         26
                             26
                             64 network

Host            :         210-2
                             210-2
                             1022 host

4.     10.168.5.1 /8

Subnet : 255.0.0.0

11111111. 00000000. 00000000.00000000

Network     :         20
                             20
                             1 network

Host            :         224-2
                             224-2
                             16777214 host


5.     10.168.5.1 /17

Subnet : 255.255.128.0

11111111. 11111111. 10000000.00000000

Network     :         29
                             29
                             512 network

Host            :         215-2
                             215-2
                             32766 host