This is Interesting: Free IT Magazines  
Home > Archive > Miscellaneous Internet Protocols > December 2004 > How to test static routing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to test static routing
p.j.le.r@virgin.net

2004-12-17, 5:45 pm

I've been playing around with static routing on a RAS server, and I
think I understand routing pretty well, but even so, a certain little
utility which I've never seen or heard of would be extreemly useful:

What I want is a tool which takes an IP address and tells me which
interface it would be sent out of, and to which next-hop gateway. (It
should call the appropriate kernel routines, not simply try to
replicate their logic, since Bill's code sometimes seems to look at the
routing table then do its own thing - see KB articles on registry
setting PriorityBasedOnSubnetMask for evidence).

Alternatively, a version of ping which said which interface the packets
went through, and to what gateway they were sent, would do just as
well.

(Ethereal might help, except that I don't think it works on PPP links.
Traceroute ought to tell you, but it only says anything useful about
nodes it successfully reaches - what I need to know is where it was
going when it got lost.)

Does such a tool exist? Or do the APIs exist to enable it to be written
as a stand-alone utility or as an enhancement of ping or traceroute?
I'm interested in Windows platforms at present, but I'd keep it handy
if I had it for use on unix.

- Philip

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com