From owner-freebsd-hackers Wed Jan 7 01:25:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA05194 for hackers-outgoing; Wed, 7 Jan 1998 01:25:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from omega.noc.easynet.net (omega.noc.easynet.net [193.131.248.227]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA05189 for ; Wed, 7 Jan 1998 01:25:39 -0800 (PST) (envelope-from chrisy@omega.noc.easynet.net) Received: (qmail 27304 invoked by uid 1001); 7 Jan 1998 09:25:35 -0000 Message-ID: <19980107092535.52934@flix.net> Date: Wed, 7 Jan 1998 09:25:35 +0000 From: Chrisy Luke To: freebsd-hackers@FreeBSD.ORG Subject: Re: Multipath Routing. References: <19980106104520.25045@flix.net> <34B28925.2781E494@whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <34B28925.2781E494@whistle.com>; from Julian Elischer on Tue, Jan 06, 1998 at 11:42:29AM -0800 Organization: The Flirble Internet Exchange X-URL: http://www.flix.net/ X-MOD1: X X-MOD2: X X-Fortune: A diplomat is a man who can convince his wife she'd look stout in a fur coat. X-FTP: ftp://ftp.flirble.org/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk Julian Elischer wrote (on Jan 06): > so can different routes have different metrics? It's not a different route in this mechanism. It's the same route with a number of gateways. In any case, there are no metrics stored in the BSD routing table that play any part in routing decisions. One of my later "TODO" things will be to let the likes of gated program in route preferences (or route weighting which will probably be easier). There's quite a bit left to do to the hack to make it distribution worthy, what I have, however, works with some restrictions. A number of people have asked for the code, so I'll organise some diffs and put it up later. You'll find it at: ftp://ftp.flirble.org/pub/unix/hacks/FreeBSD/mpath/ some point later on. Things to note with the current working beta: o It only works if the gateways are on the same interface (I need to turn rt_ifp into an array, s'all) o You need to rebuild ifconfig, route and netstat with the patches as shown. o I've not patched routed and have 60% done gated (not tested yet) - if that's what you want you'll have to wait. o The gated release I'm playing with is gated-R3_6Alpha_2 All of this and more will be in a little README, of course. :-) Cheers, Chris. -- == chris@easynet.net, chrisy@flix.net, chrisy@flirble.org. == Head of Systems for Easynet Group PLC.