From owner-freebsd-hackers Mon Sep 20 4:36:54 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from freja.webgiro.com (freja.webgiro.com [212.209.29.10]) by hub.freebsd.org (Postfix) with ESMTP id D541B14DFC for ; Mon, 20 Sep 1999 04:36:51 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by freja.webgiro.com (Postfix, from userid 1001) id 539911914; Mon, 20 Sep 1999 13:36:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by freja.webgiro.com (Postfix) with ESMTP id 509EF49EC; Mon, 20 Sep 1999 13:36:42 +0200 (CEST) Date: Mon, 20 Sep 1999 13:36:42 +0200 (CEST) From: Andrzej Bialecki To: Ville-Pertti Keinonen Cc: Zhihui Zhang , hackers@freebsd.org Subject: Re: Multiple routes to the same destination In-Reply-To: <8667154yk6.fsf@not.demophon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 20 Sep 1999, Ville-Pertti Keinonen wrote: > > zzhang@cs.binghamton.edu (Zhihui Zhang) writes: > > > 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). 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. Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message