Please note: Routers are everywhere. What you should be worried about is NAT. “Real�� routers on the internet don’t use it.
Does every ISP give every subscriber a global IPv4 address...?
The answer to that question is, unfortunately, no, absolutely not. Many mobile phone providers don’t have the amount of IP addresses necessary to give every connected device its own address. Instead, they employ Carrier-grade NAT, which is basically a huge NAT router setup. An increasing number of regular ISPs also have to employ this method to provide service to their ever-increasing number of customers.
Tracing route to superuser.com [190.93.244.58]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 192.168.2.1
2 26 ms 25 ms 12 ms HSI-KBW-095-208-060-001.hsi5.kabel-badenwuerttem berg.de [95.208.60.1]
3 24 ms 8 ms 8 ms 172.30.21.57
4 8 ms 9 ms 9 ms 84.116.191.33
5 10 ms 11 ms 29 ms 84.116.191.2
6 12 ms 12 ms 10 ms ffm-b1-link.telia.net [62.115.48.101]
7 16 ms 14 ms 12 ms ffm-bb1-link.telia.net [62.115.135.233]
8 11 ms 17 ms 10 ms ffm-b10-link.telia.net [62.115.137.141]
9 14 ms 12 ms 16 ms cloudflare-ic-302937-ffm-b10.c.telia.net [62.115 .35.226]
10 11 ms 13 ms 14 ms 190.93.244.58
Trace complete.
On the very first hop, you can see my cable router, with its internal IP address 192.168.2.1
. Now, while I do indeed have a IPv4 address assigned, it won’t be visible here. Instead, look at the next hop, #2: Its address is an Internet-routable IP address. From this, we can deduce that my router’s external IP is also Internet-routable.
If there were additional hops that contained non-Internet IP addresses, this would hint at a Carrier-grade NAT setup at your ISP.
Traceroute only returns the IP addresses “facing you”. That’s why you don’t get your router’s public IP address. Luckily, there’s plenty of web services available to figure that out.