in reply to AS Number lookup in Win32

I think I am probably missing the point but in response to...

2. Is there a Win32 CLI version of the tcp traceroute available?

I'd have thought the answer was tracert?

C:\WINNT>tracert appgbmk001

Tracing route to appgbmk001.europe.unity 158.67.87.22 over a maximum of 30 hops:

1 10 ms <10 ms <10 ms appgbmk001.eu.wang.com 158.67.87.22

Trace complete.


I am a scripter, I know I am only a scripter, but I like scripting and I can't program
If this is wrong please tell me. I'm learning

Replies are listed 'Best First'.
AS Number lookup in Win32
by tekkie (Beadle) on Mar 07, 2003 at 15:46 UTC
    The Win32 version of tracert is UDP and does not return the AS numbers

    I wish it were that simple :)
      I see. I did think I was missing the point but incase it was a *nix person asking I thought I'd venture something.

      Can I ask what an AS number is? I'm intrigued and wouldn't mind doing some searching.
        ASN stands for 'Autonomous System Number.' An AS is a connected group of IP nets that share a single routing policy. The ASN is a globally unique number used to identify the AS, and also used to share routing information with its peers.

        And I'm bipartisan when it comes to OS, but the application will be based on Win32, so that puts a number of limitations on the project.

        I had no idea either, but I found this and this on the net.


        Examine what is said, not who speaks.
        1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
        2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
        3) Any sufficiently advanced technology is indistinguishable from magic.
        Arthur C. Clarke.
      The only traceroute program I am aware of that returns ASN's is the Nanog Traceroute
      which is not avialable as a Windows product
      I did some searching and I was unable to find a comparable CPAN module to do the similar function but you might try looking at the source to see if there is anything of use.