The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+10 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 (68.8k points)
retagged by | 2k views

2 Answers

+22 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 3bits + 8bits 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 Veteran (30.5k points)
selected 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 Boss (5.1k 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

32,619 questions
39,267 answers
36,653 users