From owner-freebsd-net@FreeBSD.ORG Wed Dec 9 15:37:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66271106566B for ; Wed, 9 Dec 2009 15:37:44 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from tomjudge.vm.bytemark.co.uk (tomjudge.vm.bytemark.co.uk [80.68.91.100]) by mx1.freebsd.org (Postfix) with ESMTP id 266C08FC1D for ; Wed, 9 Dec 2009 15:37:44 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id 2A62B48B03; Wed, 9 Dec 2009 15:37:43 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at tomjudge.vm.bytemark.co.uk Received: from tomjudge.vm.bytemark.co.uk ([127.0.0.1]) by localhost (tomjudge.vm.bytemark.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id envng1wYjx4d; Wed, 9 Dec 2009 15:37:39 +0000 (GMT) Received: from rita.nodomain (unknown [192.168.205.6]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id 0373B48AF6; Wed, 9 Dec 2009 15:37:38 +0000 (GMT) Message-ID: <4B1FC3EF.8060708@tomjudge.com> Date: Wed, 09 Dec 2009 15:36:15 +0000 From: Tom Judge User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Claudio Jeker , freebsd-net@freebsd.org References: <4B1FB7A2.2020801@tomjudge.com> <20091209152356.GA31932@diehard.n-r-g.com> In-Reply-To: <20091209152356.GA31932@diehard.n-r-g.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: carp(4) and VRRP on the same segment 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: Wed, 09 Dec 2009 15:37:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Claudio Jeker wrote: > On Wed, Dec 09, 2009 at 02:43:46PM +0000, Tom Judge wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> We have had some issues with running both carp and VRRP in the same >> physical segment. It has mostly caused issues with the embedded devices >> running VRRP. One other side affect is the hugely verbose output on the >> FreeBSD side where carp is complaining about corrupt PDU's. >> >> To work around this I changed the carp protocol number from the VRRP >> allocated number to an unassigned number (241). Simple patches can be >> found here: >> http://svn.tomjudge.com/freebsd/patches/carp-vrrp-interop/ >> >> >> Maybe this can be made into a sysctl for carp, so that the administrator >> can select a different protocol number at boot/runtime if desired. >> > > I think you will hit the other issues with this. > Normaly it is sufficent to ensure that the carp vhid and the VRRP vrid are > not equal. > This works for the most part but I have seen one device in particular barf when it receives a carp frame. This change also significantly reduces the logging output from the VRRP and CARP devices. I understand that there are issues with migration, and interop out there but this is a useful change to reduce junk log messages and random crashes of embedded vrrp devices. Tom - -- TJU13-ARIN -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLH8PuAAoJEMSwVS7lr0OdZp0H/3cqKL/5qCPXew6rGCMDbdtC KHuGnAPuPyp3pY3c3jBrMEWNLR/IsymQjAhm/61mGLHERK0gKixNkgespO0Zr/gz fTstlSc/LUC1FfpVVzSDkASsrE7fU+pZu3g9RGjsKLyT/YwMx2GsA4NjONMLDRe3 iTIElTUEwKxr2h1T8eDiQLN//bOxkZm+BXHKOUnJmLw1NEyZXVHhh0ixnhAYFHpf 0378mxE0sPPBiTzBD1ClwmHPV6pzb/mSjzg7zZrmxjVqybO4Adi/KkLBiwyci36X 89wGmaOzuu23LDhZHgRwuFm/Rd1rIrPwOZEZj68R4nh8EJ7GylF6doBUFUz8X/o= =S+YK -----END PGP SIGNATURE-----