All of lore.kernel.org
 help / color / mirror / Atom feed
* multiple internet connections and routing
@ 2005-12-19 10:35 Paul van den Bogaard
  2005-12-19 15:06 ` Edmundo Carmona
  0 siblings, 1 reply; 3+ messages in thread
From: Paul van den Bogaard @ 2005-12-19 10:35 UTC (permalink / raw)
  To: netfilter

Hi,

currently I have two firewalls. Each firewall connects its own internal
network to the Internet using its own single (broadband) connection.

This means I have two similar setups running in parallel

I would like to do this all on a single firewall. Not sure how to go there.

Result should be one firewall doing NAT, such that

	all trafic from/to network 10.1.5 (interface eth1) should go interface
eth0 (internet gateway 1)
	all trafic from/to network 10.1.6 (interface eth2) should go to
interface eth3 (internet gateway 2)

	If one of the internet gateways is unable to operate (provider failure,
routing error up stream) I should be able to temporarely route all
traffic to the other internet gateway.

How to configure the box?

Help, links etc are very much appreciated.

Thanks
Paul van den Bogaard


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: multiple internet connections and routing
  2005-12-19 10:35 multiple internet connections and routing Paul van den Bogaard
@ 2005-12-19 15:06 ` Edmundo Carmona
  2005-12-19 15:49   ` Mikado
  0 siblings, 1 reply; 3+ messages in thread
From: Edmundo Carmona @ 2005-12-19 15:06 UTC (permalink / raw)
  To: netfilter

You set ip to use separate routing tables.

with iproute2 you can use different routing tables for different traffic.

You can tell ip to use a routing table X (which only has a single
default GW using one of your wan links) for traffic coming from LAN x,
and to use routing table Y (which only has a default gateway using the
other wan link) for traffic coming from lan y. That should do.

Guidelines:
http://lartc.org/howto/lartc.rpdb.html
This is interesting too:
http://lartc.org/howto/lartc.rpdb.multiple-links.html

Oh... and consider posting in the larct mail list, cause I think it's
"fitter" there. :-)... you're welcome. ;-)

On 12/19/05, Paul van den Bogaard <paul@vdbogaard.com> wrote:
> Hi,
>
> currently I have two firewalls. Each firewall connects its own internal
> network to the Internet using its own single (broadband) connection.
>
> This means I have two similar setups running in parallel
>
> I would like to do this all on a single firewall. Not sure how to go there.
>
> Result should be one firewall doing NAT, such that
>
>         all trafic from/to network 10.1.5 (interface eth1) should go interface
> eth0 (internet gateway 1)
>         all trafic from/to network 10.1.6 (interface eth2) should go to
> interface eth3 (internet gateway 2)
>
>         If one of the internet gateways is unable to operate (provider failure,
> routing error up stream) I should be able to temporarely route all
> traffic to the other internet gateway.
>
> How to configure the box?
>
> Help, links etc are very much appreciated.
>
> Thanks
> Paul van den Bogaard
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: multiple internet connections and routing
  2005-12-19 15:06 ` Edmundo Carmona
@ 2005-12-19 15:49   ` Mikado
  0 siblings, 0 replies; 3+ messages in thread
From: Mikado @ 2005-12-19 15:49 UTC (permalink / raw)
  To: Edmundo Carmona; +Cc: netfilter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hope this link work for you:
http://tetro.net/misc/multilink.html

Edmundo Carmona wrote:
> You set ip to use separate routing tables.
> 
> with iproute2 you can use different routing tables for different traffic.
> 
> You can tell ip to use a routing table X (which only has a single
> default GW using one of your wan links) for traffic coming from LAN x,
> and to use routing table Y (which only has a default gateway using the
> other wan link) for traffic coming from lan y. That should do.
> 
> Guidelines:
> http://lartc.org/howto/lartc.rpdb.html
> This is interesting too:
> http://lartc.org/howto/lartc.rpdb.multiple-links.html
> 
> Oh... and consider posting in the larct mail list, cause I think it's
> "fitter" there. :-)... you're welcome. ;-)
> 
> On 12/19/05, Paul van den Bogaard <paul@vdbogaard.com> wrote:
> 
>>Hi,
>>
>>currently I have two firewalls. Each firewall connects its own internal
>>network to the Internet using its own single (broadband) connection.
>>
>>This means I have two similar setups running in parallel
>>
>>I would like to do this all on a single firewall. Not sure how to go there.
>>
>>Result should be one firewall doing NAT, such that
>>
>>        all trafic from/to network 10.1.5 (interface eth1) should go interface
>>eth0 (internet gateway 1)
>>        all trafic from/to network 10.1.6 (interface eth2) should go to
>>interface eth3 (internet gateway 2)
>>
>>        If one of the internet gateways is unable to operate (provider failure,
>>routing error up stream) I should be able to temporarely route all
>>traffic to the other internet gateway.
>>
>>How to configure the box?
>>
>>Help, links etc are very much appreciated.
>>
>>Thanks
>>Paul van den Bogaard
>>
>>
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDptaemS/zF9V69ugRArjkAJ4tP3vsSn9ovmoB0ORrLq7/TqLDUACdGMfe
fS6MaL5amVRE/H1yFyquXxs=
=tD4i
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-19 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-19 10:35 multiple internet connections and routing Paul van den Bogaard
2005-12-19 15:06 ` Edmundo Carmona
2005-12-19 15:49   ` Mikado

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.