Back to the 2024 paper

Module 3: Network Layer & Routing

20242m

Which of the following is correct IPv4 address?
(i) 124.201.3.1.52
(ii) 300.142.210.64
(iii) 01.200.128.123
(iv) 128.64.0.0

Worked SolutionAI Assisted

Answer: (iv) 128.64.0.0

A valid dotted-decimal IPv4 address has exactly four octets separated by three dots, every octet in the range 0-255, and no leading zeros (a leading zero would be read as octal).

  • (i) 124.201.3.1.52 has five octets, so it is not a 32-bit dotted-decimal address.
  • (ii) 300.142.210.64 contains the value 300, which exceeds 255.
  • (iii) 01.200.128.123 begins with a leading zero, which is invalid/ambiguous.
  • (iv) 128.64.0.0 has four octets, each within 0-255, so it is a legal IPv4 address (it is also a Class B address).

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.