Daniel D Jones wrote:
On Sunday 15 July 2007 05:58, koffiejunkie wrote:
Daniel D Jones wrote:
On a dual-homed ping, is it possible to ping one IP address from the
other address and force the packet to go out the interface and travel
through the network?  Using -I to source the packet does not work, and
turning off ip_forward does not seem to make a difference.
http://lartc.org/lartc.html#LARTC.RPDB.MULTIPLE-LINKS

Thanks for the link but it isn't clear to me how this is relevant to what I'm attempting to do. I have two interfaces: eth1 172.16.100.101 and eth2 172.16.200.101.

My apologies, I assumed you had two ISP connections. I wrongly assumed ping would behave the same as traceroute. I just checked on my desktop, which has two interfaces on different networks, eth0 on a 10.0.x.x network, and the eth1 being 192.168.0.1.

ping -I eth0 192.168.0.1 works

but

traceroute -i eth0 192.168.0.1 shows the traffic going out via my default route on the 10.0.x.x network.

I was sure I've done this with two ISP connections before, but seeing how ping behaves differently from traceroute, I'm now unsure. What I do remember is doing a traceroute from the one interface to the other and seeing that it does in fact go out the one interface, all the way through the internet and back into the other.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to