An IP address is the number that tells the internet where to deliver data. Every device that talks on an IP network needs one.
Knowing how they work explains everyday puzzles like why your laptop says 192.168.1.23 while websites see a different address.
What an IP address does
Data crosses the internet in small chunks called packets. Each packet carries two IP addresses: the source (who sent it) and the destination (where it should go). Routers along the way read the destination and pass the packet one hop closer, much like sorting offices reading the postcode on a letter.
The address identifies a device's connection to a network, not the person using it. Your phone gets one address on your home Wi-Fi and a different one on mobile data. Most home devices are handed an address automatically by DHCP, and it can change when the lease runs out.
People rarely type IP addresses. You type a name such as a website's domain, and DNS looks up the address behind it. The connection itself is always made to the address.
IPv4: four small numbers
The address in the video, 192.168.1.1, is an IPv4 address. It is 32 bits long, written as four numbers separated by dots. Each number is one byte, so it runs from 0 to 255.
Network part and host part
An address has two halves. The first part names the network, and the rest names a device on it. The split is written with a slash:
192.168.1.0/24The /24 means the first 24 bits (192.168.1) are the network, and the last number picks the device. Your computer uses this to decide whether a destination is on the same local network, in which case it sends the packet directly, or somewhere else, in which case it hands the packet to the router.
Wondering how this was made? How we make these