CS FundamentalsModerateGATE CS · Product company CS fundamentals
An organisation owns 150.80.0.0/16 and subnets it so that every subnet supports at least 500 hosts while creating as many subnets as possible. How many subnets result, and how many usable hosts does each have?
- A. 64 subnets, 1022 hosts
- B. 128 subnets, 512 hosts
- C. 128 subnets, 510 hosts
- D. 256 subnets, 254 hosts
Correct answer: C. 128 subnets, 510 hosts
500 hosts need 9 host bits (2⁹ − 2 = 510 ≥ 500, while 2⁸ − 2 = 254 is too few). That leaves 16 − 9 = 7 subnet bits, so 2⁷ = 128 subnets of 510 usable hosts each (prefix /23).
More Computer Networks questions
- An IPv4 datagram with total length 2400 bytes (20-byte header, DF = 0) first crosses a link with MTU 1000 and then a link with MTU 576…
- Host A sends three TCP segments to B: seq 3200 (400 bytes), seq 3600 (500 bytes) and seq 4100 (300 bytes). The second is lost; B ACKs…
- A TCP Reno sender begins round 1 with cwnd = 1 MSS and ssthresh = 20 MSS. In slow start cwnd doubles every round but never jumps past…
- A TCP segment times out and is retransmitted; an ACK covering it then arrives. Under Karn's algorithm, what does the sender do?
- A 1 Gbps path has a round-trip time of 80 ms. What is the smallest TCP window-scale shift count that lets a single connection keep the…
- A 1 Mbps link carries 1000-bit frames with a one-way propagation delay of 15 ms (ACKs negligible). What is the minimum number of…