StreakPeaked· Practice

ExamsGATETechnical

Which one of the following CIDR prefixes exactly represents the range of IP addresses 10.1.2.2 to 10.1.2.255?

  1. 10.1.2.0/23
  2. 10.1.2.0/24
  3. 10.1.2.0/22
  4. 10.1.2.0/22

Correct answer: 10.1.2.0/24

Solution

The CIDR prefix 10.1.2.0/24 encompasses all IP addresses from 10.1.2.0 to 10.1.2.255, which includes the range specified in the question. This prefix allows for 256 addresses, making it the exact match for the given range.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →