multiple internet connections and routing
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
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. ;-)
Quoted 28 lines · Paul van den Bogaard
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 SIGNED MESSAGE-----
Hash: SHA1
hope this link work for you:
http://tetro.net/misc/multilink.html
Quoted 14 lines · Edmundo Carmona
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
Quoted 36 lines
Oh... and consider posting in the larct mail list, cause I think it's "fitter" there. :-)... you're welcome. ;-)
Quoted 28 lines · Paul van den Bogaard
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-----