All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Trying to understand Routing for muliple networks
@ 2003-10-01 11:52 zen30267
  0 siblings, 0 replies; only message in thread
From: zen30267 @ 2003-10-01 11:52 UTC (permalink / raw)
  To: lartc

Hi All,

I am trying to understand how to setup routing for multiple uplinks using a Bering firewall.

Using this document

http://lartc.org/howto/lartc.rpdb.multiple-links.html

1) Am I correct in that I can safely leave out these commands, since these routes are automatically setup by Bering?

ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2

2) I am also struggling to understand which of the commands are responsible for ensuring that packets arriving on one interface, are equally returned on the same interface.

Is it achieved by this?

ip rule add from $IP1 table T1
ip rule add from $IP2 table T2

or this?

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

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-10-01 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 11:52 [LARTC] Trying to understand Routing for muliple networks zen30267

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.