Subnetting a Class B Address with a 6-Bit Subnet Number: Maximum Subnets, Hosts per Subnet, and Total Class B Networks
Subnetting a Class B Address with a 6-Bit Subnet Number: Maximum Subnets, Hosts per Subnet, and Total Class B Networks
In classful IPv4 addressing, a Class B network uses a /16 network prefix, leaving 16 bits for host IDs within the class. When you subnet a Class B address using a 6-bit subnet number, the subnetting changes how many distinct networks exist and how many hosts each subnet can support.
Key formulas (from binary subnetting principles) are:
- Maximum number of subnets:
- Remaining host bits per subnet:
- Maximum hosts per subnet (usable):
This yields a maximum of subnets, with usable hosts per subnet.
A further question asks: how many networks are allowed under Class B addresses in classful terms (i.e., without extra subnetting)? For classful Class B, the number of distinct network IDs is . 2
Footnotes
-
Classful IP addressing - Class B - Explains Class B uses a /16 network prefix. ↩
-
Classful network addressing (overview) - Provides the structure and counts for classful networks, including Class B network size. ↩
Subnetting basics: how subnet bits affect # of subnets and # of hosts
Learning goals
By the end of this section you can:
- Compute the maximum number of subnets given a borrowed subnet-bit length.
- Compute the maximum usable hosts per subnet accounting for network and broadcast addresses.
- Compute the total number of possible Class B network IDs under classful addressing.
Compute subnets and hosts for a Class B address with a 6-bit subnet number
- 1Step 1
Class B uses a /16 network prefix, leaving 16 host bits. So total address bits = 32, network bits = 16, host bits = 16.
Footnotes
-
Classful IP addressing - Class B - Explains Class B uses a /16 network prefix. ↩
-
- 2Step 2
A 6-bit subnet number means subnet bits = 6, borrowed from the original 16 host bits.
Footnotes
-
Subnetting (IPv4) - subnet masks and host counts - Covers borrowing bits, and the standard host-count rule for usable addresses. ↩
-
- 3Step 3
With 6 subnet bits, maximum subnets = .
Footnotes
-
Subnetting (IPv4) - subnet masks and host counts - Covers borrowing bits, and the standard host-count rule for usable addresses. ↩
-
- 4Step 4
Footnotes
-
Subnetting (IPv4) - subnet masks and host counts - Covers borrowing bits, and the standard host-count rule for usable addresses. ↩
-
- 5Step 5
Each subnet with host bits has total addresses; subtract 2 for the subnet’s network and broadcast addresses → usable hosts = .
Footnotes
-
Subnetting (IPv4) - subnet masks and host counts - Covers borrowing bits, and the standard host-count rule for usable addresses. ↩
-
Rule of thumb for host counting
If you borrow bits for subnetting from a classful host field of size , then usable hosts per subnet are (assuming standard IPv4 with network & broadcast reserved).
IPv4 vs special cases
The subtraction assumes subnet network and broadcast addresses are not usable for host assignment (standard classful/subnetting). Some edge cases (e.g., special OS configurations, or nonstandard interpretations) may differ, but the standard homework/CCNA-style answer uses .
Final answers (direct)
- Maximum number of subnets with a 6-bit subnet number:
- Maximum number of hosts in each subnet (usable host addresses):
(because Class B has 16 host bits total, and you borrow 6 bits, leaving 10 host bits per subnet). 2
Footnotes
-
Classful IP addressing - Class B - Explains Class B uses a /16 network prefix. ↩
-
Subnetting (IPv4) - subnet masks and host counts - Covers borrowing bits, and the standard host-count rule for usable addresses. ↩
Impact of borrowing 6 subnet bits from a Class B host field
Class B has 16 host bits; borrowing 6 creates subnets and reduces per-subnet host capacity.
Conceptual subnetting workflow
Identify classful host bits
1Class B → /16 prefix → 16 host bits."
Borrow subnet bits
2Subnet number length = 6 bits."
Compute number of subnets
3Subnets = ."
Compute usable hosts per subnet
4Hosts = ."
What is the number of networks allowed under Class B addresses?
Knowledge Check
A Class B address has how many host bits in classful form?