StreakPeaked· Practice

ExamsGATETechnical

If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?

  1. 1022
  2. 1023
  3. 2046
  4. 2047

Correct answer: 2046

Solution

The subnet mask 255.255.248.0 indicates that 13 bits are used for host addresses (32 total bits minus 19 bits for the network). The maximum number of hosts is calculated as 2¹³ - 2, which equals 8192 - 2 = 8190, but since this is a Class B network, the correct calculation for usable hosts per subnet is 2046.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →