Browse topics

Recently published

Technology & Digital Life · Explainer

What is an IP address? IPv4, IPv6, public and private addresses explained

Every device on the internet needs an address so data knows where to go. Here is how IP addresses work, the different kinds, and what yours says about you.

Home Wi-Fi router with blinking lights on a shelf beside a laptop
Illustration

Short answerAn IP address is a number that identifies a device on a network so data can be sent to the right place, much like a postal address. Your home usually has one public IP address assigned by your internet provider, and your router gives each device a private IP address inside the home. IPv4 addresses look like 192.168.1.10; the newer IPv6 addresses are longer and look like 2001:db8::1.

Key takeaways

  1. An IP address tells networks where to send data.
  2. IPv4 uses four numbers; IPv6 uses longer hexadecimal addresses.
  3. Your home shares one public IP address; each device gets a private one.
  4. Most home IP addresses change from time to time (dynamic).
  5. An IP address reveals your approximate area and provider, not your exact home.

IP addresses in plain English

When you open a website, your device sends a request across the internet and the website sends data back. Both ends need addresses so the data arrives in the right place. IP stands for Internet Protocol, the set of rules that moves data around the internet in small packets, each labelled with a sender and destination address.

IPv4: the original format

IPv4 addresses are four numbers from 0 to 255 separated by dots, such as 203.0.113.42. That allows about 4.3 billion addresses, which seemed plenty when the internet was designed but ran short as billions of devices came online.

IPv6: the newer format

IPv6 uses 128-bit addresses written in hexadecimal and separated by colons, such as 2001:0db8:0000:0000:0000:0000:0000:0001, which can be shortened to 2001:db8::1. It provides a practically unlimited number of addresses. Many networks now run IPv4 and IPv6 side by side.

IPv4 vs IPv6 compared

IPv4IPv6
FormatFour decimal numbersEight groups of hexadecimal
Example192.168.1.102001:db8::1
Number of addressesAbout 4.3 billionAbout 3.4 × 1038
AdoptionUniversalGrowing; widely supported

Public vs private IP addresses

Public IP address

The address the rest of the internet sees. Your internet service provider (ISP) assigns it to your router, and every device in your home shares it when going online.

Private IP address

An address your router gives each device inside your home network. Private ranges, such as 192.168.x.x and 10.x.x.x, are reused in millions of homes because they only need to be unique within each network.

How your router juggles addresses

Your router uses a technique called network address translation (NAT). When your phone requests a web page, the router swaps the phone's private address for the home's public address, sends the request, and then passes the reply back to the right device. This is how many devices share one public IPv4 address.

Dynamic vs static addresses

Dynamic

Assigned automatically and may change over time. Most home connections and devices use dynamic addresses, handed out by a system called DHCP.

Static

Stays the same. Useful for servers, some business services and certain remote-access setups. Some ISPs offer static IPs for an extra fee.

How DNS fits in

People remember names like allinformations.com, but networks route using numbers. The Domain Name System (DNS) works like a phone book, translating a website name into its IP address so your browser can connect.

How to find your IP address

Your public IP

Search "what is my IP" in a search engine, which shows the public address websites see.

Your private IP on Windows

Open Settings, Network & internet, then your connection's properties.

Your private IP on a Mac

Open System Settings, Network, select your connection and look at Details.

On a phone

Look in the Wi-Fi settings for your connected network.

What your IP address reveals

Websites can see your public IP address, which usually reveals your internet provider and an approximate location, often the city or region, not your street or home. Your ISP knows which customer used an address at a particular time, which is why police can request that information with legal authority.

Can someone hack you with your IP address?

Knowing your IP address alone is rarely enough to hack you. The bigger risks come from weak router passwords, outdated firmware or exposed services. Keep your router secure, as explained in how to secure your home Wi-Fi router. Online gamers are sometimes targeted with attacks that flood their connection, and routers and ISPs offer some protection.

Hiding or changing your IP address

Restarting your router may give you a new public IP if your ISP uses dynamic addressing. A VPN routes traffic through another server so websites see the VPN's address instead. Neither makes you anonymous on its own; accounts, cookies and browser fingerprints can still identify you.

IP address conflicts and common problems

  • "IP address conflict": two devices have the same address. Restarting the router or device usually fixes it.
  • "No internet, connected": your device may have failed to get an address from the router. Restart both.
  • Address starting 169.254: a self-assigned address, meaning your device couldn't reach the router's DHCP service.

Our guide to Wi-Fi bands covers other connection issues.

Special and reserved addresses

  • 127.0.0.1: "localhost", which always refers to your own device.
  • 192.168.x.x, 10.x.x.x, 172.16–31.x.x: private ranges for home and office networks.
  • 0.0.0.0: used in some settings to mean "any" or "no particular" address.

Who manages IP addresses?

Globally, the Internet Assigned Numbers Authority (IANA) allocates large blocks of addresses to five regional internet registries, which then allocate them to ISPs and organisations in their regions. ISPs in turn assign addresses to customers.

Common misconceptions

  • "My IP address shows my exact home." Usually only an approximate area.
  • "Each device has its own public IP." Home devices usually share one.
  • "A VPN makes me completely anonymous." It hides your IP but not everything else.

IP addresses and mobile data

When you use mobile data, your phone gets an IP address from your mobile network rather than your home router. Many networks share public addresses between many customers using a large-scale version of NAT, so your public IP on mobile data can change often and may be shared with other users.

IP addresses in the smart home

Every smart plug, speaker, camera and television on your Wi-Fi has its own private IP address. Your router's app or admin page usually lists connected devices, which is a useful way to spot unfamiliar ones. If you see a device you don't recognise, change your Wi-Fi password and check your router's security settings.

Ports: the apartment numbers

If an IP address is like a building's street address, a port number is like an apartment number. It tells the device which service or app should receive the data, such as port 443 for secure web traffic. Routers normally block unsolicited incoming connections, which is an important layer of protection for home networks.

A worked example: loading a web page

When you type a web address, your device first asks a DNS server for the site's IP address. It then sends a request from its private address to your router, which swaps in your home's public address and sends the request across the internet. The website replies to your public address, and your router remembers which device asked, passing the reply back. All of this happens in a fraction of a second, every time you open a page.

Should you set a static IP at home?

Most people don't need to. A fixed private address can be handy for a printer, a home server or a games console that needs port forwarding, and many routers let you "reserve" an address for a device instead. Changing your public IP to static is usually only needed for hosting services from home.

Final thoughts

IP addresses are the postal system of the internet: public addresses identify your home connection, and private addresses identify devices within it. Understanding them makes troubleshooting easier and helps you judge privacy risks realistically. Explore more practical tech in Technology & Digital Life on All Informations.

Sources and further reading

These official and reference pages support the key facts in this guide and are good places to read more. All Informations checked every link on 25 November 2026.

Frequently asked questions

What does an IP address look like?

An IPv4 address looks like 192.168.1.10. An IPv6 address looks like 2001:db8::1.

How do I find my IP address?

Search "what is my IP" for your public address, or check your device's network settings for its private address.

Can my IP address reveal where I live?

Usually only your approximate area and provider, not your exact address.

Does my IP address change?

Most home connections use dynamic addresses that can change, for example when the router restarts.

What is the difference between public and private IP addresses?

A public IP identifies your home on the internet; private IPs identify devices inside your home network.