From: Julian Anastasov <ja@ssi.bg>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Multipath, 2.4.16 + Julian's patches.
Date: Fri, 14 Dec 2001 17:33:25 +0000 [thread overview]
Message-ID: <marc-lartc-100835098006343@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100831072321841@msgid-missing>
Hello,
On Fri, 14 Dec 2001, Adrian Chung wrote:
> > > 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.
>
> Since these are Julian's patches (from what I can tell), he might be
> the best person to ask, but, how hard would it be to do:
>
> $ ip route add default table 100 nexthop via aaa.bbb.ccc.ddd dev eth2
> weight 1 nexthop via bbb.ccc.ddd.eee dev eth1 weight 0
>
> And have the first link used fulltime, and the second (eth1) link only
> used when the first is "dead".
You can mix a list of unipath or multipath routes into
alternative routes, see my docs. One of the alternative routes is used
until it fails. If you need different algorithm you have to create script
to handle it.
> Is "weight 0" used for anything right now, or even possible?
Weight 0 is not allowed, it will need changing too much code.
If you can call ip route change, then you can call del+add and to
apply the new routes.
> 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, 4:07, 4 users
Regards
--
Julian Anastasov <ja@ssi.bg>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
next prev parent reply other threads:[~2001-12-14 17:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-14 6:17 [LARTC] Multipath, 2.4.16 + Julian's patches Adrian Chung
2001-12-14 11:09 ` Christoph Simon
2001-12-14 11:45 ` Julian Anastasov
2001-12-14 15:00 ` Adrian Chung
2001-12-14 15:02 ` Adrian Chung
2001-12-14 15:09 ` Adrian Chung
2001-12-14 15:30 ` Christoph Simon
2001-12-14 15:52 ` Adrian Chung
2001-12-14 16:15 ` Christoph Simon
2001-12-14 17:08 ` Adrian Chung
2001-12-14 17:10 ` Adrian Chung
2001-12-14 17:33 ` Julian Anastasov [this message]
2001-12-14 20:20 ` Adrian Chung
2001-12-14 21:24 ` Julian Anastasov
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-100835098006343@msgid-missing \
--to=ja@ssi.bg \
--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.