From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Tue, 30 Sep 2003 13:42:31 +0000 Subject: [LARTC] Problems setting up routing for multiple links Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi All, I am trying to setup Routing on my Bering Firewall to allow connections to two providers, as well as maintaining inbound connections to web servers hosted in a dmz. I have been adding the commands as described on the web site section 4.2.1, but find that the line shown with an * generate a file already exists. ip route add $P1_NET dev $IF1 src $IP1 table T1 ip route add default via $P1 table T1 ip route add $P2_NET dev $IF2 src $IP2 table T2 ip route add default via $P2 table T2 * ip route add $P1_NET dev $IF1 src $IP1 * ip route add $P2_NET dev $IF2 src $IP2 ip route add default via $P1 ip rule add from $IP1 table T1 ip rule add from $IP2 table T2 ip route add $P0_NET dev $IF0 table T1 ip route add $P2_NET dev $IF2 table T1 ip route add 127.0.0.0/8 dev lo table T1 ip route add $P0_NET dev $IF0 table T2 ip route add $P1_NET dev $IF1 table T2 ip route add 127.0.0.0/8 dev lo table T2 I am using the up command to add these to the /etc/networks/interface file. I believe I will need further routes for the dmz, but need to understand the first failure before moving onto this issue. Any help on this would be much appreciated. Regards, Simon Chalk. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/