From owner-freebsd-current Tue May 21 4:54:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from web11606.mail.yahoo.com (web11606.mail.yahoo.com [216.136.172.58]) by hub.freebsd.org (Postfix) with SMTP id C011A37B413 for ; Tue, 21 May 2002 04:54:34 -0700 (PDT) Message-ID: <20020521115434.81602.qmail@web11606.mail.yahoo.com> Received: from [65.112.137.20] by web11606.mail.yahoo.com via HTTP; Tue, 21 May 2002 04:54:34 PDT Date: Tue, 21 May 2002 04:54:34 -0700 (PDT) From: Oleg Chebotarev Subject: Re: multi default routes in freebsd !? To: "Vladimir B. Grebenschikov" , Terry Lambert Cc: Oleg Chebotarev , freebsd-current@FreeBSD.org In-Reply-To: <1021965925.557.9.camel@vbook.express.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The mpath diff is against 4.3 stable on given date. I was not even able to patch 4.3 release. OSPF and BGP does not came into play here yet, because to assign the same/different costs to different routes to the same destination I need to have routing table with 2 (or more) routes to the same destination. The current kernel does not allow this. Could you specify how you got this: > I have two default routes. One is IP address "A". The other is > IP address "B". (The other issues as to what gw route specific packet are not important) Thank you, Oleg --- "Vladimir B. Grebenschikov" wrote: > χ Tue, 21.05.2002, Χ 09:37, Terry Lambert ΞΑΠΙΣΑΜ: > > Oleg Chebotarev wrote: > > > Does anyone know when FreeBSD will > > > support multiple default routes > > > or multiple routes to the same network thru different interfaces? > > > > I have two default routes. One is IP address "A". The other is > > IP address "B". > > > > To which IP address do I forward a random packet? > > There are some algoritms, for example round-robin > It is not a problem if you assign two equal routes you know what you > want. > > If you have two links to one provider and want to balance outgoing > traffic it is much better to do it with to similar routes. > > > Shouldn't you just use BGP instead? That's what it was designed > > to support. > > OSPF have equal cost multupath, An BGP too (If I not mistaken) > so lack of kernel support of more then one route for one destination > is not good. > > Zebra on Linux can do OSPF equal cost multipath but on FreeBSD cant. > > Times ago there was hack for multipath routing on: > ftp://ftp.flirble.org/pub/unix/hacks/FreeBSD/mpath/ > but it seems this page now removed. > > :( > > > -- Terry > > -- > Vladimir B. Grebenschikov > vova@sw.ru, SWsoft, Inc. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message