From owner-freebsd-hackers Mon Sep 20 5:30:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 5E349158CA for ; Mon, 20 Sep 1999 05:30:11 -0700 (PDT) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id OAA74671; Mon, 20 Sep 1999 14:26:50 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <199909201226.OAA74671@zibbi.mikom.csir.co.za> Subject: Re: Multiple routes to the same destination In-Reply-To: from Andrzej Bialecki at "Sep 20, 1999 01:36:42 pm" To: abial@webgiro.com (Andrzej Bialecki) Date: Mon, 20 Sep 1999 14:26:50 +0200 (SAT) Cc: will@iki.fi (Ville-Pertti Keinonen), zzhang@cs.binghamton.edu (Zhihui Zhang), hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > > 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