
222 Data Communications and Computer Networks
40. GivenanIPaddress156.36.2.58withdefaultmask255.255.0.0/23.Determineitssubnet
mask in the event of subnetting.
Ans: Given IP address = 156.36.2.58
Default mask = 255.255.0.0/22
Here, /22 indicates that the first 22 bits of the subnet mask are 1s while the rest are 0s. Thus, the
subnet mask is:
11111111 11111111 11111100 00000000
This subnet mask can be written in dotted decimal notation as 255.255.252.0.
Multiple choice questions
1. How many bits are allocated for the host ID in
an IP address of class A?
(a) 8 (b) 24
(c) 48 (d) 16
2. Which class of IP address ...