IP Lookup Guide

From IPv4 to IPv6, from private networks to public addresses—a complete understanding of the IP addressing system

Every device connected to a network needs an IP address—it's the fundamental identifier for internet communication. Whether you're a developer debugging network issues or a regular user wanting to understand your network status, the IP Lookup Tool helps you quickly get key information. This guide dives deep into the core concepts of the IP addressing system.

1. What Is an IP Address?

An IP (Internet Protocol) address is a numerical identifier assigned to network devices, used for locating and communicating on IP networks. Much like a postal address in the real world, IP addresses ensure that data packets are delivered accurately from source to destination.

IP addresses are centrally managed by IANA (Internet Assigned Numbers Authority) and distributed through Regional Internet Registries (like APNIC, ARIN, RIPE) to ISPs and enterprises.

2. IPv4 In Depth

2.1 Address Format

IPv4 uses 32-bit (4-byte) addresses, typically written in dotted decimal notation like 192.168.1.1. Each byte ranges from 0-255, yielding approximately 4.3 billion usable addresses (2³² = 4,294,967,296).

2.2 Address Classes (Historical)

Early IPv4 used five class-based address categories (A/B/C/D/E):

ClassPrefix BitsNetwork RangePurpose
Class A01.0.0.0 - 126.255.255.255Large networks (~16M hosts/net)
Class B10128.0.0.0 - 191.255.255.255Medium networks (~65K hosts/net)
Class C110192.0.0.0 - 223.255.255.255Small networks (254 hosts/net)
Class D1110224.0.0.0 - 239.255.255.255Multicast
Class E1111240.0.0.0 - 255.255.255.255Reserved/Experimental

2.3 CIDR Notation

Modern networks use CIDR (Classless Inter-Domain Routing) notation like 192.168.1.0/24, where /24 means the first 24 bits are the network prefix and the remaining 8 bits are for host addresses. This is more concise than the traditional subnet mask (255.255.255.0).

Common CIDR blocks:

2.4 Special Addresses

3. IPv6 In Depth

3.1 Why IPv6?

IPv4's 4.3 billion addresses were fully allocated by IANA in November 2019 (actual exhaustion came even earlier). While NAT delayed the crisis, the explosion of IoT devices continues to drive demand. IPv6 provides 128-bit address space—approximately 3.4×10³⁸ addresses, enough to "assign an IP to every grain of sand on Earth."

3.2 Address Format

IPv6 uses 8 groups of 4 hexadecimal digits separated by colons:

2001:0db8:85a3:0000:0000:8a2e:0370:7334

Simplification rules:

3.3 Special IPv6 Addresses

4. Public vs. Private IP

4.1 Private Address Ranges

RFC 1918 defines three private address ranges that anyone can use on internal networks without registration:

ClassAddress RangeCIDRUsable Addresses
Class A Private10.0.0.0 - 10.255.255.255/8~16.77 million
Class B Private172.16.0.0 - 172.31.255.255/12~1.04 million
Class C Private192.168.0.0 - 192.168.255.255/16~65,000

4.2 NAT (Network Address Translation)

When internal networks use private IPs to access the internet, routers translate private IPs to public IPs via NAT. NAT has several types:

💡 Check your IP: Use the RiseTop IP Lookup Tool to instantly see your public IP, ISP info, approximate geolocation, and IP version. Terminal users can run curl ifconfig.me to quickly get their public IP.

5. How DNS Works

DNS (Domain Name System) is the internet's "phone book," converting human-readable domain names into IP addresses. When you type risetop.top in your browser, the DNS resolution process is as follows:

  1. Browser cache check: Checks local DNS cache first
  2. OS cache: Checks the system hosts file and DNS cache
  3. Local DNS server: Queries the ISP-configured DNS recursive server
  4. Root name servers: The recursive server queries root servers for the .top TLD's authoritative servers
  5. TLD name servers: Queries for risetop.top's authoritative name server
  6. Authoritative name servers: Returns the final A/AAAA record
  7. Cache results: Each level caches the results to speed up subsequent lookups

Full DNS resolution typically completes in 50-200 milliseconds. DNS prefetching (<link rel="dns-prefetch">) can initiate lookups early, reducing page load times.

6. How to Find Your Local IP

Windows

ipconfig          # View all network interfaces
ipconfig /all     # View detailed info including DNS

macOS / Linux

ifconfig          # or
ip addr show      # View all interfaces
curl ifconfig.me  # View public IP

7. Common Questions

Want to know your public IP?

Look Up Your IP Address →

Summary

IP addresses are the foundation of internet communication. Understanding IPv4/IPv6, public/private IPs, and DNS resolution not only helps you better use the IP Lookup Tool, but is also essential for troubleshooting network issues. With IPv6 deployment accelerating, dual-stack networking knowledge is becoming a must-have skill.