AS number and routing
An ASN is the unique number of a network, and BGP is how networks tell each other where to send traffic.
ASN details
More lookups for 1.1.1.1
What is an ASN?
An ASN (autonomous system number) is a unique number for a network that runs its own routing on the internet, such as an ISP, a cloud provider or a large company. Every public IP is announced by an ASN, so the ASN tells you which network an IP belongs to.
What an ASN tells you
One ASN shows whether an IP belongs to an ISP, a cloud provider, a university or a company. All IPs under the same ASN are run by the same organization, even when they are spread over many ranges and countries.
How ASNs are used
Server admins block a whole ASN when attacks keep coming from one network. Fraud and ad systems treat traffic from cloud ASNs as likely automated. Network engineers use ASNs to plan peering and to trace routing problems.
Some IP location and ASN data: IP Geolocation by DB-IP
Frequently asked questions
How do I find the ASN of an IP address?
Enter the IP address in the ASN lookup. The result shows the AS number, the network name and the IP range the network announces.
What is BGP?
BGP (Border Gateway Protocol) is the routing protocol networks use to tell each other which IP ranges they can reach. Every ASN announces its ranges through BGP, and those announcements decide how traffic crosses the internet.
What is RPKI?
RPKI lets the holder of an IP range publish a signed record, called a ROA, stating which ASN may announce it. Routes are then marked valid, invalid or not found, which helps networks reject hijacked or mistaken announcements.
What is the difference between 16-bit and 32-bit ASNs?
The original AS numbers were 16-bit, allowing up to 65,535 values. When they began to run out, 32-bit AS numbers were introduced, allowing more than four billion. Newer networks usually receive numbers above 65,535.
Can one company have several ASNs?
Yes. Large ISPs, cloud providers and global companies often run separate ASNs for different regions, services or acquired networks.
Can I block traffic by ASN?
Yes. Many firewalls and CDNs can block or challenge traffic from an ASN. Blocking a large ISP ASN also blocks every ordinary customer on that network, so it is mostly used for hosting and cloud networks.
What is PeeringDB?
PeeringDB is a public database where networks publish how and where they connect with other networks. Its records show a network's type, traffic level and peering policy.
What does route visibility mean?
Route visibility is the share of global route collectors that can see a route to the range. Close to 100% means the range is reachable from almost everywhere, while a low share can point to a routing problem.
What is an IP prefix?
A prefix is a block of IP addresses written with a slash, such as 8.8.8.0/24. The number after the slash sets the size: a /24 holds 256 addresses and a /16 holds 65,536.