Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2006 16:26:18 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Ruben van der Zwan <freebsd-net@m0z.net>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: Carp: checksum failed on em0
Message-ID:  <20060309132618.GD1102@FreeBSD.org>
In-Reply-To: <440F56F4.1070509@m0z.net>
References:  <440F56F4.1070509@m0z.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 08, 2006 at 11:13:08PM +0100, Ruben van der Zwan wrote:
R> I have 2 routers running carp:
R> 
R> router1:
R>    ifconfig_carp0="vhid 1 pass hYYgtsRE 192.168.1.1/24"
R>    ifconfig_carp0_alias0="vhid 1 pass hYYgtsRE 192.168.2.1/24"
R> router2:
R>    ifconfig_carp0="vhid 1 advskew 100 pass hYYgtsRE 192.168.1.1/24"
R>    ifconfig_carp0_alias0="vhid 1 advskew 100 pass hYYgtsRE 192.168.2.1/24"
R> 
R> There are vlan's present on the routers, but the 192.168.1.2/2.2 for 
R> router1 and 192.168.1.3/2.3 for router2 IP addresses are present on an 
R> em0 interface.
R> 
R> /var/log/messages (on both router1 and router2) is flooded with these 
R> messages:
R>    Mar  8 21:53:58 router1 kernel: carp_input: checksum failed on em0
R>    Mar  8 21:53:58 router1 kernel: carp_input: received len 20 < 
R> sizeof(struct carp_header)
R> once every second...

It looks like you are receiving bad packets on wire. Can you please run
tcpdump and capture the CARP announces. How do they look like?

You can also try to change the switch, the NICs and see whether it helps.


-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



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