* [LARTC] HOWTO correction re multiple uplinks/providers
@ 2003-02-14 7:42 Rod Roark
0 siblings, 0 replies; only message in thread
From: Rod Roark @ 2003-02-14 7:42 UTC (permalink / raw)
To: lartc
In section 4.2 the HOWTO describes creating new routing
tables, like this:
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
However these tables are incomplete. For example if you
ping $IP1 from a machine on the local network, the echo
reply will never find its way back because T1 contains no
route to the local network.
Similarly, it would be good to add a route for 127.0.0.0/8
in case an application binds to localhost and then wants to
connect to $IP1 or $IP2.
If $P0_NET is the local network and $IF0 is its interface,
the following additional entries are desirable:
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
Cheers,
--
Rod Roark, Sunset Systems http://www.sunsetsystems.com/
Offering preconfigured Linux computers, custom software and
remote system administration services.
Public Key: http://www.sunsetsystems.com/rodspublickey.asc
_______________________________________________
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-02-14 7:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 7:42 [LARTC] HOWTO correction re multiple uplinks/providers Rod Roark
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.