CS FundamentalsModerateGATE CS (PYQ pattern)
10.0.0.0/22 is divided into /26 subnets. A firewall rule must cover the address range 10.0.1.50 to 10.0.2.10 inclusive using whole /26 subnets. How many /26 subnets contain at least one address of the range?
- A. 4
- B. 5
- C. 16
- D. 6
Correct answer: B. 5
/26 blocks start every 64 addresses. The range starts in 10.0.1.0/26 (0-63) and continues through 10.0.1.64, .128, .192 and ends in 10.0.2.0/26 (0-63): 5 blocks. Counting only the blocks fully inside the range gives 3; counting from 10.0.1.64 gives 4.
More Computer Networks questions
- A /16 network is split into sixteen /20 subnets. One of those /20s is split further into /24 subnets, and one of those /24s is split into…
- An IPv4 header has words 4500, 0054, 1C46, 4000, TTL/protocol 4001, checksum 0000, C0A8, 0105, 0A00, 0009 (hex). A router decrements the…
- An organisation owns 172.16.8.0/22 and must create four subnets for 500, 250, 120 and 50 hosts using VLSM, allocating the largest…
- A router has these entries: 10.0.0.0/8 via R1; 10.1.4.0/22 via R2; 10.1.5.128/25 via R3; 10.1.5.64/26 via R4; default via R5. A packet for…
- A link has a bandwidth of 1 Mbps, a one-way propagation delay of 20 ms and frames of 1000 bits (ACK transmission time negligible). The…
- A 4000-byte IP datagram (20-byte header, no options) is sent over a link with MTU 1500 bytes. Considering the last fragment, the fragment…