The four byte IP address consists of

2018

The four byte IP address consists of

  1. A.

    Network Address

  2. B.

    Host Address

  3. C.

    Both Network and Host Addresses

  4. D.

    Neither Network nor Host Addresses

Attempted by 1840 students.

Show answer & explanation

Correct answer: C

Answer: The four-byte (32-bit) IPv4 address contains both a network portion and a host portion.

Key points:

  • An IPv4 address is 32 bits long (4 bytes).

  • The bits are divided into a network portion and a host portion; the split is defined by the subnet mask or prefix length.

  • Example: a /24 prefix means the first 24 bits are the network part and the remaining 8 bits are the host part.

  • The network portion identifies the network; the host portion identifies the specific device on that network.

  • Special notes: when all host bits are zero it refers to the network address; when all host bits are one it refers to the broadcast address.

Therefore the correct statement is that the IPv4 address consists of both network and host addresses; the exact division depends on the subnet mask.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Nta Ugc Net Paper 1