On 11/30/13 1:18 AM, Lee Clark wrote:
The traceroute variant included with CentOS 6.4 & Mint 13 has an -A flag which does ASN lookups. ntraceroute on FreeBSD supports it as well. I believe the Linux port is traceroute-nanog.
Lee
traceroute -A consults the internet routing registry which is know to beincomplete and at times incorrect when it comes to IP to BGP origin AS mapping. For this reason we developed riswhois.ripe.net, a whois style interface to the BGP data collected by RIPE NCC's Routing information service (http://www.ripe.net/data-tools/stats/ris) Reporting in the same format as the IRR, riswhois is plugin compatible with whois.radb.net. If your linux traceroutederives from http://traceroute.sourceforge.net/ all it takes to switch to using true BGP info in traceroute is setting the environment variable RA_SERVER to "riswhois.ripe.net" -- Rene P.S. the LFT tool metioned earlier in this thread can also use RISwhois to lookup ASNs; just pass it the -r option on the command line.
[user@box ~]# traceroute -V Modern traceroute for Linux, version 2.0.14, Nov 11 2010 Copyright (c) 2008 Dmitry Butskoy, License: GPL v2 or any later
[user@box ~]# traceroute -A www.google.ca traceroute to www.google.ca (74.125.226.127), 30 hops max, 60 byte packets <snip> 6 72.14.197.33 (72.14.197.33) [AS15169] 73.927 ms 69.254 ms69.305 ms 7 209.85.254.130 (209.85.254.130) [AS15169] 69.436 ms 209.85.254.122 (209.85.254.122) [AS15169] 79.554 ms 64.269 ms 872.14.237.130 (72.14.237.130) [AS15169] 64.979 ms 65.975 ms 209.85.254.238 (209.85.254.238) [AS15169] 66.700 ms 9216.239.46.161 (216.239.46.161) [AS15169] 71.293 ms 72.251 ms73.521 ms 10 209.85.250.207 (209.85.250.207) [AS15169] 74.454 ms 74.920 ms 75.889 ms 11 yyz08s13-in-f31.1e100.net (74.125.226.127) [AS15169] 76.628 ms 77.105 ms 70.928 ms
-----Original Message----- From: John Conner [mailto:bs7799@gmail.com] Sent: Friday, November 29, 2013 5:04 PM To: nanog@nanog.org Subject: bgp traceroute tool?
Hi there, is there any tools available under linux which can do bgp traceroute? (print bgp AS numbers for each traceroute hop ) , i googled and found nothing.
thanks
John