CS FundamentalsVery hardGATE CS · Cisco/networking placement
An organisation holds 150.20.0.0/16 and needs at least 50 subnets, each with at least 1000 usable host addresses, all of one size. Which mask works, and how many subnets of that size are left unused after allocating 50 (subnet zero and the all-ones subnet allowed)?
- A. 255.255.248.0, with no subnets left over
- B. 255.255.252.0, with 12 subnets left over
- C. 255.255.254.0, with 78 subnets left over
- D. 255.255.252.0, with 14 subnets left over
Correct answer: D. 255.255.252.0, with 14 subnets left over
50 subnets need 6 subnet bits (64), leaving 10 host bits: 1022 usable hosts, so /22 = 255.255.252.0 works and 64 − 50 = 14 are spare. A /21 gives only 32 subnets, a /23 only 510 hosts, and 12 spare comes from wrongly discarding subnet zero and the all-ones subnet.
More Computer Networks questions
- A router's table has 131.23.0.0/16 → A, 131.23.128.0/17 → B, 131.23.144.0/20 → C, 131.23.148.0/22 → D and a default route → E. Where does…
- An ISP wants to advertise the four customer networks 200.10.8.0/24, 200.10.9.0/24, 200.10.10.0/24 and 200.10.12.0/24 as a single CIDR…
- A firewall rule must match exactly the addresses 192.168.1.20 to 192.168.1.75 (inclusive) and nothing else, using CIDR blocks. What is the…
- A 4000-byte IPv4 datagram (20-byte header, no options, DF = 0) first crosses a link with MTU 1500, then a link with MTU 620; no reassembly…
- A 4 Mbps link carries 1000-byte frames with a one-way propagation delay of 20 ms. Go-Back-N uses 3-bit sequence numbers with the largest…
- Stop-and-wait runs at 1 Mbps with 1000-byte frames and a one-way propagation delay of 11 ms (ACKs take no transmission time). Each data…