From owner-freebsd-stable@FreeBSD.ORG Tue Mar 3 17:52:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F09001065674 for ; Tue, 3 Mar 2009 17:52:14 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id 7C8D28FC26 for ; Tue, 3 Mar 2009 17:52:14 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-062-141.pools.arcor-ip.net [88.66.62.141]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1LeYmq2MeR-000189; Tue, 03 Mar 2009 18:52:12 +0100 Received: (qmail 64181 invoked from network); 3 Mar 2009 17:52:12 -0000 Received: from fbsd8.laiers.local (192.168.4.200) by router.laiers.local with SMTP; 3 Mar 2009 17:52:12 -0000 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Tue, 3 Mar 2009 18:52:11 +0100 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903031852.11731.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19enp26NuUUgxZLmGS2PFQ320kI309L9DqTBBs GU8USiPTPbv4D/Ifa+PSHNwTozSxOCvoMh3DeVIPwHuYzGjSSB QAnV4I60XIam8zWal3lXw== Cc: Eirik =?iso-8859-1?q?=D8verby?= Subject: Re: carpX: incorrect hash with IP aliases X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 17:52:15 -0000 On Tuesday 03 March 2009 15:57:50 Eirik =D8verby wrote: > Hi, > > whenever I configure an extra IP on one of my CARP interfaces, traffic > on that particular subnet slows to a crawl (the primary IP of the > interface is the gateway IP), and I get lots of > carp4: incorrect hash > in dmesg. > > I see this issue referenced also in > http://lists.freebsd.org/pipermail/freebsd-net/2008-March/017160.html > and there are suggestions this is a known issue - however I still see > it in FreeBSD 7.1 (pfSense 1.2.3-prerelease). I cannot find a PR on > this, but my searching skills may be inadequate.. You might be referring to http://www.freebsd.org/cgi/query-pr.cgi?pr=3D1215= 74=20 which should have been fixed with rev 1.54 (MFC'ed in 1.52.2.1 to RELENG_7)= of=20 ip_carp.c > Am I doing something wrong? I tried assigning the alias with both /32 > and /24 netmasks. Make sure that you are configuring the same aliases with the same netmasks = on=20 all members of the carp group - preferably before bringing the interface up= =20 for the first time (though it should properly recalculate the hashes as you= =20 add aliases). As you seem to be using pfsense you might want to check with= =20 them to make sure they have the fix in their build - though I recall it was= a=20 joined effort back then. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News