IP address
[1] An IP (internet protocol) address is a unique numerical address assigned to each device using the Internet Protocol for communication, like 192.168.1.1 or 2001:0db8:0000:0000:0000:8a2e:0370:7334.
It assigns 2 main functions: network interface identification and addressing.
[1] Internet protocol version 4 (IPv4) was the first ever the IP address specification, being 32-bits numbers and has been used since 1983. It was til 2010 that it became too small to handle the number of devices as the internet grew and the Internet protocol version 6 (IPv6), 128 bits, was introduced, providing 2128 = 3.40282367e38 addresses. But both IPv4 and IPv6 are both still used as of 2025.
Thought IP address are often displayed as human-readable notations, systems can use them in many computer number formats.
CIDR notation can be used to decide how much of the address can be used as routing prefix. E.g., 192.0.2/24.1 means that 24 significant bits of the address are the prefix and the remaining 8 bits for host addressing for IPv4 addresses (which is 32 bits, 32-24 = 8 bits or 1 octet remaining), being historically equivalent as the subnet masking (255.255.255.0).
CIDR notation: way to show IP address and associated network mask, being an IP address followed by a slash and number (e.g., 192.0.2.1/24)
[1] IP addresses are assigned by the IANA (Internet Assigned Numbers Authority) and the 5 RIRS (regional Internet registeries). IANA blocks IP addresses to the RIRs, which are responsible for allocating them to local Internet registeries in their regions, like the internet service providers (ISPs) and big institutions.
An IP address is split into 2 parts: the network ID and the host ID. The network ID identifies the specific group of devices (the network). The host ID identifies the exact device (the host) within that group.