What is an IP address? Explained with a street address
An IP address is the number that identifies a device on a network so messages reach the right place. Explained with street addresses, sorting offices and a block of flats.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- Engineering
In one sentence: An IP address is the number that identifies a device on a network, such as your laptop, your phone or a website’s server, so that messages sent across the internet can be delivered to the right place, just as a street address lets the post reach the right door.
The everyday picture
Think about how a parcel reaches you. The sender writes your street address on the box. Sorting offices read it and pass the box along, office by office, until a courier knocks on your door. Nobody needs to know you. They only need the address.
Now think about a block of flats. The building has one street address. Inside, each flat has its own number. Post from outside goes to the building’s front desk, and the desk passes it to the right flat.
The internet works the same way. Every device that sends or receives messages needs an address, called an IP address. IP stands for Internet Protocol, the shared rules for how messages are addressed and passed along. Without an address, a message has nowhere to go.
Your laptop looks up the shop’s address, then your router sends the message out under the building’s public address. Sorting offices pass it to the shop’s IP address, and the reply comes back the same way.
How it works, step by step
- Finding the address (looking it up in an address book): you type a name like example.com. A system called DNS turns that name into the website’s IP address, because the network delivers by number, not by name.
- Your device’s private address (your flat number): at home or in the office, your router gives each device a private address, often starting with
192.168.or10.. These ranges are set aside for private networks and only mean something inside your own building. - The public address (the building’s street address): your router has one public IP address, given by your internet provider. It sends your message out under that address and remembers which flat asked, so the reply can find its way back inside.
- Routers along the way (the sorting offices): the message is split into small pieces called packets. Each carries the destination address. Routers across the internet read that address and pass each packet one step closer.
- The reply (a parcel coming back): the website’s server sends its answer to your building’s public address. Your router hands it to the device that asked.
Try it · Put it in order
Put the parcel’s journey in order
Tap the steps in the order they happen.
Where the picture stops
- A street address rarely changes. Many home and mobile connections get an IP address that can change from time to time, because the provider hands them out from a shared pool.
- A street address points to one place on a map. An IP address shows which network a device is on, but it is not a precise location. Websites that guess your city from it are often wrong.
- Post takes days. Packets usually cross the world in a fraction of a second, and the pieces of one message can take different routes before they are put back together.
Why it matters for your business
- Your website stays reachable: your domain name points to your server’s IP address through DNS. If you move hosting, that record must be updated, or visitors go to the old address.
- Security and access: many tools let you allow or block specific IP addresses, for example letting only your office reach an admin page. Because home and mobile addresses can change, this works best with fixed addresses.
- Reading reports: logs, analytics and security alerts list IP addresses. Knowing what they are helps you read a warning from your IT team or a supplier without guessing.
- Planning ahead: there are two versions in use, IPv4 and IPv6. Hosting and networks that support both will keep working as more of the internet moves to IPv6.
An example
Imagine a 15-person design studio that keeps its client files on an online file service. The owner wants the files reachable only from the office. She asks the internet provider for a fixed public IP address and adds it to the service’s allowed list. Staff in the office open files as usual. A login attempt from anywhere else is refused, even with a correct password. When someone travels, the studio’s IT contractor sets up a secure connection that sends their traffic through the office, so it arrives from the allowed address.
Frequently asked questions
What is the difference between IPv4 and IPv6?
IPv4 addresses are 32-bit numbers written as four parts, like 192.0.2.53. IPv6 addresses are 128-bit numbers written in a longer form with letters and numbers, which allows vastly more addresses.
What is the difference between a public and a private IP address?
A public address is reachable across the internet and is unique worldwide. A private address, such as one starting with 192.168, only works inside your own network, and your router stands in for it on the internet.
Can someone find my home from my IP address?
Not on its own. An IP address shows your internet provider and often a rough area. Matching it to a specific customer needs the provider’s records.
Who hands out IP addresses?
IANA coordinates the global pool and passes blocks to five regional registries, such as ARIN for North America and RIPE NCC for Europe. They allocate addresses to internet providers and organisations, who then assign them to customers and devices.
Related explainers
- What is DNS? Explained with your phone’s contacts list
- What is an HTTP request? Explained with a letter and its reply
- What is a server? Explained with a kitchen that never closes
- What is a CDN? Explained with local pickup counters
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.