Lectern

Search

Search IconIcon to open search

Internet Protocol address

Last updated Jan 30, 2023

An 4-byte (i.e., 32-bit) identifier for a network device typically assigned by another more prominent network device that identifies the device in the network using the internet protocol. Typically has two components to it, namely the:

Usually expressed in a decimal format of a byte per section, separated by periods. IP addresses therefore range from 0.0.0.0 to 255.255.255.255 (256 values per byte).

# IP address classes

IP addresses have different classifications based on the how many bits the network identifier occupies. There are in particular three classes, namely:

For each class, the very first and last address are used specially for identifying the network and broadcasting. For example, for a range of 192.168.1.0 to 192.168.1.255, 192.168.1.0 is used for identifying the network and 192.168.1.255 is used for broadcasting. The rest is usable by other network devices.

# Private IP addresses

Usually just used in internal networks. Not routable through the internet and will therefore not work in the internet, and must be converted to a public IP address instead. Each IP address class has a range dedicated to private IP addresses, namely:

To translate or map a private address to or fro a public address, network address translation (NAT) can be used.

# Assignment of IP addresses

IP addresses can be static or dynamic, and they are assigned via the Dynamic Host Configuration Protocol (DHCP).

# Binding of IP address with MAC address

IP addresses are often bound together with MAC addresses via the Address Resolution Protocol (ARP) and, in the past, the Reverse Address Resolution Protocol (RARP).