Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Checking my default gateway

by claree0 (Hermit)
on Aug 20, 2001 at 13:33 UTC ( [id://106160]=note: print w/replies, xml ) Need Help??


in reply to Checking my default gateway

How about using Net::Traceroute and using the output to give you the default GW?

Clare

Replies are listed 'Best First'.
Re: Re: Checking my default gateway
by Piercer (Beadle) on Aug 20, 2001 at 13:36 UTC
    Sounds good, I'll try it out. Thanks
      net:traceroute doesn't seem to support Windoze - however I found Net::GrpNetworks which looks like it should do the trick. Cheers.
        The command is called tracert in windoze

        TIMTOWTDI
        Just to clarify which I didn't really have time to do yesterday. GrpNetworks Doesn't actually give you the gateway of the machine. It actually replaces about 4 steps of the program - one of which is getting the gateway. :) Runs loads faster than what I had written too (big surprise)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://106160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-18 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found