* [LARTC] Dual Internet Connection Routing
@ 2001-12-20 5:59 K M
2001-12-20 8:40 ` bert hubert
0 siblings, 1 reply; 2+ messages in thread
From: K M @ 2001-12-20 5:59 UTC (permalink / raw)
To: lartc
I have two DSL lines in my office. I want to setup a
linux system acting as a firewall and gateway (or
bridge) which will connect the two routers to my
office LAN as shown below. The system will have three
ethernet interfaces: two for the routers and one for
connecting to the LAN through the switch.
+-------------+ +----linux--PC--+
| DSL Router | | |
| static IP |==<>--firewall |
+-------------+ | | +----------+
| <>== LAN Switch
+-------------+ | | +----------+
| DSL Router |==<>--firewall |
| static IP | | |
+-------------+ +---------------+
<> ethernet interfaces
Both the routers have static external IPs. I want the
traffic to be equally divided between the two DSL
lines and in case one of them is down, the other one
should take up the entire load. The linux box will
also function as a firewall. Now how should I go about
configuring the system. Is it feasible to have two
parallel firewalls on the same system ? How do I
configure the routing to meet my requirements.
Thank you,
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [LARTC] Dual Internet Connection Routing
2001-12-20 5:59 [LARTC] Dual Internet Connection Routing K M
@ 2001-12-20 8:40 ` bert hubert
0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2001-12-20 8:40 UTC (permalink / raw)
To: lartc
On Wed, Dec 19, 2001 at 09:59:23PM -0800, K M wrote:
> +-------------+ +----linux--PC--+
> | DSL Router | | |
> | static IP |==<>--firewall |
> +-------------+ | | +----------+
> | <>== LAN Switch
> +-------------+ | | +----------+
> | DSL Router |==<>--firewall |
> | static IP | | |
> +-------------+ +---------------+
Nice ASCII!
The only easy way to do this is to have both DSL routers as default gateway
with the ip nexthop syntax, and do masquerading on both interfaces, and then
add policy routing to make sure that packets in a session that started on
ADSL router 1 *stay* on ADSL router one.
> Both the routers have static external IPs. I want the
> traffic to be equally divided between the two DSL
> lines and in case one of them is down, the other one
> should take up the entire load. The linux box will
This probably requires some CRON magic to detect when a link is down, and
you should then adjust your default gw.
> also function as a firewall. Now how should I go about
> configuring the system. Is it feasible to have two
> parallel firewalls on the same system ? How do I
> configure the routing to meet my requirements.
It is very feasible to have multiple firewalls on one linux machine.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-20 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-20 5:59 [LARTC] Dual Internet Connection Routing K M
2001-12-20 8:40 ` bert hubert
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.