I am here because i am newbie
i have 2 nics to go out (internet conection) and 2 for the internal network (i am using masq).
i need route one machine of my private lan to use a gateway, i donīt know how, i canīt and donīt want update linux (i have redhat with kernel 2.2.16).
see this:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 200.185.178.2 0.0.0.0 UG 0 0 0 eth3
0.0.0.0 200.185.178.100 0.0.0.0 UG 1 0 0 eth2
i want Destination 192.168.2.2 use as a default gw 200.185.178.2
and the other networks use as a default gw the 200.185.178.100
how i can do that? (kernel 2.2.16 with ipchains).