CS FundamentalsVery hardGATE CS (PYQ pattern)
How many complete /28 subnets (aligned blocks of 16 addresses) lie entirely within the address range 10.1.1.100 to 10.1.2.200 inclusive?
- A. 22
- B. 21
- C. 20
- D. 17
Correct answer: B. 21
The first aligned /28 starting at or after 10.1.1.100 is 10.1.1.112 and the last one ending at or before 10.1.2.200 is 10.1.2.176/28 (ends .191); counting blocks gives 21. Dividing the range length by 16 ignores alignment.
More Computer Networks questions
- A router must send 10.0.0.0/24 through 10.0.7.0/24 (eight /24s) to next hop X, except 10.0.5.0/24, which goes to next hop Y. What is the…
- A router has routes to 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24, 10.0.3.0/24, 10.0.5.0/24 and 10.0.6.0/23, all via the same next hop. What is…
- A router uses longest-prefix match with the table: 0.0.0.0/0 → e0; 172.16.0.0/12 → e1; 172.16.64.0/18 → e2; 172.16.80.0/20 → e3…
- What is the longest prefix (smallest block) that covers all of the addresses 200.18.77.5, 200.18.79.250, 200.18.72.0 and 200.18.75.130?
- A host has address 172.20.145.200 and subnet mask 0xFFFFF800. How many usable host addresses of its subnet are numerically greater than…
- 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…