How to Detect CGNAT by Comparing WAN IP and Public IP
Learn how to detect CGNAT by comparing your router’s WAN IP with your public IP. Identify CGNAT ranges, Double NAT, DS-Lite, and common testing mistakes.

Many Internet Service Providers, or ISPs, use limited IPv4 addresses to provide Internet connections to multiple customers. This technology is called Carrier-Grade Network Address Translation, or CGNAT. It is also known as Large-Scale NAT, or LSN.
With a CGNAT connection, your router usually does not receive its own public IPv4 address. An intermediate NAT gateway inside the ISP network sends connections from many subscribers to the Internet through a shared public IPv4 address.
Comparing the WAN IPv4 address of your router with the public IPv4 address visible on the Internet can provide important evidence about CGNAT. However, this test alone is not conclusive in every situation. Double NAT, VPNs, proxies, DS-Lite, and IPv4/IPv6 address-family mismatches can produce similar results.
This article explains how to collect the correct addresses, compare them, and interpret the results.
What Is a WAN IP Address?
WAN means Wide Area Network. The WAN interface of a router connects your local network to the ISP network. An ISP normally assigns an IP address to this interface through DHCP, PPPoE, a static IP configuration, or another provisioning protocol.
A router WAN IP can be any of the following:
- A routable public IPv4 address
- An RFC 1918 private IPv4 address
- A shared CGNAT address
- A special address used by a DS-Lite or IPv6-based connection
- A private address assigned by an upstream modem
The WAN IP is not the same as the router LAN IP. For example, 192.168.1.1, which you may use to open the router administration panel, is normally a LAN gateway address. It is not the WAN IP.
The default gateway shown in the network settings of your computer or phone is also normally the router LAN address. You cannot reliably test for CGNAT by using that gateway address.
What Is a Public IP Address?
A public IP is the Internet-facing address that a website or remote server sees as the source address of your connection.
When a router has a direct public IPv4 connection, its WAN IPv4 address and detected public IPv4 address are normally the same. When CGNAT or Double NAT is present, the two addresses are usually different.
IPv4 and IPv6 are separate address families. You cannot reach a reliable conclusion by comparing a router WAN IPv4 address with a detected IPv6 address. Compare IPv4 with IPv4 and IPv6 with IPv6.
A VPN, corporate proxy, Apple iCloud Private Relay, or another relay service can make a website see the IP address of an intermediary server instead of your ISP connection. In that situation, the detected public IP does not represent the actual router connection.
Before Running the CGNAT Test
For an accurate result, connect the test device to the Wi-Fi or Ethernet network of the router you want to examine.
Complete these steps before testing:
- Disconnect any VPN connection.
- Disable any browser proxy.
- Temporarily disable Apple Private Relay if it is active.
- Turn off mobile data and remain connected through Wi-Fi.
- Collect the WAN IPv4 address from the router administration panel.
- Check the public IPv4 address through the same network connection.
- If the router reconnects, collect both addresses again.
If you are using an office network, guest Wi-Fi, or a mesh satellite, confirm the upstream network topology. The result can be misleading if traffic exits through another gateway.
How to Find the WAN IP of Your Router
The menu path varies by router manufacturer and firmware version. The address is usually available under an Internet, WAN, Network Status, or Connection Status section.
TP-Link Routers
On many TP-Link models, use the following path:
Advanced → Network → Internet
Some firmware versions display the Internet IPv4 address directly on the Status page. Look for a field named IP Address, Internet IP, or WAN IP.
Do not copy the Default Gateway, DNS Server, or LAN IP Address.
ASUS Routers
In the ASUSWRT interface, the usual path is:
Network Map → Internet Status
Collect the IPv4 address shown under the WAN IP or Internet Status section. If Dual-WAN is enabled, make sure you are checking the active WAN interface.
Netgear Routers
On many Netgear routers, use:
Advanced → Internet Port
Some models display the IP address under Internet Port on the Advanced Home page.
Linksys and Other Routers
On Linksys routers, check the Connectivity, Internet Settings, or Status section. D-Link, Tenda, MikroTik, and ISP-provided gateways also normally show the address under a WAN, Internet, or Uplink section.
If you can only see 192.168.0.1 or 192.168.1.1, you are probably looking at the router LAN address.
How to Find Your Public IP Address

