LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-15-2009, 01:19 PM   #1
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 190

Rep: Reputation: 37
Cool [solved] how do I load balance or failover two linux routers to the same ISP


I'm trying to figure out how to take my two linux routers and combine them so if one of the machines go down, the other will take over.

The How-Tos I've seen all focus on a single machine with multiple ISPs where i have two machines with the same ISP (I have multiple IPs with the same ISP)

Fail over is what I am looking for. If i need to restart one router, i still have internet access.

I was thinking about Load Balancing the internal NICs of both routers and use that load balanced IP as the gateway. Would this work or is there a how-to out there for what i am trying to accomplish?

Thanks!

Last edited by Micah; 02-15-2009 at 01:40 PM.
 
Old 02-15-2009, 01:25 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you've not described what else you have other than these two boxes. Essentially you can just do some form of IP takeover if these are both able to be a default gateway. Google for "cheap IP takeover" and you'll get a really useful o'reilly hit. You'd want to do more testing than their example, but the principle stands.
 
Old 02-15-2009, 01:38 PM   #3
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 190

Original Poster
Rep: Reputation: 37
Thanks! This is what i was looking for - I never thought of IP Takeover as a search term =D
 
Old 02-15-2009, 02:25 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
The reason most of the other howtos use two different providers is that it is highly likely if one of your IPs fails with one provider the other IP(same provider) will be effected as well. Using two different providers drastically reduces the chance of both IPs failing simultaneously.
 
Old 02-15-2009, 05:42 PM   #5
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 190

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by lazlow View Post
The reason most of the other howtos use two different providers is that it is highly likely if one of your IPs fails with one provider the other IP(same provider) will be effected as well. Using two different providers drastically reduces the chance of both IPs failing simultaneously.
I understand completely and that is also why i don't need that. I have only 1 ISP, but when I take down my router, my wife gets cranky... I have another router, but to use it i have to change config on a few machines and then I bring up the primary box again so I put everything back...

I'm not doing this for a business, just so I can do more things to my local network without cause downtime to the family.

Also, I found that when I have a power outage, both machines don't always come back on (faulty hardware i suppose). Failover would be nice =D
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi ISP load balancing Skillz Linux - Networking 8 03-13-2012 01:54 PM
load balance 2 adsl gateway routers richard.dunn Linux - Networking 10 08-08-2008 05:39 AM
isp failover zealott Linux - Networking 3 01-27-2007 01:18 PM
Internet Load Balance With 2 ISP and Bondig Driver xrtc Linux - Networking 1 12-06-2005 06:49 AM
Load balance 2 adsl conn. from same ISP? joey_m Linux - Networking 3 02-12-2005 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration