The Gateway to Computer Science Excellence
+15 votes

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

  1. $1022$
  2. $1023$
  3. $2046$
  4. $2047$
in Computer Networks by Veteran (52.2k points)
edited by | 3.3k views

2 Answers

+27 votes
Best answer
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$ $bits$

these $3$$bits$ + $8$$bits$ more = $11$ $bits$

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

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

Correct Answer: $C$
by Boss (30.7k points)
edited by
what does 'per subnet' means then ?
per subnet means here it is class B network , so no of network bits is known so we can know no of subnet bits. In which each subnet can have many hosts . Here many subnets are possible so per subnet means in each subnet how many hosts are present
–1 vote
ans c)
by Loyal (5.2k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,563 answers
101,652 users