I already setup several 2 gateways boxes, with rules too decide which lan
should use which gateway.
Now I'm stuck with a simpler problem. At home I was just making some
experimental setup:
* 1 adsl (ppp0)
* 1 more tables in rt_tables (200 ping) called "bluff"
* table 'bluff *has not* a default route
[EMAIL PROTECTED] root # ip ro li table bluff
192.168.5.0/24 dev eth1 scope link
* ip rule add from 192.168.5.2 table bluff prio 50
[EMAIL PROTECTED] root # ip ru li
0: from all lookup local
50: from 192.168.5.0/24 lookup bluff
32766: from all lookup main
32767: from all lookup default
Now I would think that pinging from 192.168.5.2 outside the LAN should not
work and in fact:
[EMAIL PROTECTED] root # ip ro get 62.207.143.51 from 192.168.5.2
RTNETLINK answers: Invalid argument
but if I try I can flawlessly get out. Is this related to SNAT? In my opinion
that should come afterwords since SNAT in in the POSTrouting chain.
Any hints? TYA
sandro
*:-)
--
Sandro Dentella *:-)
e-mail: [EMAIL PROTECTED]
http://www.tksql.org TkSQL Home page - My GPL work
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/