What is an IP Address?

An IP address (Internet Protocol address) is a unique numeric identifier assigned to every device connected to a network. It serves two purposes: identifying the device and providing a location for routing traffic to it.

IPv4 Addresses

The most familiar form is the IPv4 address — four numbers separated by dots, each ranging from 0 to 255. For example, 8.8.8.8 is Google's public DNS server. IPv4 addresses are 32 bits long, giving a theoretical maximum of about 4.3 billion unique addresses.

In the early days of the internet, this seemed like more than enough. Today, with billions of connected devices, the IPv4 address space is fully exhausted — all addresses have been allocated.

IPv6 Addresses

To solve the exhaustion problem, IPv6 was developed. IPv6 addresses are 128 bits long, written as eight groups of four hexadecimal digits separated by colons. For example, 2606:4700::1111 is Cloudflare's DNS server in IPv6.

IPv6 provides approximately 340 undecillion addresses — enough to assign a unique address to every atom on the surface of the earth and still have addresses left over.

Public vs. Private Addresses

Not all IP addresses are reachable from the internet:

Your home router typically assigns private addresses to your devices internally and uses Network Address Translation (NAT) to share a single public address with the internet.

How IP Addresses Relate to BGP

Public IP addresses are organized into prefixes — contiguous blocks that are announced via BGP. Each prefix is originated by an autonomous system. When you look up an IP address, the looking glass finds the most specific BGP prefix covering that address and shows you the origin AS, the AS path, and other routing details.

Look Up an IP

Try looking up these well-known IP addresses:

See BGP routing data in real time

Open Looking Glass
More Articles
What is BGP? The Internet's Routing Protocol Explained
What is an Autonomous System (AS)?
What is a BGP Looking Glass?
How to Look Up an IP Address's BGP Route
Understanding BGP AS Paths
What is RPKI? Securing BGP Routing
What is DNS? The Internet's Phone Book
IPv4 vs IPv6: What's the Difference?
What is a Network Prefix (CIDR)?
What is an Internet Exchange Point (IXP)?
What is Peering? How Networks Interconnect
How Does Traceroute Work?
What is a CDN? Content Delivery Networks Explained
What is DNS over HTTPS (DoH)?
What is a BGP Hijack?
What are TLDs? Top-Level Domains Explained
What is Anycast? One IP, Many Servers
What is a Subnet? IP Subnetting Explained