What is the maximum length of an IPv4 address ?
2026
What is the maximum length of an IPv4 address ?
- A.
16 bits
- B.
32 bits
- C.
64 bits
- D.
128 bits
Attempted by 289 students.
Show answer & explanation
Correct answer: B
An IPv4 address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. The '4' in IPv4 stands for version 4, which uses a 32-bit address format. This means the maximum length of an IPv4 address is exactly 32 bits, typically represented in dotted-decimal notation as four decimal numbers separated by periods (e.g., 192.168.0.1). Each of the four octets represents 8 bits, totaling 32 bits (4 × 8 = 32). Option A (16 bits) is incorrect because it only represents half the required address space. Option D (128 bits) refers to IPv6 addresses, which were developed to address the exhaustion of IPv4 addresses. Therefore, the correct answer is 32 bits.