How it works · 4 of 36 Foundation
What is an IP address, and how does data find a device?
A device's delivery address on a network
IP address: An IP address is the number that says where a device is on a network, so data can be delivered to it. Every request carries two: where it is going and where it came from, so the answer can find its way back.
Loading the animation…
Say it like this An IP address is a device's delivery address on a network: every request carries yours, so the answer can find its way back.
Under the hood — for builders
- Real case: the order you just placed
- On the card, the request and the reply carry the same two addresses, swapped. That swap is how every answer finds its way home:
- What the four numbers are
- An IPv4 address is one 32-bit number, written as four parts of 8 bits each, so each part runs from 0 to 255:
- Who hands out addresses
- Addresses flow down a chain: one global coordinator, five regional registries, then the provider that gives one to your phone:
- Router
- The box at every junction. It reads only the To address on each packet and passes it one step closer.
- Why it changes
- The address comes from the network you joined. Home Wi-Fi, office Wi-Fi and mobile data each give a different one.
- Measure it
- Windows: ipconfig shows "IPv4 Address". Android: Settings → About phone → Status. Switch Wi-Fi off and check again.
- Watch out
- Every site you visit sees and can log an IP address, which points to your provider and rough area.
- Sources
- RFC 791, Internet Protocol. IANA, Number Resources. RFC 5737, example address blocks. Read 28 Nov 2026.
What happens in the IP addresses animation, step by step?
- Your phone asks a food app for its menu. Millions of phones are online, and the app's server must send the menu back to exactly yours.
- Every request carries two IP addresses: where it is going, and where it came from. An IP address is a device's delivery address on a network.
- Your turn: the server can't see faces, only the number. Tap the phone the menu should go to.
- The menu goes back to the "from" address. Routers on the way read only the address, never the order inside.
- Walk out of home Wi-Fi onto mobile data and your phone gets a new IP address. The address belongs to the connection, not the phone.
- An IP address is where to deliver, right now: every request carries yours, so the answer finds its way back. Next: why are there two kinds, IPv4 and IPv6?
What everyday example explains IP addresses?
The address on a parcel: the courier reads only the address, never what's inside, and the return address brings the reply home.
Why should a team care about IP addresses?
Every "can't connect", blocked login or "unusual location" warning starts with an IP address; it is the first thing an engineer checks.