IP addresses and ASNs · 01 How it works

IP addresses and ASNs: how it works

How IP address allocation works: IPv4 and IPv6, IANA and regional registries, operators and assignees, autonomous systems and BGP announcements, dynamic addresses and shared NAT.

From IANA to the user

LevelRoleExample
IANADistributes large blocks to the regional registriesGlobal coordination
Regional registriesAssign addresses and ASNs in their areaRIPE NCC for Europe, the Middle East and part of Central Asia; ARIN, APNIC, LACNIC, AFRINIC
Operators and providersReceive blocks and use them or assign them to customersTelecom operators, hosting, cloud
End usersUse an address, fixed or dynamicSubscribers, companies, servers

Two families of addresses

IPv4 addresses are 32-bit, about 4.3 billion in all, and are now exhausted; IPv6 addresses are 128-bit and practically unlimited. To make IPv4 go further many operators use shared NAT: hundreds of customers go out to the Internet with the same address, distinguished only by the port used at that moment.

Autonomous systems and BGP

The Internet is a network of networks. Each autonomous system announces to its neighbours, with the BGP protocol, the address blocks it reaches; public announcements show which network “owns” an address and which other networks it connects to.

Continue with
02 Technique

IP addresses and ASNs: technique

The technique for analysing an IP address: identification, querying the regional registry, ASN and prefix, reverse resolution and hosted domains, cautious geolocation, reputation, history, links.

↑