astraceroute on MAC

Mansoor Nathani mansoor.nathani at mnathani.com
Fri Oct 10 21:30:16 UTC 2014


Hi Anurag

Here is sample output from using the mtr command: the -z flag shows AS
Numbers however, I am not sure where they come from or are looked up.

mtr can be downloaded :
https://code.google.com/p/rudix/downloads/detail?name=mtr-0.82-0.pkg

mtr -4z google.com

x61 (0.0.0.0)

                                                            Fri Oct 10
17:24:21 2014
Keys:  Help   Display mode   Restart statistics   Order of fields   quit


                                            Packets               Pings
 Host

                                          Loss%   Snt   Last   Avg  Best
 Wrst StDev
 1. AS???   10.10.10.10

                                           0.0%     4    0.3   0.4   0.3
0.6   0.0
 2. AS???   7.207.122.129

                                           0.0%     4    8.3   7.1   6.5
8.3   0.6
 3. AS812   209.148.245.53

                                            0.0%     4    8.8  10.0   8.8
 11.1   1.0
 4. AS812   24.153.5.233

                                            0.0%     3    8.8  10.2   8.8
 11.5   1.0
 5. AS5645  ae0_2140-bdr04-tor.teksavvy.com

                                           0.0%     3   12.6  12.1  10.2
 13.6   1.6
 6. AS15169 72.14.212.134

                                           0.0%     3   10.4   9.7   8.2
 10.4   1.0
 7. AS15169 216.239.47.114

                                            0.0%     3   10.1   9.9   9.5
 10.2   0.0
 8. AS15169 209.85.250.207

                                            0.0%     3    9.5  11.0   9.5
 12.9   1.6
 9. AS15169 yyz08s13-in-f2.1e100.net

                                            0.0%     3    9.7   9.8   9.2
 10.3   0.0

And to your IP:

mtr -z 203.122.59.75

x61 (0.0.0.0)

                                                            Fri Oct 10
17:26:32 2014
Keys:  Help   Display mode   Restart statistics   Order of fields   quit


                                            Packets               Pings
 Host

                                          Loss%   Snt   Last   Avg  Best
 Wrst StDev
 1. AS???   10.10.10.10

                                           0.0%     6    0.3   0.3   0.2
0.6   0.0
 2. AS???   7.207.122.129

                                           0.0%     6    8.2   9.0   7.5
 14.4   2.6
 3. AS812   209.148.245.53

                                            0.0%     6   14.0  14.6  10.7
 21.0   3.7
 4. AS812   24.153.5.233

                                            0.0%     6    7.9   9.5   7.9
 10.5   1.0
 5. AS5645  ae0_2140-bdr04-tor.teksavvy.com

                                           0.0%     6    9.8   9.5   8.0
 10.2   0.6
 6. AS6453  ix-0-0-2-0.tcore1.tnk-toronto.as6453.net

                                            0.0%     6    9.4  11.2   9.0
 18.8   3.7
 7. AS6453  if-5-0-0-5.core4.tnk-toronto.as6453.net

                                           0.0%     6   11.2  11.1   9.7
 15.0   1.9
 8. AS6453  if-2-3-2-0.tcore1.ct8-chicago.as6453.net

                                            0.0%     6  118.5 118.7 117.2
122.0   1.8
 9. AS6453  if-12-6.tcore2.nyy-new-york.as6453.net

                                           80.0%     6  118.8 118.8 118.8
118.8   0.0
10. AS6453  if-20-2.tcore2.l78-london.as6453.net

                                            0.0%     6  120.2 116.6 112.9
120.2   3.2
11. AS6453  80.231.131.66

                                           0.0%     6  227.5 228.4 227.5
229.5   0.7
12. AS???   172.29.252.34

                                           0.0%     6  279.2 278.8 277.9
279.2   0.0
13. AS4755  14.141.116.30.static-delhi.vsnl.net.in

                                            0.0%     5  246.0 244.6 243.6
