What does ASN mean in an IP address?

203 views

Does everyone have their own ASN? How does it work?

In: 7

2 Answers

Anonymous 0 Comments

So ICANN assigns ISPs an Autonomous System Number, or ASN. When an ISP is assigned blocks of IP addresses, they get associated to the ASN. Using Border Gateway Protocol, or BGP, ISP’s border routers announce to other border routers that “Hey! If you’re trying to find how to get to this IP address, I’m the one who has it!”, which allows the automatic creation of routing tables. They can then associate the IP address with the ASN who owns it and figure out how to get there by looking up on their routing tables which steps, or hops, need to be taken to get there.

This is simplified, but this is also ELI5 so… Yeah.

EDIT: since I feel like you might ask, there technically isn’t anything that prevents a rouge ASN announcement, as in someone setting up BGP to announce that they own IPs they really don’t. When this happens and becomes a problem, it usually ends up getting researched by network admins who then figure out the true owner(s) and either manually write a BGP entry for it or block the rouge ASN announcing it, depending on the situation. This is not unprecedented. [Here is an article talking about it.](https://www.secplicity.org/2019/01/14/bgp-hijacking-in-a-nutshell/)

You are viewing 1 out of 2 answers, click here to view all answers.