From: <zen...@ze...> - 2003-09-30 16:04:14
|
Hi All,=20 I am trying to setup Routing on my Bering Firewall to allow connections t= o two providers, as well as maintaining inbound connections to web server= s hosted in a dmz. I also use ipsec to link to another network. I have been adding the commands as described on the LARTC web site=20 http://lartc.org/howto/lartc.rpdb.multiple-links.html I am adding these to /etc/netowkrs/interfaces using the up command. But find that the line shown with an * generate a file already exists. So= it sounds as though I am trying to add a route that has already been cre= ated somewhere in Bering. ip route add $P1_NET dev $IF1 src $IP1 table T1=20 ip route add default via $P1 table T1=20 ip route add $P2_NET dev $IF2 src $IP2 table T2=20 ip route add default via $P2 table T2=20 * ip route add $P1_NET dev $IF1 src $IP1=20 * ip route add $P2_NET dev $IF2 src $IP2=20 ip route add default via $P1=20 ip rule add from $IP1 table T1=20 ip rule add from $IP2 table T2=20 ip route add $P0_NET dev $IF0 table T1=20 ip route add $P2_NET dev $IF2 table T1=20 ip route add 127.0.0.0/8 dev lo table T1=20 ip route add $P0_NET dev $IF0 table T2=20 ip route add $P1_NET dev $IF1 table T2=20 ip route add 127.0.0.0/8 dev lo table T2=20 I also believe I will need further routes for the dmz, but need to unders= tand the first failure before moving onto this issue.=20 Any help on this would be much appreciated.=20 Regards,=20 Simon Chalk.=20 |