The size of an IPv4 address is:

2021

The size of an IPv4 address is:

Answer: B. 32 bitsCONCEPTA 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 =…

  1. A.

    8 bits

  2. B.

    32 bits

  3. C.

    64 bits

  4. 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

  1. An IPv4 address is divided into four octets.

  2. Multiplying gives 4 octets × 8 bits per octet = 32 bits.

  3. 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.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…