Table of Contents

IP addresses

IP address is the device's unique identifier in the network. It works on 3rd layer of OSI, The Network layer. It uses Best-effort delivery, meaning it has no guarantee data won't be lost on the way, which is mitigated by The Transport layer protocols.

It has two common standards: IPv4 and IPv6.

IPv4

IPv4 addresses can be represented in any notation by 32-bit number.

IP addresses can be public and private. Private IP addresses:

There's other reserved ranges:

IPv6

IPv6 was intended to replace IPv4. It uses 128-bit addresses. Direct communication between IPv6 and IPv4 is impossible, though there are some transition mechanism to help with that.

IPv6 simplifies many aspects, so it's faster than IPv4.