1. hostnya =300
2n- 2 ≥300, then n =9
2^9 - 2 =510
Sehingga subnet mask menjadi :
11111111.11111111.11111110.0000000
C. 255.255.254.0
2. Eth0 = 192.168.1.65/27
Subnetmask :11111111.11111111.11111111.11100000
Host = 25-2 = 30 host/subnet
Net = 23 - 2 =6 subnet
Net id range broadcast
192.168.1.0 192.168.1.1 – 192.168.1.30 192.168.1.31
192.168.1.32 192.168.1.33 – 192.168.1.62 192.168.1.63
192.168.1.64 192.168.1.65 – 192.168.1.96 192.168.1.95
192.168.1.96 ……. ……
Syarat saling terhubung : Berada pada range yang sama
Answer : F. Address - 192.168.1.70
Gateway -192.168.1.65
D. Address - 192.168.1.82
Gateway -192.168.1.65
3. IP = 172.31.192.166
Subnet = 11111111.11111111.11111111.11111000
Host= 23-2= 6
Net Id = 25-2 =30
Range Net ID
172.31.192.0 172.31.192.1- 172.31.192.6 172.31.192.7
172.31.192.8 172.31.192.9- 172.31.192.14 172.31.192.15
…
172.31.192.160 172.31.192.161- 172.31.192.166 172.31.192.167
Answer : E. 172.31.192.160
4. Tiap answer diberikan penjelasan untuk memudahkan menjawab
A. 255.0.0.0 digunakan untuk class A
B. 255.254.0.0 digunakan untuk class A dengan CIDR
C. 255.224.0.0 digunakan untuk class A dengan CIDR
F. 255.0.0.0 digunakan untuk class C dengan CIDR
Answer : D. 255.255.0.0
5. Range net ID
172.16.128.0 172.16.159.255 172.16.159.255
172.16.160.0 …….
Net id :160-128 = 32 = 25
Subnetmask : 11111111.11111111.11111000.00000000
Answer : D. 172.16.128.0 dan 255.255.224.0
6. Ip : 223.168.17.167/29
Subnet : 11111111.11111111.11111111.11111000
Host Id =23-2=6 Host/subnet
range net ID
223.168.17.0 223.168.17.1 – 223.168.17..6 223.168.17.7
223.168.17.8 223.168.17.9 – 223.168.17.14 223.168.17.15
……..
223.168.17.160 223.168.17.161 - .166 223.168.17.167
Answer : C. broadcast address
7. IP : 192.168.99.0/29 (Class C)
Subnet : 11111111.11111111.11111111.11111000
Host Id : 23-2 = 6 host/subnet
Net Id : 25-2 = 30 subnet
Answer : C. 30 networks / 6 hosts
8. IP : 192.168.4.0 (class C)
subnet : 255.255.255.224 = 11111111.1111111111.1111111.11100000
Host Id : 25-2 = 30 host/subnet
(dikurangi 2 dikarenakan digunakan untuk broadcast and loopback)
Answer : C. 30
9. 27 host /subnet = 2n-2 ≥27 , n = 5
2^5-2=30
jumlah host id = 30 /subnet, maka subnet mask = 11111111.11111111.11111111.11100000
Answer : C. 255.255.255.224
10. 14 host/subnet ,maka 2n-2 ≥14, n = 4 ,karena 24-2 = 14
Jumlah Host Id= 14 per subnet
,maka subnetmask :11111111.11111111.1111111.11110000
Answer : C. 255.255.255.240
11. Pada class B ,membutuhkan 100 networks
2n -2≥100, n = 7
Subnetmask : 11111111.11111111.11111111.10000000 = 255.255.255.128
Answer : F. 255.255.255.128
12. IP = 172.32.65.13(Class B)
Default Mask = 255.255.0.0
Answer :C. 172.32.0.0
13. IP :172.16.210.0/22
Subnet : 11111111.11111111.11.0000000
Host Id : 210-2= 1022
Net id range broadcast
172.16.0.0 172.16.1.0 – 172.16.2.0 172.16.3.0
172.16.4.0 172.16.5.0 – 172.16.6.0 172.16.7.0
……
172.16.208.0 172.16.209.0 - 210.0 172.16.211.0
Answer : C. 172.16.208.0
14. IP 115.64.4.0/22
Subnet : 11111111.11111111.11111100.00000000
Host Id = 210-2 = 1022
Range net ID:
115.64.4.0 115.64.4.1 – 115.64.4.6 115.64.4.7
115.64.8.0 …………….
Answer : B, C, E
15. IP : 200.10.5.68/28
Subnet : 11111111.11111111.11111111.11110000
Host Id : 24-2 =14
Range net ID
200.10.5.0 200.10.5.1 – 200.10.5.14 200.10.5.15
……
200.10.5.64 200.10.5.65 – 200.10.5.78 200.10.5.79
Answer : C. 200.10.5.64
16. 172.16.0.0/19
Subnet : 11111111.11111111.11100000.00000000
Net Id : 23-2 = 6
Host Id: = 213 = 8190 /subnet
Answer : E. 8 subnets, 8190 hosts each
17. Class B, 500 subnet, setiap subnet digunakan 100 host, mask??
Subnet = 2N > 500, N = 9 (bit “1”)
Subnet = 11111111.11111111.11111111.10000000 = 255.255.255.128
Answer : B. 255.255.255.128
18 . IP address 172.16.66.0/21
Subnet: 11111111.11111111.11111000.00000000 = 255.255.248. 0
Host: 256-248 = 8
Range net ID
172.16.0.0 172.16.1.0 - .6.0 172.16.7.0
172.16.64.0 172.16.65.0 - .70.0 172.16.71.0
Answer : C. 172.16.64.0
19. Class B, 100 subnet & 500 host persubnet
Subnet = 2n > 100, n = 7 (bit 1)
Subnetmask = 11111111.11111111.11111110.00000000
Answer : B. 255.255.254.0
20. IP : 192.168.19.24/29
Subnet : 11111111.11111111.11111111.11111000 = 255.255.255.248
Host Id = 23-3 =6host /network
range net ID
192.168.19.0 192.168.19.1 - 192.168.19.6 192.168.19.7
192.168.19.24 192.168.19.25 - .30 192.168.19.31
Answer : C. 192.168.19.26 255.255.255.248
21. subnet = 300 , Host = 50 host per subnet
• 26-2 =62 ≥50 ,11111111.11111111.11111111.11000000 =255.255.255.192
• 27 -2 =126 ≥ 50 11111111.11111111.11111111.10000000 =255.255.255.128
Answer : B dan E
22. IP address 172.16.112.1/25
Subnet : 11111111.11111111.11111111.10000000 = 255.255.255.128
Host Id = 27- 2 =126
range net id
172.16.112.0 172.16.112.1- .126 172.16.112.127
172.16.112.128 dst
Answer : A. 172.16.112.0
23. host = 3350
Host 2n - 2 > 3350, n = 12
Subnet : 11111111.11111111.11111000.00000000 = 255.255.248.0
Answer : C. 255.255.248.0
24. Subnet 172.16.17.0/22
Subnet : 11111111.11111111.11111100.00000000 = 255.255.255.252
Host: 256-252 = 4
Answer : E. 172.16.18.255 255.255.252.0
25. ip: 172.16.112.1/20
Subnet: 11111111.11111111.11110000.00000000 = 255.255.240.0
Host n = 12 (bit “0”), 212 – 2 = 4094
Answer : C. 4094
26. Prefix /27 Class C
11111111.11111111.11111111.11100000
Subnet 23-2=6
Host Id 25-2 = 30 subnet
Answer : D,E,F
27. Class B, 450 host per subnet
Host Id 2n - 2 > 450, n = 9
Subnetmask = 11111111.11111111.11111110.00000000 = 255.255.254.0
Answer : C. 255.255.254.0
28. IP = 198.18.166.33/27
Subnetmask = 11111111.11111111.11111111.11100000 = 255.255.255.224
IP Address 198.18.166.65 dihubungkan dengan Eth0 gateway 198.18.166.33, maka harus mengikuti ethernetnya.
Blok Subnet = 256 – 224 = 32
32, 64, 96, 128, 160, 192
Answer :
A. The host subnet mask is incorrect
B. The host IP address is on a different network from the Serial interface of the router.