MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Computer Networks
Analyzing Subnet Mask
Q
You have an IP address of 172.16.13.5 with a 255.255.255.128 subnet mask. What is your class of address, subnet address, and broadcast address?
AA. Class a, subnet 172.16.13.0, broadcast address 172.16.13.127
BB. Class b, subnet 172.16.13.0, broadcast address 172.16.13.127
CC. Class b, subnet 172.16.13.0, broadcast address 172.16.13.255
DD. Class b, subnet 172.16.0.0, broadcast address 172.16.255.255
Correct Answer:
B. B. Class b, subnet 172.16.13.0, broadcast address 172.16.13.127
Explanation:
We know that the prefix 172 lies in class B (128 to 191) of IPv4 addresses. From the subnet mask, we get that the class is divided into 2 subnets: 172.16.13.0 to 172.16.13.127 and 172.16.13.128 to 172.16.13.255. The IP 172.16.13.5 lies in the first subnet. So the starting address 172.16.13.0 is the subnet address and last address 172.16.13.127 is the broadcast address.