Open the RouterNAT What Is My IP Address tool to see the IP address visible on the Internet.
If the result displays IPv4 and IPv6 separately, compare only the detected IPv4 address with the router WAN IPv4 address.
While testing, confirm the following:
- The device is connected through the router Wi-Fi or Ethernet network.
- No VPN or proxy is active.
- The browser is not using a mobile network.
- The WAN address and public address are collected at approximately the same time.
On a dynamic IP connection, the public address may change after a reconnect or DHCP lease renewal.
Compare the WAN IP and Public IP
| WAN IP Result | Public IP Result | Possible Meaning |
|---|---|---|
| Both IPv4 addresses match | The same public IPv4 | Usually a direct public IPv4 connection |
| WAN address is within 100.64.0.0/10 | A different public IPv4 | A strong indication of CGNAT |
| WAN address is within a private range | A different public IPv4 | Double NAT or ISP-side NAT |
| WAN address is public, but different | Another public IPv4 | Another NAT layer, a VPN, or stale information |
| No WAN IPv4 is available | A public IPv6 is available | An IPv6-only, DS-Lite, or IPv4 transition service |
| Only IPv6 is detected | A WAN IPv4 was entered | An address-family mismatch; the comparison is incomplete |
Even when the addresses match, firewall policies, upstream filtering, or ISP restrictions on inbound ports may still exist. Having a public IP does not mean that every inbound connection is permitted.
How to Recognize the CGNAT Address Range
The shared address space reserved for CGNAT under RFC 6598 is:
100.64.0.0/10
This CIDR range begins at:
100.64.0.0
It ends at:
100.127.255.255
If the WAN IPv4 address of your router is within this range and the detected public IPv4 address is different, this is a very strong indication that your ISP uses CGNAT.
However, an address should not be classified as CGNAT simply because it begins with 100. Only addresses from 100.64.0.0 through 100.127.255.255 are within the shared address space. Other 100.x.x.x addresses may be public.
Private WAN IP Addresses and Double NAT
The following RFC 1918 address ranges are reserved for private networks:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
If the WAN interface has an address from one of these ranges, another NAT device may exist in front of the router.
For example:
Internet → ISP Modem/Router → Personal Router → Device
In this arrangement, the WAN address of the personal router might be 192.168.0.2, while its LAN network might be 192.168.1.0/24. This is a common Double NAT topology.
However, an ISP can also use RFC 1918 addresses inside its own network and produce a similar result. If the WAN address is private, examine both the upstream modem and the ISP connection.
Test with the RouterNAT CGNAT Checker
Enter the WAN IPv4 address of your router into the RouterNAT CGNAT Checker. The tool compares the submitted WAN address with the detected public address and explains the possible network condition.
The tool generally checks whether:
- The WAN and public IPv4 addresses match
- The WAN address is within the CGNAT range
- The WAN address is within an RFC 1918 private range
- The address is reserved or non-routable
- An IPv4/IPv6 address-family mismatch exists
Do not include a slash, port number, or protocol prefix when entering the WAN IP. Enter only the address, such as:
100.72.18.44
If a VPN is active, the detected public address may belong to the VPN server. The WAN IP entered into the CGNAT Checker is used to generate the result. According to the privacy policy, the tool does not save the submitted WAN IP in the application database.
Key Differences Between CGNAT, Double NAT, and DS-Lite

