GATE 2024 CS (CS2) – Question 38
Computer Networks · IPv4: Addressing, CIDR, Fragmentation and NAT · 2 marks · Multiple choice
Which one of the following CIDR prefixes exactly represents the range of IP addresses 10.12.2.0 to 10.12.3.255?
- 10.12.2.0/23
- 10.12.2.0/24
- 10.12.0.0/22
- 10.12.2.0/22
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) 10.12.2.0/23
Explanation
The range spans 2 × 256 = 512 addresses starting at a boundary aligned to 512 (third octet 2), which is a /23.
More IPv4: Addressing, CIDR, Fragmentation and NAT questions
- GATE 2023 CS Q65 – The forwarding table of a router is shown below. Subnet Number / Subnet Mask / Interface…
- GATE 2022 CS Q22 – Consider an enterprise network with two Ethernet segments, a web server and a firewall,…
- GATE 2022 CS Q55 – Consider routing table of an organization’s router shown below: Subnet Number Subnet Mask…
- GATE 2021 CS (CS1) Q55 – Consider two hosts P and Q connected through a router R. The maximum transfer unit (MTU)…
- GATE 2020 CS Q25 – Consider the following statements about the functionality of an IP based router. I. A…
- GATE 2020 CS Q48 – An organization requires a range of IP addresses to assign one to each of its 1500…
All IPv4: Addressing, CIDR, Fragmentation and NAT questions →