Your IPv4 address:
Operating system:

What is IP? IPv4, IPv6 and packet routing

Everything you do online is cut into packets, and the Internet Protocol (IP) is what moves those packets from one network to the next using IP addresses. Today IPv4 uses 32-bit addresses and IPv6 uses 128-bit addresses. IP handles addressing and routing only: it does not promise that a packet arrives, arrives in order or stays private.

How a packet finds its way across networks

Each IP packet names its source and its destination. Every router on the way consults its routing information and decides where to forward the packet next, so the route may vary with network conditions and operator policy. To stop a packet circulating for ever, IPv4 has a Time to Live field and IPv6 has a Hop Limit. Both are reduced as the packet is forwarded, and the packet is discarded when the value runs out.

IP makes no attempt to recover a lost packet. If reliability matters, a higher-layer protocol such as TCP notices the gap and retransmits the data. End-to-end reliability and sequencing are deliberately left out of IP itself, as the IPv4 specification describes. Protection of the contents is likewise added by other protocols and applications.

Reading IPv4 and IPv6 addresses

An IPv4 address is commonly written as four decimal numbers, such as 192.0.2.10. An IPv6 address is written as groups of hexadecimal digits, and one run of all-zero groups may be abbreviated to a double colon, as in 2001:db8::10. Both sample addresses come from ranges reserved for documentation, so they do not belong to real public services.

An address followed by /24 or /64 includes a prefix length: that many leading bits describe the network, and the remaining bits identify an interface within it. The far larger IPv6 address space is already in use on the Internet; IPv6 is not merely a future project. The IPv6 specification describes its header and the Hop Limit.

Private addresses, public addresses and who can reach you

Private IPv4 addresses, such as those in 192.168.0.0/16, can be reused in unrelated local networks. Devices that hold them commonly reach public IPv4 services through address translation (NAT) at the edge of the network. With IPv6 a device may hold a globally scoped address, but that does not mean outsiders can connect to it: firewalls and operator policies may block inbound traffic.

A public IP address does not prove a person’s identity either. It can be shared through NAT, assigned dynamically, or belong to a proxy or another intermediary.

Why the same IP address can lead to different places

An IP address names a network destination, not one immutable physical server or one fixed route. BGP, the protocol networks use to exchange routes, can change the path to a prefix at any time. With Anycast, several sites advertise the same prefix, so users in different networks reach different edge nodes through the same IP. Routing therefore matters more than geographic closeness. The articles on BGP and ASNs and on Anycast go into both.

A site will not open: what to check at the IP level

Start on your own device: check that it has an address, a default gateway and working DNS resolution. A domain can return both A and AAAA records, and the browser may try either address family, so a fault can affect IPv6 only or IPv4 only. Test whether the problem occurs for one site, for one protocol version or for the entire network.

Compare the destination address with the route your device would use, and inspect local firewall rules before you conclude that the remote server is down. When you describe the issue to someone else, record the address, the prefix and the exact time. An isolated screenshot of an IP number tells a support engineer very little.