246.0   0.7
14. AS10029 203.122.61.148.reverse.spectranet.in

                                            0.0%     5  246.1 247.7 246.1
249.8   1.5
15. ???
16. ???
17. AS10029 jane.spectranet.in

                                            0.0%     5  247.7 249.1 246.5
257.3   4.6

Mansoor

On Fri, Oct 10, 2014 at 4:45 PM, Anurag Bhatia <me at anuragbhatia.com> wrote:

> Dear Tim and Niels
>
>
> Surely default traceroute in MAC is there but the -a option isn't good. It
> picks data from RADB and not from actually visible prefix in global routing
> table. Hence wrongly registered RADB objects / old objects and more give
> weird output.
>
> E.g take example of trace to one of AS10029's IP's (the company I work
> for...)
>
>
> traceroute to 203.122.59.75 (203.122.59.75), 30 hops max, 60 byte packets
>  1  gw.giga-dns.com (91.194.90.1) [AS51167]  0.332 ms  0.348 ms  0.386 ms
>  2  host-93-104-204-33.customer.m-online.net (93.104.204.33) [AS8767]
>  0.376 ms  0.368 ms  0.358 ms
>  3  xe-2-2-1.r3.muc2.m-online.net (212.18.6.81) [AS8767]  0.748 ms
> xe-2-0-1.r3.muc2.m-online.net (212.18.6.83) [AS8767]  0.639 ms
> xe-2-2-1.r3.muc2.m-online.net (212.18.6.81) [AS8767]  0.731 ms
>  4  DEMUE1IB03.de.en.vodafone.com (80.81.202.17) [AS51531/AS6695]  4.268
> ms
>  4.246 ms  4.238 ms
>  5  85.205.25.114 (85.205.25.114) [AS3209/AS34419]  35.070 ms  35.009 ms
>  35.038 ms
>  6  145.253.33.238 (145.253.33.238) [AS3211]  32.247 ms  31.996 ms  33.534
> ms
>  7  182.19.109.27 (182.19.109.27) [*]  168.699 ms  168.764 ms  168.794 ms
>  8  182.19.15.57 (182.19.15.57) [AS55410]  175.411 ms  175.283 ms  176.044
> ms
>  9  203.122.61.148.reverse.spectranet.in (203.122.61.148) [AS10029/AS7722]
>  173.005 ms  172.216 ms  172.204 ms
> 10  * * *
> 11  * * *
> 12  * * *
>
>
>
> Here I am getting  203.122.61.148.reverse.spectranet.in (203.122.61.148)
> [AS10029/AS7722] in 9th hop. Now prefix is announced by AS10029 only but it
> shows AS7722 as well because there's a route object in RADB from Rivernet
> AS7722 in 2006.
>
>
> route:      203.122.61.0/24
> descr:      Rivernet
> origin:     AS7722
> mnt-by:     MAINT-AS7474
> changed:    noc at optus.net.au 20060120
> source:     RADB
>
>
>
> I wish to see origin ASN of a prefix which is why looking for that tool.
>
>
> Thanks.
>
> On Fri, Oct 10, 2014 at 7:21 PM, Niels Bakker <niels=nanog at bakker.net>
> wrote:
>
> > * me at anuragbhatia.com (Anurag Bhatia) [Fri 10 Oct 2014, 14:59 CEST]:
> >
> >> Was wondering if anyone got the astraceroute tool working on MAC?
> >>
> > [..]
> >
> >> Does anyone knows any other alternate similar tool?
> >>
> >
> > Why bother when the supplied traceroute supports -a already?
> >
> >
> >         -- Niels.
> >
> > --
> >
>
>
>
> --
>
>
> Anurag Bhatia
> anuragbhatia.com
>
> Linkedin <http://in.linkedin.com/in/anuragbhatia21> | Twitter
> <https://twitter.com/anurag_bhatia>
> Skype: anuragbhatia.com
>
> PGP Key Fingerprint: 3115 677D 2E94 B696 651B 870C C06D D524 245E 58E2
>



More information about the NANOG mailing list