Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: scripts to map IP to AS?

  • From: Stephen Gill
  • Date: Fri Feb 21 02:50:47 2003

Hi Johannes,

] > Anybody have a pointer to scripts to map IP to AS? 

] Grab a routing table snapshot from the routeviews archive and run it 
] through parse_bgp_dump from CAIDA's CoralReef package. Then use 
] CAIDA::ASFinder or Net::Patricia to do the lookups.

In fact I have 2 scripts to do just this.  

- Script #1 uses a route-server for a smallish list of IPs.
- Script #2 uses the method listed above and pipes IPs into the CAIDA
lookup tree of a BGP table offline.  Once you've installed CoralReef
it's really not much more work to get the customization you need for
lookups.

Contact me off-list if you're interested in either one.

Cheers,
-- steve





Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.