whoisy.online

What is an IP Address and How to Find Your Public and Private IPs?

Stacy D Lowery
Stacy D Lowery
Network & Security Specialists
13 min read9 views
What is an IP Address and How to Find Your Public and Private IPs?

An IP address is basically a digital shipping label that tells routers exactly where to send your network packets. But having an IP doesn't mean your machine is fully exposed to the public web. Most of the time, you're sitting behind a private local address that the internet can't actually see. You spend twenty minutes trying to configure a remote server, only to realize you've been typing your internal NAT address instead of your real public one. It fails every time. Here you'll see exactly how public and private IPs differ, and how to verify your real external address fast.

Core IP Address Concepts and Network Routing

How IP Addresses Connect Devices Across the Internet

Every time you load a website or send an email, your computer needs a way to find the exact remote server hosting that content. That happens through an IP address. It works exactly like a physical mailing address, giving your device a unique numerical identifier so network routers know where to send returning data. If your machine lacked this digital label, your local network adapter wouldn't even know how to ask a web server for a basic image file.

The Technical Difference Between IPv4 and IPv6 Protocols

We basically ran out of standard addresses years ago. IPv4 uses a 32-bit format—those familiar four blocks of numbers like 192.168.1.1. That structure only handles about four billion unique devices worldwide. So engineers built the IPv6 protocol to fix the hardware shortage. It uses a 128-bit hexadecimal format that looks like 2001:0db8:85a3:0000:0000:8a2e:0370:7334, giving the internet an almost infinite block of routing addresses. You can actually check which version your local service provider assigns to your router right now by running a quick query on the IP & Location Checker directly on whoisy.online. It instantly shows exactly how the outside world sees your network adapter.

How Packets Rely on IP Headers for Delivery

Data doesn't travel across fiber cables as one massive chunk. Your network card chops up a file request into tiny, manageable pieces called packets. Before pushing a packet out to the web, your operating system slaps an IP header onto it. Think of this header as the outer envelope. It holds your source IP and the target destination IP. Routers read that header at every single hop along the path to decide the fastest wire to the next switch. If a crowded node drops the packet entirely, the receiving server notices the missing sequence number and just asks your machine to transmit a fresh copy.

Public vs Private IP Addresses

How Your ISP Assigns Your Public IP Address and ASN

When you sign up for internet service, your provider hands your modem a public IP address. It's your actual identity on the open web. Every time you connect, external servers see this specific number along with your Autonomous System Number—or ASN, which just tells the internet who owns your IP block, like Comcast or Hetzner. You can see exactly what your provider is broadcasting to the world right now by opening the IP & Location Checker on whoisy.online. It instantly pulls your real public IPv4 or IPv6 address and your live geolocation.

How Local Routers Manage Private IP Addresses via DHCP

Your public IP stops at your router. After that, your local network takes over. You might have a laptop, a smart TV, and three phones all connected to the same Wi-Fi. Your router doesn't give them all public addresses. Instead, it hands out private local IP addresses using a protocol called DHCP. This setup basically acts like an internal switchboard. So your phone might get 192.168.1.5 and your laptop gets 192.168.1.10. These addresses only work inside your house. If you try to ping a private IP from an external network, it fails immediately because the open internet has no idea how to route traffic to an internal address.

External Ping Blocked By Firewall
External Ping Blocked By Firewall

Network Address Translation (NAT) and How It Bridges Local and Public Networks

If your laptop has a private address that the internet can't see, how does a web page actually load? That is where Network Address Translation comes in. Your router runs a NAT table that acts as a translator between your internal devices and the outside world. Say your laptop asks for a file download. It sends that request out with its private IP. Your router grabs that packet right away, swaps in your public IP, and pushes it out to the web. When the returning data hits your router, NAT looks at its internal ledger, sees which local device asked for the file, and forwards the packet to the right private address.

Comparison Table of Public IP vs Private IP Characteristics

