logoalt Hacker News

ck2last Saturday at 8:16 PM3 repliesview on HN

my tmobile 5g modem has ipv4 but changes ip every single page load, it's wild

I'm used to cablemodems with static ipv4 for months basically until mac changes


Replies

throw0101clast Saturday at 8:20 PM

Is it per chance 100.64.0.0/10?

* https://en.wikipedia.org/wiki/IPv4_shared_address_space

show 1 reply
hylaridelast Saturday at 9:25 PM

> my tmobile 5g modem has ipv4 but changes ip every single page load, it's wild

They're probably using CG-NAT, though IP changes that often is a bit aggressive.

show 1 reply
immibisyesterday at 12:07 AM

Your IPv4 packets are getting tunneled to a CGNAT server which has an IP address pool.

Your website will load faster on cellphones if it supports IPv6. This is because the packets take more direct routes (because they don't go to the central CGNAT server) and because less processing is applied to them. Almost all mobile networks are now IPv6-only, with IPv4 traffic tunneled and CGNATted. Apparently T-Mobile is the rare exception.