Linux · Flashcard

How many bits make up a standard IPv4 address?

  • A32 bits, written as four dotted decimal octets
  • B48 bits, written as six colon-separated hex pairs
  • C128 bits, written as eight colon-separated hex groups
  • D16 bits, written as one unsigned decimal number

Why this is the answer

An IPv4 address is 32 bits, shown as four octets like 192.168.0.1. The other three are real address widths from neighbouring layers: 48 bits in six hex pairs is a MAC address, 128 bits in eight hex groups is IPv6, and 16 bits is the width of a TCP or UDP port number.

Official docs
Study in Gnoseed →