From owner-freebsd-net@FreeBSD.ORG Fri Apr 20 19:26:56 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFE9F16A404 for ; Fri, 20 Apr 2007 19:26:56 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A3C9813C4C7 for ; Fri, 20 Apr 2007 19:26:55 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Heyku-00027d-RO for freebsd-net@freebsd.org; Fri, 20 Apr 2007 21:26:52 +0200 Received: from 83-131-172-117.adsl.net.t-com.hr ([83.131.172.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Apr 2007 21:26:52 +0200 Received: from ivoras by 83-131-172-117.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Apr 2007 21:26:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Ivan Voras Date: Fri, 20 Apr 2007 21:26:38 +0200 Lines: 50 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBC8984628C2F9087825C18F6" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-172-117.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Network interface failover in 6.2? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 19:26:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBC8984628C2F9087825C18F6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I need to set up a simple NIC failover in a 6.2 host, connected to Cisco 2950 switches. From searching the web it seems that the simples option for me is to use ng_fec (I'd rather use trunk/lagg, but I can't use -current for this). Since I haven't used netgraph before, I'd appreciate any advices and caveats (especially: is anyone using this in production?)= =2E =46rom documentation and examples found on the web it looks like I need t= o do this: ngctl mkpeer fec dummy fec ngctl msg fec0: add_iface '"em0"' ngctl msg fec0: add_iface '"em1"' ifconfig fec0 up ifconfig fec0 inet x netmask y Is this correct / all? I also found a pointer to use ng_one2many but a) ng_fec is supposed to make use of the router's support (FEC), and b) it looks more complicated to configure. What is the practical meaning / difference between mode_mac and mode_inet in ng_fec? One other thing: where should I add the above configuration? In /etc/rc.local? --------------enigBC8984628C2F9087825C18F6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGKRPuldnAQVacBcgRAhIDAKD9MfNbNN54SA8GhLYyAzW5+reZggCg8fEa mpEMciHxc+b+7BgT5aaZpFc= =deO/ -----END PGP SIGNATURE----- --------------enigBC8984628C2F9087825C18F6--