Hitunglah 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
Jawaban
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
Nomor 2 :
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
Nomor 3 :
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
Nomor 4 :
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
= 167772614 Host
Nomor 5 :
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
Pernjelasan tambahan :
Cara menentukan binary yang digunakan untuk menghitung network dan host :
Tipe A : Gunakan digit ke 9 sampai digit ke 32
Contoh : 11111111.11111111.10000000.00000000
*Gunakan digit dalam format warna merah
Tipe B : Gunakan digit ke 17 sampai digit ke 32
Contoh : 11111111.11111111.00000000.00000000
*Gunakan digit dalam format warna merah
Tipe B : Gunakan 8 digit terakhir
Contoh : 11111111. 11111111. 11111111.11111100
*Gunakan digit dalam format warna merah
Komentar
Posting Komentar