Open In App

GATE | GATE-IT-2004 | Question 26

A subnet has been assigned a subnet mask of 255.255.255.192. What is the maximum number of hosts that can belong to this subnet? (A) 14 (B) 30 (C) 62 (D) 126
Answer:(C)
Explanation: The given subnet mask, 255.255.255.192, in binary is- 11111111.11111111.11111111.1100000 Number of bits for the network prefix is- 8 + 8 + 8 + 2 = 26 Number of bits available for hosts – 32 – 26 = 6 Number of addresses available = The first address is reserved for the subnet and the last address is reserved as the broadcast address. So, number of host addresses = 64 – 2 = 62 Therefore option (C) is correct. This explanation is provided by Chirag Manwani.
Quiz of this Question
Article Tags :