What is an IP address and how does it work?

What is an IP address and how does it work?

An IP address (short for Internet Protocol address) is an identifier assigned to a device on a computer network so that devices can be told apart and reached on the internet.

It works like a postal address. To deliver a letter or a parcel, the service needs to know where it should go and where a reply should be sent.

How do IP addresses work?

When a device sends a request to another — for example when you type www.ipaadress.ee into the browser — the request carries the sender’s IP address. The server uses that address to know where to send the page back.

Can a device have more than one IP address at once?

Yes. Most current devices and networks use a dual stack: the device has both an IPv4 address and an IPv6 address at the same time.

When a website supports both, the operating system and the browser usually prefer IPv6. If that connection fails, they try IPv4. Opening a page still uses one connection, so you see the address of that connection. When IPv6 works, that address is usually IPv6.

Types of IP address

Public and private

A public IP address is the address where a home router or a company network meets the internet. Websites you visit can see it.

A private IP address is the internal address a router gives to devices at home: a computer, a phone, a television. These usually start with 192.168.x.x or 10.x.x.x and are used only inside that local network.

Dynamic and static

A dynamic IP is an address an internet provider assigns to a home connection. It can change over time or when the router restarts. The address does not stay as a permanent identifier, and fewer addresses are used up.

A static IP is a stable address. It is used, for example, for a server of your own, security cameras, or steady access to a company network. Read about a static IP address in What is a static IP address and how to get one.

How are IP addresses used in practice?

An IP address can often be tied to an approximate location: a country, a city or an internet provider. Search engines and websites use that to offer nearby content.

  • A weather search shows the forecast for where you are.
  • Maps, restaurants and news prefer results from the surrounding area.

What does an IP address look like?

IPv4 is four numbers separated by dots. IPv6 is longer and uses hexadecimal characters, so there can be far more addresses.

  • IPv4 example: 143.4.233.22
  • IPv6 example: 2001:1620:28:1:b6f:8bca:93:a116

You can see your current address on the IPaadress.ee home page.

Back to the blog