FeaturePublic IP AddressPrivate IP Address
ReachabilityDirectly accessible from the global internetOnly reachable from inside your local network
AssignmentProvided dynamically or statically by your ISPAssigned automatically by your local router
Typical FormatsVaries widely based on your provider and ASNUsually 192.168.x.x, 10.x.x.x, or 172.16.x.x
VisibilityTracked by websites, ad networks, and external serversCompletely hidden behind your home router NAT

How to Find and Verify Your IP Address

Checking Your Public IP Address, ISP, and Geolocation

Your router broadcasts your public IP address to the whole internet. You need to know what that address is when you set up a home server or test a new firewall rule. The fastest way is just hitting the IP & Location Checker directly on whoisy.online. It runs an instant, uncached query to show exactly how the outside world sees your network. You get your live IPv4 or IPv6 address right there. It also pulls your exact geolocation and ISP details so you know for sure if your VPN is actually masking your real location.

Finding Your Private IP Address on Windows, macOS, and Linux

Your private IP address only exists inside your local network. Finding it takes a quick terminal command, but every operating system handles this a bit differently. On Windows, just open your command prompt and run ipconfig. Look for the IPv4 Address line under your active Wi-Fi or Ethernet adapter. Apple hides this a bit deeper than Windows does, so you have two options here. You can dig through the graphical system settings, or just open a macOS terminal and type ifconfig en0 to grab your local IP fast. For Linux boxes, drop ip addr into your shell—which honestly saves a ton of headache when you're debugging headless servers at 2 AM. Look for the inet value next to your main network interface.

Running a Full IP Lookup for External Domain Servers

Sometimes you need to figure out exactly where a remote website or suspicious server is physically hosted. You don't want to rely on stale DNS cache data for this. Grab the remote IP or domain name and drop it into the IP Lookup tool on whoisy.online. It instantly pulls live geographic and registrar data for any IPv4 or IPv6 address. You see the exact datacenter ASN and physical country tied to that specific server block. It fails instantly if the address is just a private local IP, so you know right away if you are dealing with an open public endpoint.

Static vs Dynamic IP Addresses

Why Most Residential Networks Default to Dynamic IP Addresses

Your internet service provider doesn't want to assign a permanent IP address to every single customer on their network. There simply aren't enough IPv4 addresses left in the world to hand them out permanently. Instead, ISPs use dynamic IP addresses. They maintain a massive pool of addresses and temporarily lease one to your home router when it connects. Turn your modem off for a few hours, and that specific lease expires. When you boot it back up, the network just hands you a brand-new public IP from the pool. It saves the provider a ton of money and network administration time.

When to Configure a Static IP for Home Labs and Server Hosting

Dynamic leases are perfectly fine for basic web browsing. But they become a massive headache the second you try to host a local database or build a home lab. If your router grabs a new public IP while you are at work, all your remote SSH connections and custom domain DNS records break instantly. That is when you need a static IP address. A static IP never changes. You bind it directly to your server network adapter or pay your ISP an extra monthly fee for a permanent public address, ensuring your port forwarding rules stay locked in place forever.

Measuring Network Latency and Jitter on Your Current IP

Whether your address changes daily or stays fixed, the actual routing path determines your everyday network performance. You need to know your baseline metrics before setting up game servers or encrypted tunnels. Jump over to the Internet Speed Test on whoisy.online to measure your connection. It tests your current IP directly against the Cloudflare Global Edge network. You get your raw download and upload speeds, plus two metrics that actually matter for real-time traffic. Watch your ping to see how fast a single packet travels, and check your jitter to measure the stability of those packet arrival times. A connection with a great 20ms ping but a massive 80ms jitter spike will drop your remote server connections constantly.

Comparison Table of Static vs Dynamic IP Setups

FeatureStatic IP AddressDynamic IP Address
Address LifespanPermanent and never changesTemporary lease that rotates over time
Best Used ForWeb hosting, remote server access, and DNS stabilityEveryday home networking, mobile phones, and public Wi-Fi
Cost and SetupUsually requires a business ISP account or extra monthly feeAutomatically included with standard residential internet plans
Security RiskEasier for external scanners to target continuouslyRotates frequently which slightly disrupts persistent tracking

