What is CGNAT (carrier-grade NAT)? Why your IP address is shared
By the ProxyOnly team · 14 Nov 2026 · 5 min read
CGNAT lets an internet provider share one public IPv4 address among many customers. How it works, how to check for it, what it breaks, and what to do.
CGNAT, short for carrier-grade network address translation, is a technique internet providers use to share one public IPv4 address among many customers. Instead of giving each home or phone its own public address, the provider puts a whole group of subscribers behind a shared one.
It exists because IPv4 ran out of addresses. If you cannot host a server at home, your IP lookup shows a city you do not live in, or you wonder why a mobile address is shared with strangers, CGNAT is probably the reason. This article explains how it works, how to check whether you are behind it, what it breaks, and what you can do about it.
Why CGNAT exists
IPv4 addresses are 32 bits long, which allows about 4.3 billion of them in total. That sounded like plenty in the 1980s. The central pool of unassigned addresses ran out in February 2011, when the last blocks were handed to the regional registries, and the registries have since run low themselves.
Internet providers kept signing up customers and needed a way to serve them without an address each. Home routers already used network address translation to share one public address among the devices in a house. CGNAT applies the same idea one level up, at the provider.
How CGNAT works
At home, your router translates between private addresses inside the house, such as 192.168.1.20, and one address on the outside. Behind CGNAT, the address on your router's outside is not public either. It is a private address assigned by your provider, and a large translator inside the provider's network maps many such customers onto a small pool of public addresses.
The mapping is by address and port. Each subscriber gets a share of the available port numbers on a shared public address, and the translator remembers which internal address and port belongs to each outside connection. Providers normally log those mappings so they can trace abuse back to a subscriber.
Two documents define the pieces. RFC 6598 reserves the range 100.64.0.0/10 as shared address space for exactly this use, and RFC 6888 sets out common requirements for carrier-grade NATs. Some providers use related transition methods, such as DS-Lite in RFC 6333 and 464XLAT in RFC 6877. Mobile networks in particular lean heavily on translation.
CGNAT and the NAT in your router
Your home router's NAT is under your control. You can forward ports on it, and it only serves your household. CGNAT is run by the provider, serves many customers, and you cannot configure it. The two can stack: a home behind CGNAT has a router translating addresses and a provider translating them again, so port forwarding on your own router only helps with the first step.
How to tell if you are behind CGNAT
You need two addresses to compare.
- Find the address on your router's outside, usually on its status page, labelled WAN or Internet.
- Find the address the internet sees, using the IP lookup tool or any similar page.
- Compare them. If they differ, there is another translation step between your router and the internet.
A router address inside 100.64.0.0 to 100.127.255.255 is a strong sign of CGNAT, because that range is reserved for it. You can check an address in a line of Python:
import ipaddress
wan = ipaddress.ip_address("100.72.18.45")
print(wan in ipaddress.ip_network("100.64.0.0/10"))That prints True. Two caveats apply. A router address in a normal private range such as 10.x.x.x also means a second translation. And some providers use public-looking addresses inside their network, which this check cannot detect, so if you suspect CGNAT and the check is inconclusive, ask your provider.
Another check: traceroute
A path trace lists the hops between you and a destination. Run it and look at the first few lines:
traceroute 1.1.1.1On Windows the command is tracert 1.1.1.1. If the first hop is your router and the next hop has an address between 100.64.0.0 and 100.127.255.255, that hop is usually the provider's translator. It is a hint rather than proof, because providers can configure their networks differently.
What CGNAT changes
- You cannot accept inbound connections. Traffic that starts outside has no way to reach your device, so port forwarding does not work. That breaks self-hosted servers, remote access, some game hosting and some peer-to-peer features.
- Your reputation is shared. If another subscriber on the same public address abuses a service, the address can be limited or blocked, and you may see more CAPTCHAs than you should.
- Your location can look wrong. An address shared across a region often geolocates to the provider's gateway, not your city, as covered in IP geolocation and geo-blocking.
- Logs get more complicated. A website sees the same address for many unrelated visitors, which is why per-address rate limits are often looser for carrier ranges.
What you can do about it
- Ask the provider for a public IPv4 address. Some provide one on request, free or for a small fee, often described as a static or dedicated IP.
- Use IPv6 if your provider offers it. Every device gets a public address, and your router's firewall still blocks unsolicited inbound traffic by default.
- Use a reverse tunnel to expose a service. Tools such as Cloudflare Tunnel, Tailscale, or a WireGuard tunnel to a small rented server let outside users reach you without any inbound port on your side.
- For games, use the platform's relay or a hosted server, rather than trying to host from behind CGNAT.
CGNAT and proxies
Understanding CGNAT explains why mobile proxies are valued. A carrier address is shared by many people, so blocking it is costly for a website, and it tends to be treated leniently. That is a property of the network, not of the proxy software.
It also explains oddities when you check a mobile or provider address on a lookup site. The city may be wrong, and the owner is a carrier, which you can confirm with an ASN lookup. For the wider picture of what an address does and does not reveal, see what someone can do with your IP address.
Try it yourself
Create an account, add funds from US$1 and order a proxy in the country you need.
Keep reading
16 Nov 2026 · IP addresses and privacy
Proxies, privacy and the law: a responsible-use guide
Whether using a proxy is legal, what computer misuse and data protection law say, what your provider can see about you, and a checklist for using proxies responsibly.
16 Nov 2026 · IP addresses and privacy
How to change or hide your IP address: the options compared
Seven ways to change or hide your IP address compared by what each one hides, from whom, and what it leaves exposed, with a way to check that it worked.