From owner-freebsd-questions Thu Mar 20 5:37:16 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6B2937B401 for ; Thu, 20 Mar 2003 05:37:14 -0800 (PST) Received: from exchange.wan.no (exchange.wan.no [80.86.128.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id A050943FA3 for ; Thu, 20 Mar 2003 05:37:13 -0800 (PST) (envelope-from sten.daniel.sorsdal@wan.no) Subject: RE: Equal-cost multipath routing for FreeBSD 4-STABLE? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Thu, 20 Mar 2003 14:37:06 +0100 Message-ID: <0AF1BBDF1218F14E9B4CCE414744E70F1F3C6A@exchange.wanglobal.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Equal-cost multipath routing for FreeBSD 4-STABLE? Thread-Index: AcLu5BmfeKu8gLeiRx2Mm/Pb9+OSewAAW+7w From: =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= To: "Matthew Seaman" , Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It is unclear wether one2many support bundling through VLANs as well. Any clues? - Sten -----Original Message----- From: Matthew Seaman [mailto:m.seaman@infracaninophile.co.uk]=20 Sent: 20. mars 2003 14:25 To: questions@FreeBSD.ORG Subject: Re: Equal-cost multipath routing for FreeBSD 4-STABLE? On Thu, Mar 20, 2003 at 03:15:27PM +0200, Andrew Stesin wrote: > suppose we have FreeBSD box `A' with 3 network interfaces (ip=20 > unnumbered or numbered - shouldn't matter). This 3 interfaces form 3=20 > parallel IP channels to some single destination `C' (let's think of=20 > another FreeBSD box `B' with another 3 interfaces at the other end and = > `C' being an alias to lo0 of `B' box). >=20 > Than let's consider either 3 equal static routes to `C' set at `A', or = > OSPF with 3 equal cost routes to `C' from `A'. >=20 > Is it possible to tell kernel to route packets between `A' and `B' in=20 > a round-robin way, so that each of 3 channels handle 1/3 of a total=20 > consumed bandwidth? Something like "equal-cost multipath" feature of=20 > Cisco IOS? Yes. See the ng_one2many(4) man page. You don't need to futz about = with aliases to lo0 on machine C: just make another ng_one2many cluster = there and treat both of them as a regular network interfaces. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message