edited by
35,357 views
60 votes
60 votes

The address of a class $\text{B}$ host is to be split into subnets with a $6\;\text{-bit}$ subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet?

  1. $62$ subnets and $262142$ hosts.

  2. $64$ subnets and $262142$ hosts.

  3. $62$ subnets and $1022$ hosts.

  4. $64$ subnets and $1024$ hosts.

edited by

13 Answers

69 votes
69 votes

This question is asking maximum no of subnets and hosts/subnet...NOT how many hosts are configurable. So, no need to Subtract $2$ in either case.
Subnet bits $=6$
means $2^6$  or $64$ subnets are possible..
and, total hosts=$2^{10}$ or $1024$ hosts..again no need to subtract $2$ since question is asking maximum no of hosts possible not how much we can configure.
So, option d should be right according to what they mean by maximum.

EDIT:
This is becoming a very debatable question now....firstly whatever explanation i have given is right according to question formation...people are arguing that we should subtract $2$ hosts from the available, for use..i agree..but this question was about maximum possible and one option also matched..so i gone with this...

Now what to do if something like this happens again in future?

From all previous year questions over this topic it seems like we have to mind read them as what they actually mean...means for the gate questions they are treating maximum possible hosts and available hosts all as same....so go only according to that else it would be very difficult to prove their thoughts wrong..

Now if asked how many maximum subnets we can use..dont subtract anything. This at least i can prove easily but mind it. GATE still uses previous conventions of subtracting $2$ subnets..atleast this is what shown here in $2007$..

If they ask maximum hosts or configurable hosts, anything. They actually wants us to subtract $2$ from the hosts and then answer. For gate questions i think English doesnt matter..u should answer according to the past experiences and questions they have asked.

At last, for this question maximum subnets are $64$ and hosts are $1022$ is the actual answer but according to old conventions $62$ and $1022$.So, go with.
Option $C$(closest). Choose wisely in the exam. I have explained each aspect of the question.
I rest here and there should not be any more confusion regarding this!!

edited by
65 votes
65 votes

In class B .. first 2 octet are reserved for NID and remaining for HID .. so first 6 bits  of  3rd octet are used for subnet and remaining 10 bits for hosts ..

Maximum number of subnets  = $\large 2^{6}-2=62$

Note that 2 is subtracted because subnet values consisting of all zeros and all ones (broadcast), reducing the number of available subnets by two in classic subnetting. In modern networks, we can have 64 as well. See here: http://www.weird.com/~woods/classb.html

and no of hosts = $\large 2^{10}-2=1022$.

2 is subtracted for Number of hosts is also. The address with all bits as 1 is reserved as broadcast address and address with all host id bits as 0 is used as network address of subnet.

So option (C) is correct..

9 votes
9 votes

Answer should be C

Maximum number of subnets = 2^6-2 =62. 
Note that 2 is subtracted from 2^6. The RFC 950 specification reserves the subnet values consisting of all zeros (see above) and all ones (broadcast), reducing the number of available subnets by two.

no of hosts = 2^10 -2 = 1022 .

reshown by
6 votes
6 votes

See, the option they are given is all wrong. There is no rule that you have to subtract 2 from the number of subnets, yes we are going to subtract 2 from the number of hosts because all 0's and all 1's in host part are reserved for the network address and broadcast address for the respective subnet.

The rule that says subtract 2 is for class A only where all 0 and 127.x.y.z is reserved for special purposes, and that is why  the range of class A is 1 - 126

So total number of subnet = 2 ^ 6 = 64

and number of hosts in each subnet is 2 ^ 10 - 2 =1022

Answer:

Related questions

27 votes
27 votes
4 answers
1
Kathleen asked Sep 21, 2014
33,732 views
The message $11001001$ is to be transmitted using the CRC polynomial $x^3 +1$ to protect it from errors. The message that should be transmitted is:$11001001000$$110010010...
11 votes
11 votes
1 answer
2
64 votes
64 votes
15 answers
3
Arjun asked Jul 6, 2016
36,697 views
Consider the following segment of C-code:int j, n; j = 1; while (j <= n) j = j * 2;The number of comparisons made in the execution of the loop for any $n 0$ is:$\lceil \...