Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2009 18:52:11 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Cc:        Eirik =?iso-8859-1?q?=D8verby?= <ltning@anduin.net>
Subject:   Re: carpX: incorrect hash with IP aliases
Message-ID:  <200903031852.11731.max@love2party.net>
In-Reply-To: <D4FB7A0E-9CA3-4B60-A2C7-3231ACFDBAA8@anduin.net>
References:  <D4FB7A0E-9CA3-4B60-A2C7-3231ACFDBAA8@anduin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903031852.11731.max>