The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+12 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$
asked in Computer Networks by Veteran (59.5k points)
edited by | 2.5k views

2 Answers

+23 votes
Best answer
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$
answered by Boss (30.6k 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)
answered by Active (5.2k points)

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

37,072 questions
44,646 answers
43,699 users