Skip to main content
← All posts

Part 10: Network Layer Addressing: IPv4 Subnetting, CIDR & IPv6 Architecture

Md. Harun-Or-RoshidNov 5, 20262 min readArticle
Part 10: Network Layer Addressing: IPv4 Subnetting, CIDR & IPv6 Architecture

Curriculum Capstone & Learning Objectives

While physical Layer 1 signals and Layer 2 frames deliver bytes between directly connected neighbor machines on a local wire, global internetworking across multiple intermediate routers requires a universal, logical, software-based addressing system. This is the responsibility of Layer 3 Network Addressing. In this concluding curriculum installment, we examine the 32-bit IPv4 address space, analyze classful vs. Classless Inter-Domain Routing (CIDR), execute subnet mask bitwise AND calculations, and explore the vast 128-bit IPv6 architecture.

1. The IPv4 Address Architecture

An IPv4 address is a 32-bit binary number that uniquely identifies a host's network interface card on the global internet. For human readability, it is expressed in Dotted-Decimal Notation, grouping bits into four 8-bit octets (0 to 255):

11000000 . 10101000 . 00000001 . 00001010 → 192.168.1.10

2. Subnetting & The Bitwise AND Operation

Every IP address comprises two logical segments: the Network ID (identifying the subnet) and the Host ID (identifying the specific device on that subnet). A router determines whether a destination IP is local or remote by performing a bitwise AND operation between the IP address and its Subnet Mask:

ComponentDecimal RepresentationBinary Representation
Host IP Address192.168.1.6811000000 . 10101000 . 00000001 . 01000100
Subnet Mask (/24)255.255.255.011111111 . 11111111 . 11111111 . 00000000
Network Address (AND)192.168.1.011000000 . 10101000 . 00000001 . 00000000

3. IPv6: The Future-Proof 128-Bit Solution

Because 32-bit IPv4 yields only \(2^{32} pprox 4.3 ext{ billion}\) addresses (exhausted by the rapid proliferation of mobile phones, cloud containers, and IoT sensors), the IETF engineered IPv6:

  • 128-Bit Address Space: Yields \(2^{128} pprox 3.4 imes 10^{38}\) addresses—enough to assign trillions of IPs to every grain of sand on Earth.
  • Simplified 40-Byte Fixed Header: Eliminates router checksum calculation overhead and hop-by-hop fragmentation.
  • Stateless Address Autoconfiguration (SLAAC): Allows hosts to configure their own global address automatically without DHCP.

Curriculum Completion

Congratulations! You have completed the 10-part Fundamentals of Data Communications series. From the physical elements of communication, signal mathematics, and modems, to advanced modulation (QAM), wireless propagation, pulse companding, FDM/TDM multiplexing, CRC error detection, and network addressing, you have built an unbreakable physical-to-network engineering mental model.

Share:
Share on X
Share on LinkedIn
Share on Facebook
Share on Reddit
Share on WhatsApp
Share on Telegram
Copy link

Related reading

Network Layer Addressing: IPv4, CIDR & IPv6 | Draftsbook · Draftsbook