Everything You Need To know About Network Addresses

ip addressing

Network Addressing and Subnetting are core components of networking that determine how devices identify and communicate with each other within a network and beyond.

As the name implies, a Network address, like your home Address, helps identify a particular device on a network, the same way your home address identifies a particular house in an area.

In other Words, a network address is a unique identifier assigned to each device connected to a computer network, enabling it to send and receive data accurately. Just like a home address ensures mail gets to the right house, a network address ensures information reaches the correct device on a network.

These addresses can be physical, such as MAC (Media Access Control) addresses, or logical, such as IP (Internet Protocol) addresses, and they play a crucial role in routing data across local networks and the internet.

The logical address, such as an IP address, is dynamic, and it can change
depending on the network or location the device connects to. In contrast, a
physical address, like a MAC (Media Access Control) address, is static and unique to your device.

The Physical Address primarily refers to the MAC Address, and to explain this better, every device that connects to a network, like your phone or laptop, comes with a tiny built-in component called a Network Interface Controller (NIC). Think of it as a means of identification that lets your device join a network.

Embedded in this NIC is a MAC address (Media Access Control address), which works like a digital fingerprint. It’s unique and permanent, meaning no matter where you go or how many times you change networks, your device carries this identity with it.

The logical address, on the other hand, primarily refers to the IP (Internet Protocol) address, which plays a key role in identifying devices across different networks.

To shed more light on this, let’s break down IP addresses for better understanding.

INTERNET PROTOCOL ADDRESS
An IP address means Internet Protocol Address and, as explained earlier, is a unique logical identifier assigned to each device connected to a network, allowing it to communicate with other devices over the internet or a local network. It ensures that data sent across a network reaches the correct destination.

It can be classified as either public or private, depending on how and where it’s used. A public IP address is assigned by your Internet Service Provider (ISP) and is used to identify your device on the internet. It is globally unique and routable, enabling communication between devices across different networks worldwide.

On the other hand, a private IP address is used within local networks, such as in homes, offices, or enterprises and cannot be routed on the public internet. These addresses are commonly used alongside Network Address Translation (NAT), which allows multiple devices in a private network to share a single public IP when accessing the internet.

Private IP ranges include:
10.0.0.0 – 10.255.255.255
172.16.0.0 – 172.31.255.255
192.168.0.0 – 192.168.255.255.
IP addresses also come in two main versions, IPv4 and IPv6

IPV6(Internet Protocol Version 6) – This is the Sixth version and the most recent version of the Internet Protocol, designed to replace IPv4 due to the growing number of devices connected to the internet. Example is 2001:0db8:85a3:0000:0000:8a2e:0370:7334. IPv6 uses 128-bit addresses, allowing for an almost unlimited number of unique IP addresses.

IPV4(Internet Protocol Version 4) – This is the fourth version of the Internet Protocol and is the most widely used. It uses a 32-bit addressing system and is typically written in dot-decimal notation, such as 192.168.20.2, and consists of four numbers separated by periods, and each number (called an octet) ranges from 0 to 255.

192                 .         168          .         20            .           2
0000 0000      0000 0000    0000 0000      0000 0000
8 Bits                        8 Bits              8 Bits                  8 Bits      = 32 Bits

Classes Of IPV4
They are grouped this way to help determine the default subnet mask, which tells us which part of an IP address identifies the network and which part identifies the host. Typically, the IP address is split into two sections: the network portion and the host portion. For example, using the IP address 192.168.20.2, the 192.168 section represents the network, while 20.2 represents the host.

We know this because, by default, 192.168.20.2 is a Class C address. Now, let’s break down the other IP address classes to understand how they work and what makes each one unique.

CLASS A
A commonly recognised IP in this class is 127.0.0.1, which is your local address and to tech enthusiasts, there is no place like 127.0.0.1. This range allows a device to communicate with itself for purposes such as software testing and network configuration, without accessing external networks. The Class A IP range spans from 1.0.0.0 to 126.0.0.0, with 127.0.0.0 reserved exclusively for loopback functionality. The default Subnet mask for Class A addresses is 8.

CLASS B

Class B IP addresses are designed to strike a balance between the massive scalability of Class A and the limited range of Class C. It’s commonly used in medium to large-sized networks where a moderate number of networks and a larger number of hosts are required. The Class B IP range spans from 128.0.0.0 to 191.255.0.0. The default subnet mask for Class B addresses is 16.

CLASS C

Class C IP addresses are tailored for environments that require a large number of small networks, making them ideal for small businesses, branch offices, and home networks. The Class C IP range spans from 192.0.0.0 to 223.255.255.0, and the default subnet mask is 24.

CLASS D
Class D IP addresses are reserved exclusively for multicast communication. Rather than identifying individual hosts or devices, Class D addresses are used to send data to multiple destinations simultaneously. They do not support IP address assignment to individual devices, and are not used for everyday networking tasks. The Class D range spans from 224.0.0.0 to 239.255.255.255. These addresses do not have a traditional subnet mask because they are not used for standard host-to-host communication.

CLASS E
Class E IP addresses are designated as experimental and are not intended for general use. This class was reserved for future or experimental purposes by the IETF (Internet Engineering Task Force) and remains largely unused in practical networking. The Class E IP range spans from 240.0.0.0 to 255.255.255.255.

CONCLUSION

Network addressing and subnetting are essential for how devices communicate across networks. From MAC addresses that uniquely identify hardware to IP addresses that enable communication across different networks, these systems ensure data reaches the right destination.

Understanding these concepts provides a strong foundation for networking, especially as technologies evolve from IPv4 to IPv6 to support the growing number of connected devices.

In summary, network addressing is a fundamental building block of modern networking and a key step toward mastering advanced networking concepts.

Leave a Comment