sedangkan cara menghitung IP dapat melihat contoh di bawah ini
Menghitung IP menggunakan 2 cara
Soal 172.22.33.40/29
1. Menghitung IP
Jika diketahui IP adress 172.22.33.40/ 255.255.255.248
IP Network = IP AND NM
= 172. 22.33.40 AND 255.255.255.248
= 172. 22. 33. 40
255.255.255.248
AND
172. 22. 33. 40
IP Broadcast = IP OR ( NOT NM)
172.22.33.40 OR 255.255.255.248
= 172. 22. 33. 40
0. 0. 0. 7
OR
172. 22. 33. 47
Ip Host 172.22.33.41- 172.22.33.46
2. Menggunakan CIDR
Jika diketahui IP Adress 172.22.33.40/29
∑ IP = 256 – y
= 256 – 248
= 8
Na = ( x div ∑ IP ) * ∑IP
= ( 40 div 8 ) * 8
= 5 * 8
= 40
Nb = Na + ( ∑ IP- 1 )
= 40 + ( 8 – 1)
= 40 + 7
= 47
IP Network 172.22.33.40
IP Broadcast 172.22.33.47
IP Host 172.22.33.41- 172.22.33.46