The size of an IPv4 address is:
2021
The size of an IPv4 address is:
Answer: B. 32 bits — CONCEPTA network-layer address has a fixed binary length defined by its protocol. An octet is a group of 8 bits. Therefore, total address length in bits =…
- A.
8 bits
- B.
32 bits
- C.
64 bits
- D.
128 bits
Attempted by 2945 students.
Show answer & explanation
Correct answer: B
CONCEPT
A network-layer address has a fixed binary length defined by its protocol. An octet is a group of 8 bits.
Therefore, total address length in bits = number of octets × 8.
APPLICATION
An IPv4 address is divided into four octets.
Multiplying gives 4 octets × 8 bits per octet = 32 bits.
Dotted-decimal notation displays those four octets as four decimal fields separated by dots.
CROSS-CHECK AND CONTRAST
8 bits correspond to one octet, which accounts for only one of the four fields.
64 bits correspond to eight octets, twice the four-octet length.
128 bits correspond to sixteen octets and are used for an IPv6 address.
Result: An IPv4 address has a size of 32 bits.