From owner-freebsd-questions Thu Mar 20 5:24:42 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 CFD8D37B401 for ; Thu, 20 Mar 2003 05:24:40 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE2CE43FA3 for ; Thu, 20 Mar 2003 05:24:38 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) by smtp.infracaninophile.co.uk (8.12.8/8.12.8) with ESMTP id h2KDOWe9034972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 20 Mar 2003 13:24:32 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.8/8.12.8/Submit) id h2KDOWrl034967 for questions@FreeBSD.ORG; Thu, 20 Mar 2003 13:24:32 GMT Date: Thu, 20 Mar 2003 13:24:32 +0000 From: Matthew Seaman To: questions@FreeBSD.ORG Subject: Re: Equal-cost multipath routing for FreeBSD 4-STABLE? Message-ID: <20030320132432.GC34667@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , questions@FreeBSD.ORG References: <20030320150619.X6897@subzero.kw.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M38YqGLZlgb6RLPS" Content-Disposition: inline In-Reply-To: <20030320150619.X6897@subzero.kw.ua> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) 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 --M38YqGLZlgb6RLPS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 20, 2003 at 03:15:27PM +0200, Andrew Stesin wrote: > suppose we have FreeBSD box `A' with 3 network interfaces (ip unnumbered > or numbered - shouldn't matter). This 3 interfaces form 3 parallel IP > channels to some single destination `C' (let's think of 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 a > round-robin way, so that each of 3 channels handle 1/3 of a total consumed > bandwidth? Something like "equal-cost multipath" feature of 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 --M38YqGLZlgb6RLPS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ecEQdtESqEQa7a0RAg/3AJ0VF6AJEw+mucyN6X2dBHwqaIwKuwCfWZ5U wpU6MZ+H48X435Q93651Y14= =xcDW -----END PGP SIGNATURE----- --M38YqGLZlgb6RLPS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message