IP Address Classes and Subnetting Basics

Understanding IPv4 Address Classes and Network Blocks

When the internet was first built, engineers chopped up the available IPv4 addresses into five distinct categories—Classes A through E. Class A blocks are massive. They give a single organization over 16 million unique addresses. You hardly ever see these outside of giant tech companies or legacy government networks. Class B handles medium networks, and Class C is what you usually see sitting on your home router. Class D is reserved strictly for multicast traffic, so you won't assign those to a normal server. Class E is just kept around for experimental research. Honestly, modern networking uses classless routing right now. But you still need to know these old block limits when you set up basic firewall rules.

How Subnet Masks Segment Local Networks

A subnet mask basically tells your computer where your local network ends and the outside internet begins. Think of it like an internal border filter. If your router assigns you a 192.168.1.10 address with a standard 255.255.255.0 mask, it means the first three blocks of numbers are locked in. Your local network only has room for 254 active devices. If you try to ping 192.168.2.10, your machine knows right away that the target is outside the local border. So it hands the packet straight to your gateway router to figure out. You change that mask to 255.255.0.0, and suddenly your local network fits over 65,000 devices. It gets messy fast. That is why network admins chop big networks down into smaller subnets. It stops broadcast traffic from flooding every single switch port at once.

Broadcast Flood Vs Clean Subnet
Broadcast Flood Vs Clean Subnet

Identifying Reserved Localhost and Loopback Addresses

Sometimes you just want to test a web app or database on your own machine without sending a single packet out to the local Wi-Fi. That is exactly what the loopback address does. Every single machine reserves the 127.0.0.0 network block entirely for internal testing. The default address is always 127.0.0.1. You type that into your browser, and your network adapter instantly loops the request right back to your own CPU. It never hits the physical wire. This setup is incredibly handy. You can run a heavy Docker container or a local SQL database and bind it strictly to localhost, keeping your development environment completely hidden from anyone else sitting on the same office network.

Privacy and Security: When and How to Hide Your IP

What Third-Party Websites and Trackers Can See from Your Public IP

Every time you load a webpage, your public IP address goes straight into their server logs. Ad networks and third-party trackers grab this number right away to map out your physical location and figure out exactly which ISP you use. They pair that public IP with a bunch of browser cookies to build a persistent profile of your daily habits. Even if you clear your browser cache, having a static home IP means trackers just pick up exactly where they left off the next time you load a page.

Masking Your IP by Routing Traffic Through a VPN or MTProto Proxy

You can break that tracking chain by pushing your internet traffic through an encrypted tunnel. Say you connect to a V2Ray node or a standard VPN server. Websites stop seeing your residential ISP. They only see the datacenter IP of the remote server. You can find active V2Ray nodes to handle full operating system encryption. If you just want to secure a single chat application without slowing down your whole machine, you can route that specific traffic through an MTProto proxy instead. Both setups stop external sites from logging your real home address.

Testing Your Network for WebRTC and Unencrypted DNS Leaks

Routing your packets through a proxy is great, but browsers have a bad habit of bypassing those tunnels. Modern web apps use WebRTC for peer-to-peer video calls, and that protocol can accidentally hand your real local or public IP straight to a tracker. Your operating system might also leak plain text DNS queries directly to your router. You need to verify your setup before trusting it. Head over to the WebRTC Leak Test on whoisy.online to check your connection right now. It instantly shows if your browser is broadcasting public ICE endpoints outside your encrypted tunnel.

Frequently Asked Questions

Questions & Answers

Clear, authoritative answers to the most common questions on this subject.

Stacy D Lowery

Stacy D Lowery

Network & Security Specialists

Graduate in Computer Science with 6+ years of hands-on experience in IT infrastructure and system administration.