Linux.com

Home Linux Community Forums Hardware Networking Multiple ADSL internet connections one pc one lan

Multiple ADSL internet connections one pc one lan

Link to this post 01 Feb 10

Hello
I have the following situation

I........isp1 (192.168.1.1) ---------->eth0 |-------------------|...................................internal Lan
N.................................................................|..........................|
T........isp2 (192.168.2.1)---------->eth1 |...........................|.............................................------10.1.1.2
E ................................................................| ubuntu PC...... |--------> eth4 10.1.1.1
R ..... isp3 (192.168.3.1)--------->eth2 |.......................... |............................................-----10.1.1.3 .....
E ............................................................... | ...4 nics ..........|
T........isp4 (192.168.4.1)---------->eth3 |--------------------|

I want to connect my internal lan pc's (about 30-40 of them) via my ubuntu router (4 network cards) and to be able to bond or- aggregate or manage or (anything else anyway to use) the 3 or 4 internet connections. The ip's 192.168.1.1, 2.1, 3.1, 4.1 are from the ADSL routers witch are the gateways for 4 internet connections with the same ISP. I want my internal lan to has ip 10.xx.xx.xx
I have done the router with 1 internet connection with ubuntu 7.10 server and iptables.....
I have read the following guides with no success .....
http://www.netlife.co.za/content/view/12/34/
http://www.linux.com/archive/feature/113988
http://www.michaelbrumm.com/how-to-a...bandwidth.html
http://minez-inspirate.blogspot.com/...ter-using.html
http://www.linuxquestions.org/linux/..._Multiple_DSLs
http://chris.olstrom.com/blog/howto/setup-dual-wan/
Please help .....

Link to this post 06 Feb 10

If you already have a working iptables config that is forwarding your packets, you should be able to just manually add 4 equal cost default routes to the Ubuntu machine's routing table.

I'm not entirely clear on what your problem actually is. Is the problem that the machine is not using your 4 routers and only 1 of them, or is the problem with the iptable configration?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board