Re: [LARTC] Multipath, 2.4.16 + Julian's patches.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 14, 2001 at 01:30:27PM -0200, Christoph Simon wrote:
> On Fri, 14 Dec 2001 10:02:50 -0500
> Adrian Chung <adrian@xxxxxxxxxxxxxxxxxx> wrote:
> 
> > I didn't have trouble following the HOWTO, it was easy to follow.  I'm
> > just not sure I understand the reasoning for having to do certain
> > steps, but that's not necessarily the goal of your HOWTO.
> 
> Well, up to a certain point it is, as at least some understanding is
> necessary to apply this setup to different situations. For instance,
> in your last two messages you seem to have tried to test the load
> balancing with individual cases. As I wrote, this is not possible; you
> need a certain amount of traffic to see it. The reason is a rather

Actually, after I wrote my last couple of messages, I was thinking
about it more, and I think it's a misunderstanding that I have.  Your
HOWTO is mainly geared towards load balancing, and failover when one
of the links goes down.

I'd like to do that, but I'd like to mainly use one link, and only
fall back (fail over) to the second link when the first goes down.

I tried to represent that using a greater weight on the first link,
but as I think it says in your HOWTO, this merely results in the
kernel adding more routes for the first link, and inevitably, I'm
guessing some traffic will still be routed through the second link
when the first is up.

My two links are through different ISP's, and I want to be able to use
both ISP's news, and proxy servers.  In order to do this, I need to
make sure that when accessing ISP1's news server, I always connect via
the same link.

Load balancing defeats this, by sometimes routing to ISP1's news
server via ISP2, and then I get denied access because I don't have a
source IP on ISP1's network.

> Probably it's better to the list. I'm far from being an expert, and we
> all can learn something. Also, right now, I'm very busy and will not
> be able to modify that howto too soon.

A couple of things I'm unsure about:

1) is there a way to only use the second link if and when the first
goes down, instead of load balancing via both links all the time?

2) is it possible to implement source-based policy routing but fall
back to the second link when the preferred gateway is down?

Does any of this make sense?

--
Adrian Chung (adrian at enfusion-group dot com)
http://www.enfusion-group.com/~adrian
GPG Fingerprint: C620 C8EA 86BA 79CC 384C E7BE A10C 353B 919D 1A17
[rogue.enfusion-group.com] up 134 days, 2:44, 2 users




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux