Network Addressing

Ka Kavitha V Updated 08 Oct 2026
8 min read ·Lesson 24 of 45

Network Addressing

Imagine sending a letter through the postal service. For it to reach the right person, it needs a proper address. Computer networks work the same way: every device needs an address so that data can be delivered to the correct destination. This is Network Addressing.

Network addressing is one of the core responsibilities of the Network Layer in both the OSI and TCP/IP models. It's what lets a network identify individual devices — computers, routers, servers, printers, and other resources — so communication can happen accurately instead of data wandering aimlessly.

What Is Network Addressing?

Network Addressing is the process of assigning unique identifiers — addresses — to devices connected to a network, so those devices can locate, identify, and communicate with one another. Without it, a data packet would have no way of knowing where to go.

A network address can take several forms, depending on what's being identified:

  • Logical Address (IP Address) — identifies a device's location on a network.
  • Physical Address (MAC Address) — identifies a specific network interface hardware.
  • Application Address (domain names, email addresses) — identifies a human-readable destination.
  • Port Address — identifies a specific service or application running on a device.

A useful analogy is a courier delivery system:

Courier SystemNetworking Equivalent
House addressNetwork address
Person receiving the packageDevice
Delivery serviceNetwork
PackageData packet

Just as a package needs a destination address to be delivered correctly, a data packet needs a network address to reach the right device.

Why Network Addressing Matters

Network addressing is what makes it possible to:

  • Identify devices uniquely, even among billions connected worldwide.
  • Enable communication between any two devices on a network.
  • Support Internet connectivity at scale.
  • Route data efficiently along the best available path.
  • Manage large, complex networks in an organized way.
  • Apply security and access control based on addresses.

Without it, the Internet as we know it simply couldn't function — routers would have no way to know where any given packet needs to go next.

Hosts, Routers, and Interfaces

Before getting into IP addressing itself, it helps to pin down three basic terms.

Host (or End System) — any device connected to a network, such as a laptop, desktop computer, smartphone, or server. A host typically has a single network connection and a single network interface.

Router — a networking device that connects multiple different networks together and forwards packets between them. Unlike a host, a router has multiple interfaces, because it sits on more than one network simultaneously.

Interface — the actual connection point between a device and a network. Every interface needs its own IP address, because it's the interface — not the device as a whole — that sends and receives traffic on that network. This is why a router, with multiple interfaces, effectively has multiple IP addresses, one per network it connects to.

Understanding IP Addresses

An Internet Protocol (IP) address is a logical address assigned to a device on a network.

IPv4 Addresses

IPv4 addresses are:

  • 32 bits long.
  • Divided into four 8-bit sections called octets.
  • Written in dotted-decimal notation, where each octet is shown as a decimal number from 0 to 255.

Example: 192.168.1.10

OctetValue
1st192
2nd168
3rd1
4th10

Each octet represents 8 bits, so the full address is 4 × 8 = 32 bits.

Network ID and Host ID

Every IP address splits into two logical parts:

Network ID — identifies which network a device belongs to. In 192.168.1.10, the network portion (commonly written as 192.168.1.0 for this example) identifies the network itself.

Host ID — identifies the specific device within that network. In 192.168.1.10, the final 10 identifies that individual host.

A helpful comparison: think of a college. The college's name is like the Network ID — shared by everyone enrolled there — while each student's roll number is the Host ID, unique to that one student. Many devices can belong to the same network, just as many students belong to the same college, but each device's Host ID must be unique within that network.

Types of Network Addressing

Network communication can be structured in different ways depending on how many devices need to receive the data.

1. Unicast Addressing — One-to-One

The most common form of communication: a single sender talks to a single receiver. Opening a website, sending an email, or downloading a file are all unicast — when your laptop requests a web page, data flows from one server to your one device.

Sender → Receiver

2. Multicast Addressing — One-to-Many

A sender transmits data to a specific group of selected receivers, rather than to one device or to everyone. Live video streaming, online webinars, IPTV services, and software update distribution commonly use multicast. Instead of sending a separate copy of the stream to every individual viewer, one stream is sent to a multicast group, and the network handles delivering it to each member — which meaningfully reduces the bandwidth that would otherwise be needed for separate unicast streams to each receiver.

Sender → Multiple Selected Receivers

3. Broadcast Addressing — One-to-All

Data is sent to every device on a network, with no selection involved. This is common within a single Local Area Network (LAN) — for example, when a device needs to locate another device on the same LAN and doesn't yet know its specific address, it can send a broadcast request that every device on that network receives.

Sender → All Devices

Classful IP Addressing

Originally, IPv4 addresses were divided into five classes, distinguished by the pattern of their leading bits. This scheme determined how many networks of each size could exist and how many hosts each one could support.

ClassLeading BitsNetwork ID BitsHost ID BitsAddress RangeNumber of NetworksHosts per NetworkTypical Use
A08240.0.0.0 – 127.255.255.2552⁷ = 1282²⁴ − 2 = 16,777,214Very large organizations
B101616128.0.0.0 – 191.255.255.2552¹⁴ = 16,3842¹⁶ − 2 = 65,534Medium to large organizations
C110248192.0.0.0 – 223.255.255.2552²¹ = 2,097,1522⁸ − 2 = 254Small businesses, home networks
D1110——224.0.0.0 – 239.255.255.255——Reserved for multicast communication
E1111——240.0.0.0 – 255.255.255.255——Reserved for research and future use

The "hosts per network" counts subtract 2 from the raw bit count because two addresses in every network are reserved: all-zero host bits represent the network address itself, and all-one host bits represent the broadcast address for that network (both explained below).

Rules for Assigning Addresses

Host ID rules:

  1. Host IDs must be unique within the same network.
  2. All host bits cannot be 0 — this value is reserved to represent the network address itself.
  3. All host bits cannot be 1 — this value is reserved as the broadcast address for that network.

Network ID rules:

  1. All network bits cannot be 0.
  2. All network bits cannot be 1.
  3. Addresses beginning with 127.x.x.x cannot be used as ordinary network IDs — this entire range is reserved for loopback testing (a device talking to itself), with 127.0.0.1 being the most familiar example.

IPv4 vs. IPv6

As the Internet grew far beyond what IPv4's address space could support, IPv6 was introduced to solve the shortage.

FeatureIPv4IPv6
Address Length32-bit128-bit
Address Space~4.3 billion addressesVastly larger — effectively sufficient for the foreseeable future
FormatDecimal (dotted)Hexadecimal (colon-separated)
Example192.168.1.12001:db8::1

IPv6's much larger address space is designed to comfortably support continued growth in connected devices — including the scale expected from IoT — well beyond what IPv4 could ever accommodate.

Applications of Network Addressing

E-Commerce — Platforms such as Amazon and Flipkart depend on network addressing to process payments, deliver web pages, manage customer requests, and secure transactions.

One-to-One Communication — Applications like email, WhatsApp, Zoom, and Microsoft Teams rely on IP addressing to route messages and media to the correct recipient.

Client-Server Communication — Most Internet services (web browsing, online banking, cloud storage, social media) follow the client-server model, where a client sends a request and a server responds — all made possible by addressing that identifies both parties.

Resource Sharing — Organizations rely on network addressing so users can locate and access shared printers, databases, file servers, and storage systems.

Benefits of Network Addressing

  • Unique device identification — every device gets a distinct identity on the network.
  • Efficient data routing — routers can quickly determine the best path for each packet.
  • Scalability — supports billions of connected devices worldwide.
  • Service differentiation — port numbers let multiple applications run simultaneously on the same device.
  • Reliable communication — helps ensure data consistently reaches its intended destination.

Challenges of Network Addressing

IPv4 Address Exhaustion — The limited 32-bit address space has run short of available addresses. Solution: migration to IPv6.

Address Management Complexity — Large networks require careful planning to avoid conflicts and waste. Solution: DHCP and dedicated IP address management tools.

Security Risks — IP addresses can be targeted directly by attackers. Solution: firewalls, intrusion detection systems, encryption, and ongoing network monitoring.

Common Network Addressing Problems

IP Address Conflicts — Occur when two devices are assigned the same IP address. Solution: proper DHCP configuration and deliberate IP planning.

DNS Failures — Domain names fail to resolve into IP addresses. Solution: use reliable DNS servers, and troubleshoot with tools like nslookup, ping, and traceroute.

Subnetting Errors — Poor subnet design can create unreachable or overlapping address ranges. Solution: careful subnet planning and documentation.

Security Vulnerabilities — Weak network configuration exposes systems to attack. Solution: SSL/TLS encryption, firewalls, regular security audits, and keeping software up to date.

Best Practices for Secure Network Addressing

  • Use strong firewall policies.
  • Implement TLS/SSL encryption for sensitive traffic.
  • Regularly monitor network traffic for anomalies.
  • Maintain proper IP address documentation.
  • Use DHCP for automatic, conflict-free address assignment.
  • Adopt IPv6 wherever possible to future-proof address availability.
  • Conduct regular security audits.

0 Comments

Reviewed before they appear

No comments yet.

Computer-Network
Ask about this post
AI Ask about this post

Ask questions about Network Addressing and get answers drawn from it.

Signed-in readers only.