edited by
13,660 views
26 votes
26 votes

If a class $B$ network on the Internet has a subnet mask of $255.255.248.0$, what is the maximum number of hosts per subnet?

  1. $1022$
  2. $1023$
  3. $2046$
  4. $2047$
edited by

2 Answers

Best answer
44 votes
44 votes
a number of zeros are to be counted for calculating the total number of possible hosts per subnet.

$255-248 = 7$ can be represented using $3\;\text{bits}$

these $3\;\text{bits} + 8\;\text{bits}$ more $= 11\;\text{bits}$

So, possible subnets $= 2^{11}$ out of these $2$ are reserved as subnet $\text{ID}$ and $\text{DBA}$

Therefore, we have maximum possible usable hosts $= 2^{11}-2 = 2046$

Correct Answer: $C$
edited by
2 votes
2 votes
we all know that a class b network in general has 16 bits for network ID and 16 bits for host ID but subnet mask is given as to 48 in the third octet that means all the five bits are occupied that means we will have 30 subnets possible subnetworks can be made now only 3 bits from the third of data remaining and entire 4th Octet is remaining that means we have 11 bits for host now we are asked in the question that how many hosts per subnet we can form the answer is 2 to the power 11 - 2 that is 2046 that is the answer
edited by
Answer:

Related questions

37 votes
37 votes
8 answers
1
Kathleen asked Sep 11, 2014
17,608 views
What is the maximum size of data that the application layer can pass on to the TCP layer below?Any size$2^{16}$ bytes - size of TCP header$2^{16}$ bytes$1500$ bytes