IPv4 Addressing

This section introduces various IPv4 addressing techniques used in IP networks. These methods determine how IP packets are delivered—from one-to-one, one-to-many, or even one-to-nearest. They are fundamental to designing efficient and secure IP networks.

Addressing Type

Description

Use Case

Anycast

One-to-nearest delivery. Packets go to the closest destination with the shared IP.

Load balancing, DNS, CDN nodes.

Broadcast

One-to-all delivery within a subnet. IPv4 supports this.

ARP, DHCP discovery.

CIDR

Classless subnetting with VLSM. Replaces classful addressing.

Route aggregation, modern IP allocation.

Classful

Legacy method using fixed IP blocks (A, B, C, etc.).

Historical networks.

Multicast

One-to-many group communication.

Streaming, OSPF, conferencing.

NAT

Private-to-public IP mapping.

IPv4 conservation, home routers.

Subnetting

Divides networks into smaller subnets.

IP management, routing control.

Unicast

One-to-one delivery.

Browsing, file transfers, email.

RFC: RFC 1546

Main Features:

  • One-to-nearest delivery based on routing metrics.

  • Multiple hosts share the same IP.

Use Cases:

  • DNS root servers

  • Content delivery networks (CDNs)

  • Load balancing in routing

RFC: RFC 4632

Main Features:

  • Replaces classful addressing.

  • Allows subnetting with variable-length subnet masks.

Use Cases:

  • Route summarization

  • IP space efficiency in ISPs

RFC: RFC 791 (conceptual, now obsolete)

Main Features:

  • Divides address space into Class A, B, C, etc.

  • Lacks flexibility, poor address utilization.

Use Cases:

  • Legacy IP networks

  • Educational/historical references

RFC: RFC 950

Main Features:

  • Divides larger IP space into smaller, manageable parts.

  • Enhances routing and security.

Use Cases:

  • Enterprise internal segmentation

  • ISP hierarchical IP design