Link to home
Start Free TrialLog in
Avatar of akaltz
akaltz

asked on

redhat 5.2 traceroute concerns

Hello,
I have a machine with Red Hat 5.2 that is multi-homed on several different networks. My question is
regarding the traceroute command. Even if you specify an interface using -i, it stills seems to pick
a randomly select interaface to send packets out. Has anybody experienced this before or know of a
traceroute patch or command that I may not be previewed to? I am trying to troubleshoot a routing issue
on this is making it a bit difficult. Also, if you are aware of a site or doc that can provide information
on how Linux (or unix in general) supports networking on multi-homed machines so I can re-check my understanding
that would be great as well.

Thanks
Avatar of ahoffmann
ahoffmann
Flag of Germany image

how do you check which interface it uses?
traceroute uses the interface which needs to be used according to the routing table, usually.
Sorry I don't have RH's traceroute, but mine does not have the -i option.
Avatar of akaltz
akaltz

ASKER

I check which interface to use by looking at the route table.  The -i option specifies the interface you want to send traceroute out of for the test.  For example, if I traceroute to a public address and specify the address it is suppose to go to, it says there are multiple interfaces then uses an interface for a private address, not taking into account the route table.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial