LinuxQuestions.org
Review your favorite Linux distribution.
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 06-02-2010, 12:13 PM   #1
ridingthestorm
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian, FreeBSD
Posts: 21

Rep: Reputation: 0
Best way for backing up availability of a server?


Hi,

At my work, we have an ISP that provides us with 2 connections with different IP addresses but at the moment they don't switch automatically if one fails, and can only work for outbound traffic.

I tried to automate this with floating routing table on a CISCO 1711 router but then switching to the second link only happens when there's no longer a signal on the cable that's plugged into the router's interface directly -- and the failure most often happens somewhere in the middle. And that also does not make us available from outside.

Can anyone suggest a better way? Maybe an outside DNS server can have a second IP address recorded for our domain name?

I found somewhere suggestions that a loadbalancer could solve that but these appliances are way too expensive.

I also thought about using BGP but my router's RAM (128MB) is too small for the global routing table that BGP requires. And I also need an ISP (or better 2 ISPs) that provide BGP service. Before trying to convince others that we need to invest more into this, I'd like to know whether there are no easier ways.

So, what would you suggest?
 
Old 06-02-2010, 12:18 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Here are some links that might be of interest:
Load Balance Failover MultiWAN
Linux Failover Router
Never done something like this myself so can not elaborate.

Hope it helps.

Kind regards,

Eric
 
Old 06-02-2010, 03:09 PM   #3
ridingthestorm
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian, FreeBSD
Posts: 21

Original Poster
Rep: Reputation: 0
Thank you, the articles look promising, I'll read them.
 
Old 06-02-2010, 03:11 PM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

You're welcome, I hope they can provide a solution for you. I'd appreciate it if you could post your findings and/or results here too. That way others that face the same problem/question can take advantage of your experiences.

Kind regards,

Eric
 
Old 06-03-2010, 01:49 AM   #5
ridingthestorm
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian, FreeBSD
Posts: 21

Original Poster
Rep: Reputation: 0
So, I read these. The "Using a Linux failover router" at linux.com seems to suggest a solution where a router reacts on the availability of immidiate connection, which, as I already told, I have done (though in different ways) with my router, and which is not enough because the problems usualy are somewhere in the ISP's networks.

"Load Balancing & Failover With Dual/ Multi WAN / ADSL / Cable Connections on Linux" and its followup "How To Configure Dual ADSL / Cable Connections, Firewall, Gateway / NAT With Shorewall Firewall on Linux" would perhaps be ideal if only outbound traffic was the concern.

So I'm still looking for solutions.
 
Old 06-03-2010, 09:37 AM   #6
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 269

Rep: Reputation: 54
I would attack this from a network (Cisco) perspective rather than a Linux one.

You say you have a single ISP providing two circuits, each with a dedicated IP(s), and most times you find the problem to not be directly with hardware in your office. What is the handoff type (T1, Ethernet, etc.)? My concern would be if you have two circuits going to the same ISP core if they are having routing problems in the cloud both connections would be impacted.

What services do you have with inbound connections? Something like email will be easy to setup using two different IPs (just add a second MX record pointing to a different IP that ultimately NATs to the same server). Web service is more difficult because if DNS has multiple IPs for a site some users will get the IP which is down at times.

Also just an FYI BGP doesn't require that you do a full routing table. You can use BGP to advertise a network (most carriers want a /24 for this) through multiple different ISPs for redundancy. You can accept only a default route inbound and let your ISP route traffic for you.
 
Old 06-06-2010, 06:37 PM   #7
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
Quote:
Originally Posted by ComputerErik View Post
Web service is more difficult because if DNS has multiple IPs for a site some users will get the IP which is down at times.
DNS will provide all the IP addresses, and modern web browsers will try every address until connection is successful. If no response is received (rather than an ICMP error) this will take a long time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware (12.2/13) as a High Availability NAS Server zordrak Slackware 10 12-08-2009 03:26 AM
iscsi server with high availability aclhkaclhk Linux - Server 1 08-15-2009 09:07 PM
High Availability Web Server fw12 Linux - Server 2 11-22-2006 11:31 PM
LXer: PolyServe Matrix Server Certified with Novell GroupWise for Improved E-Mail Server Manageability and Availability LXer Syndicated Linux News 0 02-17-2006 10:31 AM
High availability samba server? jedimastermopar Linux - General 2 05-10-2005 07:46 AM

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

All times are GMT -5. The time now is 04:32 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