I've the following rules defined:
ninja11@root$ ip ru list
0: from all lookup local
32764: from all iif eth0 lookup 2
32766: from all lookup main
32767: from all lookup 253
ninja11@root$
and I've the following route set:
ninja11@root$ ip ro list table 2
default via 65.11.15.193 dev eth0
ninja11@root$
and I don't want to use the default route with gateway 65.11.15.193.
I did a "ip ro flush cache", but I still can't ping my host.
Did I miss anything? The situation is so simple: I just want all packets
from eth0 goes back thru eth0. I'm a iproute2 newbie, so there must be
something I didn't do right. I know if I add the default route via
65.11.15.193, it'll work but it defeats my whole purpose: packet goes
back thru the same NIC it came in.
Any help appreciated!
-Weimin
|