From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Chung Date: Fri, 14 Dec 2001 20:20:05 +0000 Subject: Re: [LARTC] Multipath, 2.4.16 + Julian's patches. Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Fri, Dec 14, 2001 at 07:33:25PM +0200, Julian Anastasov wrote: > On Fri, 14 Dec 2001, Adrian Chung wrote: [...] > > 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. Ah! I obviously didn't pay close enough attention to the documentation. I'll give this a shot. So, should I be able to do something like this (I'll test later): ip route add default via aaa.bbb.ccc.ddd dev eth1 table 100 ip route add default via bbb.ccc.ddd.eee dev eth2 table 100 And eth1 will be used until failure? > > 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. Makes sense, and it's not necessary with your alternative routes implementation. I'll re-read the docs. :) Thanks for the help. BTW, any idea whether your patches are going to make it into 2.4 proper? -- 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] 3:16pm up 134 days, 7:15, 4 users _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/