On Fri, 2002-10-11 at 23:25, Doug MacFarlane wrote: > On 11 Oct 2002, 18:20:19, Crispin Wellington wrote: > > > When you put gw: in your interfaces thats the *default* gateway. That > > is, the host to send it to if no route matches. Set it up something like > > this. > > > > interface eth0: > > 210.182.232.22 > > gw: 210.182.232.1 > > > > interface eth1: > > 192.168.0.12 > > *no gateway* > > > > then... > > > > route add -net 10.1.14.0 netmask 255.255.255.0 gw 192.168.0.12 dev eth1 > > This is close to right. > > Leave the "Internal" ethernet interface without a default gateway, and add > a route, but it should be: > > route add -net 10.1.14.0 netmask 255.255.255.0 gw 192.168.0.1
Shit. Sorry. 192.168.0.1, not .0.12. .0.12 is the ip bound to interface eth1, so your just get a routing loop. So use Doug's route Crispin
signature.asc
Description: This is a digitally signed message part