Date: Thu, 20 Mar 2003 13:24:32 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: questions@FreeBSD.ORG Subject: Re: Equal-cost multipath routing for FreeBSD 4-STABLE? Message-ID: <20030320132432.GC34667@happy-idiot-talk.infracaninophi> In-Reply-To: <20030320150619.X6897@subzero.kw.ua> References: <20030320150619.X6897@subzero.kw.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030320132432.GC34667>
