IP Addresses


Each host in the network located can be identified by the so-called Media Access Control address (MAC). This would allow data exchange within this one network. If the remote host is located in another network, knowledge of the MAC address is not enough to establish a connection. Addressing on the Internet is done via the IPv4 and/or IPv6 address, which is made up of the network address and the host address.

It does not matter whether it is a smaller network, such as a home computer network, or the entire Internet. The IP address ensures the delivery of data to the correct receiver. We can imagine the representation of MAC and IPv4 / IPv6 addresses as follows:

It is possible for a single IP address to address multiple receivers (broadcasting) or for a device to respond to multiple IP addresses. However, it must be ensured that each IP address is assigned only once within the network.


IPv4 Structure

The most common method of assigning IP addresses is IPv4, which consists of a 32-bit binary number combined into 4 bytes consisting of 8-bit groups (octets) ranging from 0-255. These are converted into more easily readable decimal numbers, separated by dots and represented as dotted-decimal notation.

Thus an IPv4 address can look like this:

Notation Presentation
Binary 0111 1111.0000 0000.0000 0000.0000 0001
Decimal 127.0.0.1

Each network interface (network cards, network printers, or routers) is assigned a unique IP address.

The IPv4 format allows 4,294,967,296 unique addresses. The IP address is divided into a host part and a network part. The router assigns the host part of the IP address at home or by an administrator. The respective network administrator assigns the network part. On the Internet, this is IANA, which allocates and manages the unique IPs.

In the past, further classification took place here. The IP network blocks were divided into classes A - E. The different classes differed in the host and network shares' respective lengths.

Class Network Address First Address Last Address Subnetmask CIDR Subnets IPs
A 1.0.0.0 1.0.0.1 127.255.255.255 255.0.0.0 /8 127 16,777,214 + 2
B 128.0.0.0 128.0.0.1 191.255.255.255 255.255.0.0 /16 16,384 65,534 + 2
C 192.0.0.0 192.0.0.1 223.255.255.255 255.255.255.0 /24 2,097,152 254 + 2
D 224.0.0.0 224.0.0.1 239.255.255.255 Multicast Multicast Multicast Multicast
E 240.0.0.0 240.0.0.1 255.255.255.255 reserved reserved reserved reserved

Subnet Mask

A further separation of these classes into small networks is done with the help of subnetting. This separation is done using the netmasks, which is as long as an IPv4 address. As with classes, it describes which bit positions within the IP address act as network part or host part.

Class Network Address First Address Last Address Subnetmask CIDR Subnets IPs
A 1.0.0.0 1.0.0.1 127.255.255.255 255.0.0.0 /8 127 16,777,214 + 2
B 128.0.0.0 128.0.0.1 191.255.255.255 255.255.0.0 /16 16,384 65,534 + 2
C 192.0.0.0 192.0.0.1 223.255.255.255 255.255.255.0 /24 2,097,152 254 + 2
D 224.0.0.0 224.0.0.1 239.255.255.255 Multicast Multicast Multicast Multicast
E 240.0.0.0 240.0.0.1 255.255.255.255 reserved reserved reserved reserved