* [LARTC] Problems setting up routing for multiple links
@ 2003-09-30 13:42 zen30267
0 siblings, 0 replies; only message in thread
From: zen30267 @ 2003-09-30 13:42 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-30 13:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-30 13:42 [LARTC] Problems setting up routing for multiple links zen30267
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox