What is an IP address?
An IP address is an address in a network. If a computer is going to send data to another computer it needs to know where to, and that is the question the IP address answers.
Roughly like a street address. But the analogy only holds up to a point, and that is exactly where most people get confused.
You have two IP addresses at the same time
Your computer has a local IP address on the office network. It usually looks like 192.168.1.42 or 10.0.0.15. It only applies inside your router, a bit like a room number in a hotel. Room 214 means nothing until you know which hotel.
The company also has a public IP address, the one your internet service provider has given you. That is the address the rest of the internet sees. Everyone in the office shares it, so to a website you visit, thirty computers look like a single one.
The router keeps track of who asked for what and sends the answers back to the right computer. That is the router's main job.
Why it matters in practice
Remote access. If someone is going to reach something at your office from the outside, the public address is the one they need, and the router also has to know which local address to pass the traffic on to. That is where ports come in.
Permissions at suppliers. If your accounting system should only be reachable from the office, it is the public address that gets unlocked. If that address changes it stops working, which is a common Monday mystery.
Troubleshooting. The question "what's your IP?" is almost always about the local one.
The two kinds you see
The ordinary kind is called IPv4 and looks like four numbers with dots between them. They ran out a long time ago, because there are only about four billion of them.
The successor, IPv6, is longer and contains letters. If you see an address that looks like an abbreviated code, that is the one. You do not need to do anything about it, but it is good to know that it is not broken.
If your public address changes
Most small companies have a dynamic public address, which means it can change whenever the provider wants. If everything works one morning except remote access to the office, that is often what has happened.
If you have something that must be reachable from the outside, a static IP address is worth the few hundred kronor a month it costs.
Next part: ports, the number after the address that decides who answers.
Other parts in this series:
- Secure Wi-Fi
- What is an IP address? (this article)
- What is a port?
- What is DNS?
- Slow Wi-Fi
- The internet is down
- What does the internet actually see of you?