Google Groups Home
Help | Sign in
Link failover with ping
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Tom  
View profile
 More options Jul 3, 8:11 am
Newsgroups: comp.os.linux.networking
From: Tom <tomlob...@gmail.com>
Date: Thu, 3 Jul 2008 05:11:36 -0700 (PDT)
Local: Thurs, Jul 3 2008 8:11 am
Subject: Link failover with ping
Hello all!

I`m finding docs/examples about this subject. After some googling,
I only found basic scripts. For me, these simple scripts available
only works with excellent links (dedicated ones).

The load balancing part of the problem already was solved with
LARTC howto. DGD patch for linux was not a good experience
because it only detects the first hop fail and 90% of these fails
happens after the first hop (e.g. local router as gateway
connected to remote ISP).

I searched for some linux distro with this feature (good failover)
bult-in, but didnt found anything interesting.

I would appreciate pointers to docs, distros (for use as starting
point), examples or even academic research about  the topic.

Thank you,
Tom Lobato


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom  
View profile
 More options Jul 4, 9:55 am
Newsgroups: comp.os.linux.networking
From: Tom <tomlob...@gmail.com>
Date: Fri, 4 Jul 2008 06:55:32 -0700 (PDT)
Local: Fri, Jul 4 2008 9:55 am
Subject: Re: Link failover with ping
On 3 jul, 09:11, Tom <tomlob...@gmail.com> wrote:

From: Dana Harding <dhard...@nucleus.com>:

Would Heartbeat work for your application? http://www.linux-ha.org/Heartbeat

You should be able to configure that to do some scripting magic (read:
bring up or reconfigure a secondary link) when a ping fails over the
primary link. I haven't used it myself - so I can't comment on how
well it works.

Dana Harding
dhard...@nucleus.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom  
View profile
 More options Jul 4, 10:00 am
Newsgroups: comp.os.linux.networking
From: Tom <tomlob...@gmail.com>
Date: Fri, 4 Jul 2008 07:00:57 -0700 (PDT)
Local: Fri, Jul 4 2008 10:00 am
Subject: Re: Link failover with ping
From: Dana Harding <dhard...@nucleus.com>:

> Would Heartbeat work for your application?http://www.linux-ha.org/Heartbeat

> You should be able to configure that to do some scripting magic (read:
> bring up or reconfigure a secondary link) when a ping fails over the
> primary link. I haven't used it myself - so I can't comment on how
> well it works.

> Dana Harding
> dhard...@nucleus.com

Hi Dana!

Well, I haven't used heartbeat, but I think It is not designed for
failover of ISP links, as it works testing servers on LAN (I think),so
it expects very low latencies comparing to ISPs.

If someone knows if heartbeat know how to work with ISP failover,
please tell me. Anyway I'll look its doc.

Tom Lobato


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Gideon  
View profile
 More options Jul 6, 9:53 am
Newsgroups: comp.os.linux.networking
From: Andrew Gideon <c172driv...@gideon.org>
Date: Sun, 6 Jul 2008 13:53:26 +0000 (UTC)
Local: Sun, Jul 6 2008 9:53 am
Subject: Re: Link failover with ping

On Fri, 04 Jul 2008 07:00:57 -0700, Tom wrote:
> If someone knows if heartbeat know how to work with ISP failover, please
> tell me. Anyway I'll look its doc.

I'm not sure what you're trying to achieve.  If you've two separate
upstreams, and want to route around failure of one, then the proper
solution is to admit (or "brag" {8^) that you're multihomed and step into
the BGP world.  While it's missing a few features as compared to Cisco
IOS, Quagga is a nice BGP routing daemon.  I've it in use on a couple of
boxes right now (neither of which gets heavy use yet, admittedly), and a
full feed of routes from a few different upstreams isn't a problem.

There's "paperwork" involved.  You'll need to get a block of addresses
from one of your ISPs (unless you're larger than I suspect) that it is
willing to have announced via the other ISP.  You'll have to register
this block with the appropriate route registry.  But none of this is a
big deal, and one or the other of your ISPs can likely help you.

        - Andrew


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom  
View profile
 More options Jul 12, 10:11 am
Newsgroups: comp.os.linux.networking
From: Tom <tomlob...@gmail.com>
Date: Sat, 12 Jul 2008 07:11:34 -0700 (PDT)
Local: Sat, Jul 12 2008 10:11 am
Subject: Re: Link failover with ping

Hi Andrew!
Sorry for the delay.

On 6 jul, 10:53, Andrew Gideon <c172driv...@gideon.org> wrote:

> On Fri, 04 Jul 2008 07:00:57 -0700, Tom wrote:
> > If someone knows if heartbeat know how to work with ISP failover, please
> > tell me. Anyway I'll look its doc.

> I'm not sure what you're trying to achieve.

I have two ISP to access the internet, and want to load balancing and
link
failover on a Linux server.

>  If you've two separate
> upstreams, and want to route around failure of one, then the proper
> solution is to admit (or "brag" {8^) that you're multihomed and step into
> the BGP world.  While it's missing a few features as compared to Cisco
> IOS, Quagga is a nice BGP routing daemon.  I've it in use on a couple of
> boxes right now (neither of which gets heavy use yet, admittedly), and a
> full feed of routes from a few different upstreams isn't a problem.

> There's "paperwork" involved.  You'll need to get a block of addresses
> from one of your ISPs (unless you're larger than I suspect) that it is
> willing to have announced via the other ISP.  You'll have to register
> this block with the appropriate route registry.  But none of this is a
> big deal, and one or the other of your ISPs can likely help you.

>         - Andrew

Well, I`ve read about BGP, but it appears this protocol needs ISP
support
(I don`t know exactly which support).
I`m not sure if they can provide me.
One of them gave me 4 static IP address, another gave me one dynamic
IP
 with DHCP, both via cable modem.

Is this enough to implement BGP or the ISP has to give me explicit BGP
support?

Tom Lobato


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom  
View profile
 More options Jul 12, 10:19 am
Newsgroups: comp.os.linux.networking
From: Tom <tomlob...@gmail.com>
Date: Sat, 12 Jul 2008 07:19:46 -0700 (PDT)
Local: Sat, Jul 12 2008 10:19 am
Subject: Re: Link failover with ping
On 12 jul, 11:11, Tom <tomlob...@gmail.com> wrote:

> On 6 jul, 10:53, Andrew Gideon <c172driv...@gideon.org> wrote:

> > I'm not sure what you're trying to achieve.

> I have two ISP to access the internet, and want to load balancing and
> link failover on a Linux server.

complementing...
load balancing is not a problem, linux is great!
failover is giving me a hard time :)
ping showed to be a hard way to achieve reliable ISP link failover

I`m playing with ping + qos + icmp priority base on iproute
but not found a reliable final solution.

Tom Lobato


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Gideon  
View profile
 More options Jul 12, 1:51 pm
Newsgroups: comp.os.linux.networking
From: Andrew Gideon <c172driv...@gideon.org>
Date: Sat, 12 Jul 2008 17:51:13 +0000 (UTC)
Local: Sat, Jul 12 2008 1:51 pm
Subject: Re: Link failover with ping

On Sat, 12 Jul 2008 07:19:46 -0700, Tom wrote:
> load balancing is not a problem

W/o BGP, how are you making the determination of which egress path should
be taken by a given packet?

        - Andrew


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google