Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2003 14:45:59 +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:  <20030320144558.GB35497@happy-idiot-talk.infracaninophi>
In-Reply-To: <0AF1BBDF1218F14E9B4CCE414744E70F1F3C6A@exchange.wanglobal.net>
References:  <0AF1BBDF1218F14E9B4CCE414744E70F1F3C6A@exchange.wanglobal.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--tsOsTdHNUZQcU9Ye
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 20, 2003 at 02:37:06PM +0100, Sten Daniel S=F8rsdal wrote:
>=20
>  It is unclear wether one2many support bundling through VLANs as well.
>  Any clues?

Please don't top post.

> -----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?
>=20
>=20
> On Thu, Mar 20, 2003 at 03:15:27PM +0200, Andrew Stesin wrote:
>=20
> > 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=
=20
> > `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=
=20
> > 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?
>=20
> 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 a=
nd treat both of them as a regular network interfaces.

I don't know about any interactions between ng_one2many and VLANs.
However, the network interface generated using ng_one2many behaves as
if it was a regular physical interface.  Why not just try configuring
your vlan stuff with ifconfig(8) exactly as you would for an ordinary
NIC.  If it doesn't work, then please feel free to submit a PR
explaining what you did and how it didn't live up to your expectations.

	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

--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+edQmdtESqEQa7a0RAuqNAJ42pXkCeWrqM1saeD9hV0b7Tmr/4wCfSbPj
xZ0FNRlDLwP+TdxwbZUnihE=
=sqv9
-----END PGP SIGNATURE-----

--tsOsTdHNUZQcU9Ye--

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?20030320144558.GB35497>