The address of a class B host is to be split into subnets with a 6 - bit subnet number. What is the maximum number of subnets and maximum number of hosts in each subnet ?
62 subnets and 1022 hosts
This question asks us to determine the maximum number of subnets and hosts within each subnet when a Class B IP address space is subnetted using a 6-bit subnet number. Subnetting involves dividing a larger network into smaller, more manageable sub-networks.
A Class B IP address is identified by the first two bits being 10. The default allocation for a Class B network is:
The default subnet mask for a Class B network is 255.255.0.0.
Subnetting a network involves "borrowing" bits from the host portion of the IP address to create a subnet portion. The number of bits borrowed determines the number of possible subnets and reduces the number of available host bits per subnet.
In this problem, we are told that 6 bits are used for the subnet number. These 6 bits are borrowed from the original 16 host bits of the Class B address.
Now, let's calculate the maximum number of subnets and the maximum number of hosts per subnet using these values.
The number of possible subnets is determined by the number of bits allocated to the subnet portion. If 'n' is the number of subnet bits, the total number of possible subnet combinations is $2^n$.
Here, the number of subnet bits is 6. So, total possible subnets = $2^6 = 64$.
However, in older subnetting practices, the first and last subnets were often reserved for specific purposes (the subnet where all subnet bits are '0' and the subnet where all subnet bits are '1'). When these are reserved, the number of usable subnets becomes $2^n - 2$.
Usable subnets (older practice) = $2^6 - 2 = 64 - 2 = 62$.
Given the options, it appears the question refers to the older practice where the first and last subnets are not used for assigning hosts, leading to 62 usable subnets.
The number of possible host addresses within each subnet is determined by the number of remaining host bits. If 'm' is the number of host bits, the total number of possible host addresses is $2^m$.
Here, the number of remaining host bits is 10. So, total possible host addresses = $2^{10} = 1024$.
Within any given network or subnet, two addresses are reserved and cannot be assigned to individual hosts:
Therefore, the number of usable host addresses per subnet is $2^m - 2$.
Usable hosts per subnet = $2^{10} - 2 = 1024 - 2 = 1022$.
Based on a 6-bit subnet number for a Class B network, assuming the older practice of reserving the first and last subnets and the network/broadcast addresses within each subnet:
| Parameter | Value/Calculation | Result |
|---|---|---|
| Original Host Bits (Class B) | 16 | 16 bits |
| Subnet Bits Borrowed | 6 | 6 bits |
| Remaining Host Bits | $16 - 6$ | 10 bits |
| Total Possible Subnets | $2^{\text{Subnet Bits}} = 2^6$ | 64 |
| Usable Subnets (Older Practice) | $2^{\text{Subnet Bits}} - 2 = 2^6 - 2$ | 62 |
| Total Possible Host Addresses per Subnet | $2^{\text{Host Bits}} = 2^{10}$ | 1024 |
| Usable Hosts per Subnet | $2^{\text{Host Bits}} - 2 = 2^{10} - 2$ | 1022 |
The maximum number of subnets is 62, and the maximum number of hosts in each subnet is 1022.
| Concept | Explanation |
|---|---|
| Class B Default | 16 Network bits, 16 Host bits. Default Mask: 255.255.0.0 |
| Subnetting | Borrowing bits from the Host portion to create a Subnet portion. |
| Subnet Bits (n) | The bits used to identify the specific subnet within the network. Determines the number of subnets. |
| Host Bits (m) | The remaining bits used to identify hosts within a specific subnet. Determines the number of hosts per subnet. |
| Number of Subnets | $2^n$ (Total possible) or $2^n - 2$ (Usable, older practice) |
| Number of Hosts per Subnet | $2^m$ (Total addresses) or $2^m - 2$ (Usable hosts, excluding network & broadcast) |
While the calculation $2^n - 2$ for usable subnets was standard practice historically (due to reserving the all-zeros and all-ones subnets), modern networking using CIDR (Classless Inter-Domain Routing) typically allows the use of all subnets ($2^n$). However, the $2^m - 2$ rule for usable hosts per subnet (reserving the network and broadcast addresses) still universally applies.
If the question implied modern CIDR practices, the number of subnets would be $2^6 = 64$. But since '62 subnets' is an option and matches with '1022 hosts' (which implies the $2^m-2$ rule is used for hosts), it strongly suggests the question is based on the older subnetting convention where the first and last subnets are unusable.
The custom subnet mask for this scenario would be derived from the 16 default network bits plus the 6 borrowed subnet bits, totaling $16 + 6 = 22$ network/subnet bits. The subnet mask would have 22 bits set to '1'. In binary, this is:
11111111.11111111.11111100.00000000
Converting this to decimal: 255.255.252.0. This is the subnet mask for a Class B network subnetted with 6 subnet bits.
Which of the following delays are present in packet switching?
Asynchronous Transfer Mode (ATM) is also known as-
What is the use of the 'Ping' command?
Which of the following types of firewall operates at the Network layer to examine incoming and outgoing packets?
What is the name of the protocol that allows a client to send a broadcast message with its MAC address and receive an IP address in reply?