All of lore.kernel.org
 help / color / mirror / Atom feed
From: bert hubert <ahu@ds9a.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] dividing traffic equally towards 2 default gateways?
Date: Fri, 07 Dec 2001 15:36:46 +0000	[thread overview]
Message-ID: <marc-lartc-100773944512854@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100773542625212@msgid-missing>

On Fri, Dec 07, 2001 at 03:32:11PM +0100, Darian Lanx wrote:

> Now, while I know how to use multiple default gateways, I do not know how
> to equally divert traffic onto those gateways. The idea is the following.
> My ISP is not the most reliable cable services provider and often one
> gateway will fail, when the other is still active. Those system glitches
> last anywhere from 30 seconds to 2 hours. I was thinking about writing a
> little flow watcher, that looks at how many packets are being resent and
> then drops one DGW in case it has "fallen off the net". Is it actually
> possible to have packet 1 go via GW1 and packet 2 via GW2 then packet 3
> via 1 and packet 4 via 2 nad so on? As I said, this is a test case and I
> do not mind installing Zebra if that is necessary, I just wanted to know
> if this is possible with iproute2 and maybe a specialzed form of shaping?

It's all pretty difficult and doesn't work all too well. Use "ip route
replace" to easily change your default gw. Detection of a dead link is
pretty hard, and not something for the kernel to do.

Sometimes the kernel can detect a dead link, but that's only on ARPing
mediums and in the case where the gateway doesn't ARP anymore.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

      reply	other threads:[~2001-12-07 15:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 14:32 [LARTC] dividing traffic equally towards 2 default gateways? Darian Lanx
2001-12-07 15:36 ` bert hubert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-100773944512854@msgid-missing \
    --to=ahu@ds9a.nl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.