From owner-freebsd-net@FreeBSD.ORG Mon Feb 16 11:04:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4E7B16A4CE for ; Mon, 16 Feb 2004 11:04:17 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 455E543D1D for ; Mon, 16 Feb 2004 11:04:05 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 237013ABB7A; Mon, 16 Feb 2004 20:07:10 +0100 (CET) Date: Mon, 16 Feb 2004 20:07:10 +0100 From: Pawel Jakub Dawidek To: freebsd-net@freebsd.org Message-ID: <20040216190710.GM14639@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6yEm4/lbnJMR0xRk" Content-Disposition: inline X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 4.8-RELEASE-p13 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i Subject: New failure detection algorithm for ng_one2many(4). X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 19:04:17 -0000 --6yEm4/lbnJMR0xRk Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello. Patch below adds new failure detection algorithm for ng_one2many(4). For now, the only such algorithm doesn't detect failures, one have to show active links manually. http://garage.freebsd.pl/patches/netgraph_one2many.patch The way how to use this module (ng_one2many) is described in manual page, to made use of new algorithm one should execute: ngctl msg fxp0:upper setconfig "{ xmitAlg=3D1 failAlg=3D2 interval=3D5 }" Value '5' after interval means: check interfaces every 5 seconds. If interface will be down it will not be used. Note that 'one' interface have to be always avaliable. Any comments, etc. are of course welcome. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --6yEm4/lbnJMR0xRk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQFAMRTdForvXbEpPzQRApDBAKDadyExR1VJDLIo7TqZ/SqDEWWuRwCfUhnb PbxDfu9r8i+5M994ZnTYhGw= =C0k4 -----END PGP SIGNATURE----- --6yEm4/lbnJMR0xRk--