From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 09:05:51 2004 Return-Path: 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 9521316A4D0 for ; Fri, 12 Mar 2004 09:05:51 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25DEB43D39 for ; Fri, 12 Mar 2004 09:05:50 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i2CH5iLf090040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Mar 2004 17:05:44 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2CH5hCm090039; Fri, 12 Mar 2004 17:05:43 GMT (envelope-from matthew) Date: Fri, 12 Mar 2004 17:05:43 +0000 From: Matthew Seaman To: Chuck Swiger Message-ID: <20040312170543.GA89612@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Chuck Swiger , yusca@yus.ca, questions@freebsd.org References: <4051DA0B.60107@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <4051DA0B.60107@mac.com> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: yusca@yus.ca cc: questions@freebsd.org Subject: Re: ip binding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 17:05:51 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 12, 2004 at 10:40:59AM -0500, Chuck Swiger wrote: > You can use "ifconfig ... alias" to bind more than one IP address to a NI= C;=20 > you must you a different subnet mask, however (usually 0xfffffff). You= =20 > also can use netgraph (ng_many2one?) to trunk several NICs together for= =20 > fault-tolerance. ng_one2many(4). This you can use for channel bonding -- to make a virtual network interface out of several physical NICs, with the implied extra bandwidth available. However, one thing it doesn't actually do is provide failure tolerance. As the man page says: LINK FAILURE DETECTION At this time, the only algorithm for determining when a link has faile= d, other than the hook being disconnected, is the ``manual'' algorithm: t= he node is explicitly told which of the links are up via the NGM_ONE2MANY_SET_CONFIG control message (see below). Newly connected links are down until configured otherwise. That is, you have to manually reconfigure the interface group if one of it's components should happen to fail. There's no means of automatically testing that all of the components are still working properly, and if not, of reconfiguring the interface group to work around the problem. ng_one2many is clearly the basis upon which such failure tolerance could be built, but so far no one has committed the necessary patches to ng_one2many to do that. If you need failover, what you can apparently use is the ng_fec module by Bill Paul which implements the Cisco Fast EtherChannel mechanism, but which apparently has no man pages or other docs available. See Bill's announcement message at http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D700715+0+archive/2001/fr= eebsd-hackers/20010211.freebsd-hackers However, you either need to be using a point-to-point link or via a Cisco switch that supports FEC. 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 --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAUe3ndtESqEQa7a0RAqeBAJ4zDdCIz/RfA5Ng098NWeh0ghofEQCeOX5p tOd2nPBu4K/5Xraxy4jISHE= =Ku1K -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--