[167095] in North American Network Operators' Group
Re: bgp traceroute tool?
daemon@ATHENA.MIT.EDU (Jason Canady)
Sat Nov 30 21:04:55 2013
In-Reply-To: <DEC7B9A1-9C3B-4631-911A-94DC47AB6E2B@lixfeld.ca>
From: Jason Canady <jason@unlimitednet.us>
Date: Sat, 30 Nov 2013 21:04:40 -0500
To: Jason Lixfeld <jason@lixfeld.ca>
Cc: "nanog@nanog.org" <nanog@nanog.org>, John Conner <bs7799@gmail.com>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
I agree, ASN lookup in mtr would be awesome! I'll have to look into that so=
metime.=20
Jason
On Nov 30, 2013, at 19:58, Jason Lixfeld <jason@lixfeld.ca> wrote:
> It would be slick if someone could patch mtr to do this too.
>=20
> Sent from my iPhone
>=20
>> On Nov 30, 2013, at 7:19 PM, Rene Wilhelm <wilhelm@ripe.net> wrote:
>>=20
>>=20
>>> 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.
>>>=20
>>> Lee
>>=20
>> 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)
>>=20
>> 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"
>>=20
>>=20
>> -- Rene
>>=20
>> 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.
>>=20
>>=20
>>>=20
>>>=20
>>> [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
>>>=20
>>> [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
>>>=20
>>>=20
>>> -----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?
>>>=20
>>> 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.
>>>=20
>>> thanks
>>>=20
>>> John
>=20