How Does Your ISP Assign IP Addresses?
When you plug in a new router, your connection works within seconds. Behind that smooth experience, your internet service provider (ISP) has to decide which public IP address you receive from a limited supply, make sure nobody else uses it at the same time, and record who had it when. The methods differ between cable, DSL, fiber and mobile networks, and they explain why your address sometimes changes and why some customers share one. Here is how it works.
Where ISPs get their addresses
IP addresses are allocated in a hierarchy. The global pool is managed by IANA, which delegates large blocks to five regional internet registries: ARIN, RIPE NCC, APNIC, LACNIC and AFRINIC. Registries then allocate smaller blocks to ISPs and large organizations, who assign individual addresses to customers. Because IPv4 space is exhausted, many providers now buy or lease blocks, use NAT to share addresses, and roll out IPv6. This allocation data is the foundation of IP geolocation.
DHCP: the most common method
On cable (DOCSIS), fiber and many wireless networks, the router or modem asks for an address using DHCP when it connects. The sequence is often summarized as DORA:
- Discover: your router broadcasts a request for an address.
- Offer: the provider's DHCP server proposes an address from its pool.
- Request: your router accepts the offer.
- Acknowledge: the server confirms and starts a lease.
Providers usually identify the customer by the hardware (MAC) address of the equipment, the port on the access network, or an account identifier added by the network. The same process takes place on your local network between your router and your devices, as described in What Is an IP Address?
Lease times and why addresses change
A lease is the period during which an address is reserved for you, anywhere from hours to weeks or more. Halfway through the lease, your router asks to renew it, and servers normally agree, so many customers keep the same address for months. The address may change when: the router is powered off or disconnected long enough for the lease to expire, you replace the router or modem with a different MAC address, the provider restructures its network or pools, or maintenance forces a reconnect. Some providers deliberately rotate addresses; others are very stable. Compare these behaviors in Dynamic vs Static IP.
PPPoE: login-based assignment
Many DSL and some fiber providers use the Point-to-Point Protocol over Ethernet. Your router logs in with a username and password, an authentication server (often RADIUS) verifies the account, and the provider's gateway assigns an address for the session. When the session drops and reconnects, you may receive a new address. Some providers reset sessions on a schedule, for example every 24 hours, which is why some customers see their address change daily. Static addresses can be linked to the account so that the same one is delivered every time.
Carrier-grade NAT: sharing one address
To save scarce IPv4 addresses, many providers, particularly mobile networks and newer fixed-line operators, put many customers behind one public address using carrier-grade NAT (CGNAT). Your router then receives an address from the range 100.64.0.0/10 that is reserved for this purpose, and the provider translates it. For browsing this is invisible, but it has side effects: you cannot forward ports or host a server, online games may report a restrictive NAT type, and a website's view of your address is shared with many other people, so a ban or CAPTCHA aimed at one user can hit others. If the WAN address on your router does not match what the stor10 lookup shows, CGNAT is likely. Options include requesting a public address from your provider, often for a fee, or using IPv6.
IPv6: prefixes instead of single addresses
With IPv6 there is no shortage, so providers assign your router an entire prefix rather than a single address. This happens through DHCPv6 Prefix Delegation, and typical sizes are /56 or /60, though some give a /64. Your router divides the prefix into subnets and hands addresses to devices using SLAAC or DHCPv6. Prefixes may stay stable for long periods or change on reconnection, depending on the provider. Our IPv4 vs IPv6 guide explains the differences, and if your connection shows no IPv6 at all, see Why Is My Connection Not Showing an IPv6 Address?
Mobile networks
Phones typically receive private or CGNAT addresses, or IPv6-only addresses translated for IPv4 sites using technologies such as 464XLAT. Because thousands of users share exit addresses, and traffic may leave the network in a different city than the phone's location, the public address can look quite different from a home connection and may change frequently as you move.
Records and privacy
Providers keep records of which customer held which address at which time, for operational reasons and legal obligations such as data-retention laws, which vary by country. Websites cannot see these records, and authorities can obtain them only through legal processes. Sites can still see your address and approximate region, as explained in How Websites Track Visitors.
How to check how your provider does it
- Compare the WAN address in your router's status page with your public address on the lookup tool.
- Look at the connection type: DHCP, PPPoE or static.
- Note whether the address changes after a restart and how often.
- Check whether the status page shows an IPv6 prefix.
Conclusion
ISPs obtain address blocks from regional registries and hand them out through DHCP, PPPoE or fixed assignments, often for a limited lease. Scarcity has pushed many providers to share IPv4 addresses with CGNAT, while IPv6 gives customers whole prefixes. Understanding which method you have explains why your address changes, why port forwarding fails and what your options are.
Frequently asked questions
Why did my IP address change overnight?
Your lease may have expired after a power cut, the provider may have reset your session or the network may have been reconfigured.
Can I choose my IP address?
Not on a standard plan. Many providers sell a static address as an option for customers who need one.