Menghitung jumlah Host dan Network berdasarkan alamat IP Address
Tugas Jaringan Komputer Pertemuan 2
Contoh IP Network
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
Penyelesaian
Nomor 1:
Netmask
= 255.255.255.252
In
binary = 11111111. 11111111. 11111111.11111100
Used
to calculate = 11111100
Network
= 2^n
= 2^6
= 64 Network
Host
= 2^h-2
= 2^2-2
= 2 Host
Nomor2 :
Netmask
= 255.255.0.0
In
Binary = 11111111.11111111.00000000.00000000
Used
to calculate = 00000000.00000000
Network
= 2^n
= 2^0
= 1 Network
Host
= 2^h-2
= 2^16-2
= 65534 Host
Nomor3 :
Netmask
: 255.255.252.0
In
Binary : 11111111.11111111.11111100.00000000
Used
to calculate = 11111100.00000000
Network
= 2^n
= 2^6
= 64 Network
Host
= 2^h-2
= 2^10-2
= 1022 Host
Nomor4 :
Netmask
: 255.0.0.0
In
Binary : 11111111.00000000.00000000.00000000
Used
to calculate = 00000000.00000000.00000000
Network
= 2^n
= 2^0
= 1 Network
Host
= 2^h-2
= 2^24-2
= 16.777.214 Host
Nomor5 :
Netmask
: 255.255.128.0
In
Binary : 11111111.11111111.10000000.00000000
Used
to calculate = 11111111.10000000.00000000
Network
= 2^n
= 2^9
= 512 Network
Host
= 2^h-2
= 2^15-2
= 32766 Host
Komentar
Posting Komentar