GNAT
CGNAT is a large-scale address translation layer operated inside the ISP network. Multiple subscribers share the same public IPv4 address.
Common characteristics include:
- The WAN address is often within the 100.64.0.0/10 range.
- The user cannot control the NAT mappings created by the ISP.
- Conventional port forwarding does not normally work.
- One public IPv4 address may be shared by many subscribers.
Double NAT
Double NAT occurs when two NAT gateways operate consecutively within a network path.
For example:
Internet → Modem Router → Wi-Fi Router → Client
In many cases, Double NAT can be removed by placing the first device in bridge mode or using the second router in access-point mode. However, enabling bridge mode without understanding the network configuration can interrupt the Internet connection.
DS-Lite
Dual-Stack Lite, or DS-Lite, is an IPv4 transition architecture. The subscriber receives native IPv6 connectivity, while IPv4 traffic is tunneled through an ISP-operated Address Family Transition Router, or AFTR.
A router using DS-Lite may not have a conventional public IPv4 address. Some deployments may display special IPv4 service-related addresses. It is not accurate to classify the entire 192.0.0.0/24 range as DS-Lite because individual protocol-assignment addresses within that range have separate purposes.
To identify DS-Lite, examine the ISP documentation, router status information, and IPv6 configuration together.
Common Testing Mistakes
Leaving a VPN Connected
A VPN changes the public source address of the connection. The WAN IP and detected IP will therefore be different.
Using Mobile Data
If a phone uses its cellular connection instead of Wi-Fi, the detected IP belongs to the mobile operator rather than the router connection.
Mistaking a LAN IP for a WAN IP
192.168.1.1 is normally a router administration address. It is not the WAN IP.
Comparing IPv4 with IPv6
100.72.10.5 and 2400:xxxx::1 cannot be directly compared. They belong to different address families.
Using Outdated Information
The address may change after a dynamic WAN lease renewal, PPPoE reconnect, or router restart.
Relying Only on Traceroute
A private hop in a traceroute does not conclusively prove CGNAT. ISP core routing, MPLS, and ICMP policies can affect the output.
Why CGNAT Matters
Port Forwarding
The ISP controls the upstream translation table used by CGNAT. Even if you create a port-forwarding rule on your local router, unsolicited inbound traffic may not reach it.
Remote Camera and NAS Access
IP cameras, NAS devices, home servers, and remote desktop services that require direct inbound access may experience connectivity problems. A vendor relay or authorized outbound tunnel may still work through a separate connection method.
Online Gaming
Some peer-to-peer games, voice services, and consoles may report a Strict NAT or Moderate NAT condition behind CGNAT. However, not every game is affected in the same way.
Self-Hosted Services
Running a web server, VPN server, or game server directly from the public Internet may require a publicly routable address and appropriate firewall rules.
Dynamic DNS
Dynamic DNS only updates a hostname when the visible public address changes. It does not create an inbound mapping on the CGNAT gateway. Dynamic DNS alone cannot bypass CGNAT.
What to Do If You Are Behind CGNAT
Ask the ISP for a Public IPv4 Address
Ask ISP support whether it provides a dynamic public IPv4 address or a static public IPv4 address. Some ISPs allow customers to opt out of CGNAT without charge, while others require a monthly fee.
Check for Native IPv6
When both endpoints support IPv6, direct IPv6 connectivity may be possible. Correct firewall configuration is still essential.
Use a Legitimate Outbound Tunnel
Tailscale, a WireGuard-based overlay, Cloudflare Tunnel, or another authorized outbound tunnel can solve specific remote-access requirements. Review the privacy, authentication, and access-control policies before selecting a service.
Do Not Weaken Router Security
Enabling DMZ, relying on UPnP, or disabling the firewall does not remove CGNAT. These changes may instead increase the attack surface.
Questions to Ask Your ISP
Ask ISP support the following questions:
- Does my connection use CGNAT?
- Can I receive a dynamic public IPv4 address?
- What is the monthly charge for a static public IPv4 address?
- Are inbound ports permitted with the public IPv4 service?
- Does the service support native IPv6 or IPv6 prefix delegation?
- Does the connection use DS-Lite, MAP-E, or another transition technology?
- Do I need to change my package to receive a public IP?
- Does the ISP modem support bridge mode?
Providing the difference between the WAN IP and public IP can help the support agent troubleshoot the connection. Do not publish your complete IP address in a public forum.
Frequently Asked Questions
Does a Matching WAN IP and Public IP Prove That CGNAT Is Not Present?
A matching address is normally a strong indication of a direct public IPv4 connection. However, port filtering, firewall policies, and upstream restrictions may still apply.
Does a 100.64.x.x Address Always Mean CGNAT?
An address within 100.64.0.0/10 belongs to the shared address range. If an ISP assigns such an address to the WAN interface, CGNAT is highly likely.
Does Port Forwarding Work Behind CGNAT?
A forwarding rule may work within the local NAT layer, but direct Internet traffic normally cannot reach it because the user does not control the ISP CGNAT gateway.
Will Restarting the Router Remove CGNAT?
No. CGNAT is part of the ISP-side network architecture. Restarting the router may change the WAN lease or shared public IP, but it does not change the service architecture.
Will Purchasing a Public IP Automatically Fix Double NAT?
Not always. Double NAT can remain if both the ISP modem and personal router continue operating in routing mode.
Does CGNAT Still Matter When IPv6 Is Available?
Direct IPv6 connectivity can be used by IPv6-capable services. IPv4-only services may still operate through a CGNAT path.
Final Checklist
Before completing the test, confirm that:
- The device was connected to the correct router network.
- The VPN, proxy, and Private Relay were disabled.
- The router WAN IPv4 address was collected.
- The public IPv4 address was checked through the same connection.
- IPv4 was compared with IPv4.
- The 100.64.0.0/10 shared range was checked.
- The RFC 1918 private ranges were checked.
- An upstream modem or second router was considered.
- CGNAT, Double NAT, and DS-Lite were evaluated separately.
- The ISP was contacted for confirmation when necessary.
Conclusion
Comparing the WAN IPv4 address with the public IPv4 address is one of the easiest practical methods for detecting CGNAT. When the two addresses match, the router has normally received a direct public IPv4 address. When the WAN address is within 100.64.0.0/10 and the public address is different, CGNAT is highly likely.
If the WAN address is private, investigate Double NAT as well as ISP-side NAT. If no WAN IPv4 address is available, consider DS-Lite, an IPv6-only service, or another transition architecture.
For the most reliable conclusion, use three forms of evidence together: address comparison, router topology, and ISP confirmation.
A 60-second CGNAT decision path
- Use the same router connection and disable VPN, proxy, Private Relay, and mobile-data fallback.
- Copy the router WAN IPv4. Do not use its LAN address, default gateway, DNS server, or an IPv6 address.
- Check the public IPv4 at the same time. Compare IPv4 with IPv4.
- A WAN address in 100.64.0.0/10 is strong CGNAT evidence. An RFC 1918 WAN address points to another private upstream network.
- Matching public IPv4 addresses usually rule out CGNAT, but they do not prove that inbound ports are permitted.
Worked diagnostic record
| Observation | Example | Interpretation |
|---|---|---|
| Router WAN IPv4 | 100.72.18.44 | Inside the RFC 6598 shared 100.64.0.0/10 block |
| Public IPv4 | 203.0.113.25 | Different internet-facing address |
| VPN or proxy | Off | No known relay changing the comparison |
| Result | Likely CGNAT | Ask the ISP to confirm and explain public IPv4 options |
Evidence to save before contacting the ISP
- Router model, firmware version, and active WAN interface
- WAN IPv4 and public IPv4 with the observation time
- Whether the WAN address falls inside 100.64.0.0/10 or RFC 1918 space
- Whether the connection uses PPPoE, DHCP, DS-Lite, native IPv6, or an ISP gateway
- The exact inbound service affected, without publishing passwords or full IP addresses in a public forum
Run the CGNAT comparison tool with values collected from the same connection, then use the double-NAT diagnostic only when a private upstream gateway is present.

Comments
Leave a Comment
Your email address will not be published. Comments are reviewed before appearing.