Hi Chris,
Thanks for immediate reply...
Here is the my default routing table:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.67.7.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Then I deleted routing table entry for 10.0.0.1 and 10.67.7.1 and added same routing table entry with gateway as other interface ip address(Because it ahs mtric '0', no more I can do lower than that
)
ex: route add -net 10.67.7.1 netmask 255.255.255.0 gw 10.0.0.1 maetric 0 dev ppp1
route add -net 10.0.0.1 netmask 255.255.255.0 gw 10.67.7.1 maetric 0 dev ppp0
when I ping 10.0.0.1, it stll does not go out of interface, it loopbacks from IP layer itself.
I can see 'lo' interface Rx/TX bytes increasing..
later I disabled lo interface (ifdown lo), ping is not going any where.
Hope this will clarifies.
Refer my first mail for my setup, it's a tricky setup.
Summary: Basically my aim is, even if I ping my local interface address(10.0.0.1), it should send my packet to out of interface to ethernet cable.
Thanks,
Raj