The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+1 vote
A network has subnet mask $$. Determine the maximum or number of Host
in this network. Also determine the broadcast address of this network.
asked in Computer Networks by (21 points)
edited by | 113 views

$\Rightarrow 11111111.11111111.11111111.11111110$
There are only $1$ host bits.
Hence, there are $2^1 -1= 0 $ hosts are possible
and the DBA will be $$
This question seems ambiguous,

Can i have the IP address
IP address is not provided in the Question.

@Sukanya Das this is not an ambiguous question.

3 Answers

+2 votes⇒11111111.11111111.11111111.11111110

Above 31-Bit prefix address

Directed broadcast is disabled automatically on /31 links. -Ref:
Using 31-Bit prefixes, the host-id of 0 represents one host(Also Subnet), and a host-id of 1 represents the other host of a point-to-point link.
So we have 2 hosts here

You could refer to this RFC for more info on 31-bit prefixes (/31 links)

answered by Active (1.1k points)
Yes, this is an exception
0 votes⇒11111111.11111111.11111111.11111110

Above 31-Bit prefix address 
number of one's  in network mask represent the total no bit used in the network id

means 31 bit are used for network id and 1 bit are used for host id . so  maximum no of host is 21=2.

and limited broadcast address is


answered by (277 points)
2^2-2=0 hosts are possible
when they ask about maximum host do't subtract 2 .and when they ask  about total host subtract 2
source of the above line????
0 votes

As per given subnet mask = > 31 bits already used we left with 1 bit.

so  #no of IP Possible with 1 bit => 21  = 2  but practically we can configure 21 - 2 Hosts only .

Final Answer => 0 Host and is broadcast address.

answered by (107 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

34,851 questions
41,835 answers
41,454 users