The Gateway to Computer Science Excellence
+17 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
edited by | 4.1k views

2 Answers

+31 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$
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
What does DBA stand for? I have seen this word on many computer networks answers on this site
–1 vote
ans c)
by 1 flag:
✌ Low quality (Hira Thakur)

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
52,375 questions
60,581 answers
95,400 users