From owner-freebsd-questions Thu Mar 20 6:46:10 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 ECE0337B401 for ; Thu, 20 Mar 2003 06:46:07 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35FFD43F75 for ; Thu, 20 Mar 2003 06:46:06 -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 h2KEjxe9035732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 20 Mar 2003 14:45:59 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 h2KEjx69035731 for questions@FreeBSD.ORG; Thu, 20 Mar 2003 14:45:59 GMT Date: Thu, 20 Mar 2003 14:45:59 +0000 From: Matthew Seaman To: questions@FreeBSD.ORG Subject: Re: Equal-cost multipath routing for FreeBSD 4-STABLE? Message-ID: <20030320144558.GB35497@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , questions@FreeBSD.ORG References: <0AF1BBDF1218F14E9B4CCE414744E70F1F3C6A@exchange.wanglobal.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <0AF1BBDF1218F14E9B4CCE414744E70F1F3C6A@exchange.wanglobal.net> 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 --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