From owner-freebsd-net@FreeBSD.ORG Thu Mar 9 14:51:07 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 D3CC516A420 for ; Thu, 9 Mar 2006 14:51:07 +0000 (GMT) (envelope-from freebsd-net@m0z.net) Received: from mail.argewebhosting.nl (mail4.argewebhosting.nl [213.201.236.37]) by mx1.FreeBSD.org (Postfix) with SMTP id B311643D48 for ; Thu, 9 Mar 2006 14:51:06 +0000 (GMT) (envelope-from freebsd-net@m0z.net) Received: (qmail 84739 invoked by uid 89); 9 Mar 2006 14:51:05 -0000 Received: from [80.100.81.105] (HELO [192.168.1.90]) (80.100.81.105) (smtp-auth username ruben@argeweb.nl, mechanism plain) by mail4.argewebhosting.nl (qpsmtpd/0.31.1) with ESMTP; Thu, 09 Mar 2006 15:51:05 +0100 Message-ID: <441040D6.3070006@m0z.net> Date: Thu, 09 Mar 2006 15:51:02 +0100 From: Ruben van der Zwan User-Agent: Mail/News 1.5 (X11/20060116) MIME-Version: 1.0 To: Gleb Smirnoff , freebsd-net@freebsd.org References: <440F56F4.1070509@m0z.net> <20060309132618.GD1102@FreeBSD.org> In-Reply-To: <20060309132618.GD1102@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Carp: checksum failed on em0 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: Thu, 09 Mar 2006 14:51:08 -0000 Your remark about the switch being the problem made me think :) I captured the packets with tcpdump which resulted in some announces from an IP transit provider. The len of 20 was something I found also in that packet, so I'll send the logs to the provider, asking them to look into it. I don't believe it's something carp is causing, it's just reporting about the packets... Anyhow, thanks for your time! Gleb Smirnoff wrote: > 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. > > >