Computer Sciences > GATE 2026 SET-2 > Computer Networks
If an IP network uses a subnet mask of 255.255.240.0, the maximum number of IP addresses that can be assigned to network interfaces is __________. (answer in integer)

Correct : 4094

The correct answer is 4094.
Analyse the subnet mask: 255.255.240.0 in binary = 11111111.11111111.11110000.00000000. This is a /20 mask — 20 network bits and 12 host bits.
Total addresses in the subnet: 212 = 4096 addresses.
Subtract reserved addresses: Every subnet reserves 2 addresses that cannot be assigned to interfaces -- the network address (all host bits = 0) and the broadcast address (all host bits = 1).
Maximum assignable addresses: 4096 − 2 = 4094.
These 4094 addresses can be assigned to host interfaces such as computers, routers, or servers within this subnet.

Similar Questions

Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for reliable data transfer. Identify in which one...
#954 MCQ
Which of the following statements is/are INCORRECT about the OSPF (Open Shortest Path First) routing protocol used in the Internet?
#961 MSQ
Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP, runs over a 100 Mbps network with Round Trip...
#985 MSQ

Related Topics

GATE CS 2026 Set-2 Q33 subnet mask 255.255.240.0 GATE 2026 IP subnetting GATE CS maximum IP addresses subnet GATE host bits subnet mask GATE 2026 computer networks GATE CS 2026 subnetting GATE 2026 /20 subnet mask GATE IP addressing GATE CS

Unique Visitor Count

Total Unique Visitors

Loading......