GATE 2012 CS (CS1) – Question 44
An ISP holds CIDR block 245.248.128.0/20. Half goes to A, one quarter to B, and the rest is retained. Which A,B allocation is valid?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) 245.248.136.0/21; 245.248.128.0/22
Explanation
Treat the printed addresses as the question’s abstract CIDR block. A /20 spans third octets 128–143. Half requires /21 and one quarter /22. Option A gives A=136–143 and B=128–131, aligned and disjoint with 132–135 retained. Other options overlap, misalign or use wrong sizes. Thus A; 245.x is reserved address space, not a public-allocation example.
More IPv4: Addressing, CIDR, Fragmentation and NAT questions
- GATE 2013 CS (CS1) Q47
- GATE 2010 CS (CS1) Q25
- GATE 2010 CS (CS1) Q57
- GATE 2015 CS (CS2) Q36
- GATE 2015 CS (CS2) Q37
- GATE 2015 CS (CS3) Q46
All IPv4: Addressing, CIDR, Fragmentation and NAT questions →