Calculating an ASNs IP Space
I couldn’t think of a good easy way to save a bunch of telnet addresses so I’m just going to blog them. I’m using BGP tables to calculate the theoretical IP space a given ASN has. I parse the table and use the CIDR notation to calculate how big the space can be and then tally each AS Number. It’s a useful metric for an analysis I’m conducting on the infection rate of badware however BGP tables differ from router to router. So I was finally pointed to a “looking glass” page which had a nice collection of public interfaces I could dump from!
BGP Route Servers (telnet access)
- RouteViews Project (collection)
- ATT Route Server (AS7018)
- CerfNet Route Server (AS1838)
- Colt Internet Route Server (AS8220)
- Exodus Communications USA Route Server (AS3967)
- Global Crossing Route Server (AS3549)
- Group Telecom Route Server (AS6539)
- Hurricane Electric Route Server (AS6939)
- Oregon Exchange Route Server (AS3582)
- Planet Online Route Server (AS5388)
- SAVVIS Communications Route Server (AS3561)
- SixXS GRH Route Server (SixXS IPv6 Project)
- TELUS Eastern Canada Route Server (AS852)
- TELUS Western Canada Route Server (AS852)
- Tiscali Route Server (AS3257)
While I’m taking notes for myself, the command to disable paging is:
‘term length 0’
and the command to dump the table is:
‘show ip bgp’
Post a Comment
You must be logged in to post a comment.