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

LFT should do.

http://pwhois.org/lft/

Mike

beyond awesome!

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

[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 ms 69.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
8 72.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
9 216.239.46.161 (216.239.46.161) [AS15169] 71.293 ms 72.251 ms 73.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

even the basic traceroute util with show AS with the -A flag. I actually
can't remember any of the tracing tools which don't support it, offhand.

Yep.

Tracepath is a nice tool as well

Indeed - while lft is not IPv6 enabled.

Antonio Querubin
e-mail: tony@lavanauts.org
xmpp: antonioquerubin@gmail.com

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.

It would be slick if someone could patch mtr to do this too.

I agree, ASN lookup in mtr would be awesome! I'll have to look into that sometime.

Jason

It's in mtr as of v0.83.

Antonio Querubin
e-mail: tony@lavanauts.org
xmpp: antonioquerubin@gmail.com

It would be slick if someone could patch mtr to do this too.

It's in mtr as of v0.83.

Unfortunately not in winmtr.

-Hank

(Getting caught up after a few weeks elsewhere)

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"

Is there likely to be a scaling issue if everybody on NANOG does that?

Or what if a large(ish) Linux distro does that by default?