The address of a class host is to be split into subnets with a subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet?
View worked solution
Answer: C
To find the maximum number of subnets and hosts, we analyze the structure of a Class B IP address:
- Class B Default Format: 16 bits for Network ID and 16 bits for Host ID.
- Subnet ID size: bits (borrowed from the Host ID part).
- Remaining Host ID size: bits.
Now, we calculate the maximum number of subnets and hosts per subnet based on traditional subnetting rules (RFC 950):
-
Maximum Number of Subnets:
With subnet bits, we have possible combinations. Under the traditional standard (RFC 950), the subnet IDs consisting of all-zeros and all-ones are reserved (not used). -
Maximum Number of Hosts per Subnet:
With host bits, we have possible combinations. The host IDs consisting of all-zeros (subnet address) and all-ones (directed broadcast address) are reserved.
Therefore, the maximum number of subnets is 62 and the maximum number of hosts per subnet is 1022.
Free practice · Your answers on this page are not saved.
