Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 14:26:50 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        abial@webgiro.com (Andrzej Bialecki)
Cc:        will@iki.fi (Ville-Pertti Keinonen), zzhang@cs.binghamton.edu (Zhihui Zhang), hackers@FreeBSD.ORG
Subject:   Re: Multiple routes to the same destination
Message-ID:  <199909201226.OAA74671@zibbi.mikom.csir.co.za>
In-Reply-To: <Pine.BSF.4.05.9909201334500.16018-100000@freja.webgiro.com> from Andrzej Bialecki at "Sep 20, 1999 01:36:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 
> > > As said by the 4.4 BSD book (page 423), 4.4 BSD does not support multiple
> > > routes to the same destination (identical key and mask). Does the radix
> > > tree code in FreeBSD - 4.0 has the same limitation?  I am wondering if
> > > there is already a solution for this? 
> > 
> > How would the routing code use multiple routes?  You'd need additional
> > rules to determine how to use them (e.g. round-robin for load
> > balancing).

IIRC there was some patches around a long time ago to do this kind of
thing.

> 
> Or assign them a weight. When the link goes down, the routes attached to
> this interface decrease in weight by NN. If there is any other route to
> the same destination with greater weight, the packets are sent that way
> instead.

But can't gated do this? (Or any other routing daemon for that matter.)
You don't need kernel support to do this.

John
-- 
John Hay -- John.Hay@mikom.csir.co.za


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909201226.OAA74671>