CS FundamentalsHardGATE CS (PYQ pattern)
A host has address 172.20.145.200 and subnet mask 0xFFFFF800. How many usable host addresses of its subnet are numerically greater than the host's own address?
- A. 1591
- B. 1846
- C. 1334
- D. 1590
Correct answer: D. 1590
0xFFFFF800 = /21, so the subnet is 172.20.144.0 - 172.20.151.255 and the last usable address is 172.20.151.254. Count = (151 - 145) x 256 + (254 - 200) = 1536 + 54 = 1590. Including the broadcast gives 1591; taking a /20 (up to .159) or a wrong block start shifts the count by 256.
More Computer Networks questions
- A router ACL entry matches an address if every bit position where the wildcard mask has a 0 equals the corresponding bit of 192.168.4.0…
- A 4000-byte IPv4 datagram (20-byte header, 3980 bytes of data) crosses links with MTUs 1500, 1000 and 576 bytes in turn, and every router…
- A DHCP client gets a 6-hour lease at time 0 and uses the default timers T1 = 50% and T2 = 87.5% of the current lease. At T1 its unicast…
- A host with MAC address 00:1A:2B:3C:4D:5E forms its IPv6 link-local address using modified EUI-64. What is the address (shortest form)?
- Two stations on an Ethernet segment both transmit at the same instant and collide (collision 1). Each then uses binary exponential…
- Ten stations share a slotted ALOHA channel; in every slot each station transmits independently with probability p. A slot is useful when…