If an IP network uses the subnet mask: 255.255.240.0 The maximum number of IP…

2026

If an IP network uses the subnet mask:

255.255.240.0

The maximum number of IP addresses that can be assigned to network interfaces is:

Attempted by 22 students.

Show answer & explanation

Correct answer: 4094

Step 1: Convert the subnet mask 255.255.240.0 to binary notation. The third octet 240 corresponds to 11110000 in binary.

Step 2: Count the network bits. There are 8 + 8 + 4 = 20 network bits in total.

Step 3: Determine the host bits. Subtract network bits from 32 total bits: 32 - 20 = 12 host bits.

Step 4: Calculate total addresses. 2 raised to the power of 12 equals 4096 total addresses.

Step 5: Calculate usable addresses. Subtract 2 reserved addresses (network and broadcast) from the total: 4096 - 2 = 4094.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir