From owner-freebsd-net@FreeBSD.ORG Wed Mar 17 17:30:35 2004 Return-Path: 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 777E116A4CE for ; Wed, 17 Mar 2004 17:30:35 -0800 (PST) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CAFC43D55 for ; Wed, 17 Mar 2004 17:30:35 -0800 (PST) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.11/8.12.11) with ESMTP id i2I1UYTC038439; Wed, 17 Mar 2004 20:30:34 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.11/8.12.11/Submit) id i2I1UY9u038438; Wed, 17 Mar 2004 20:30:34 -0500 (EST) (envelope-from barney) Date: Wed, 17 Mar 2004 20:30:34 -0500 From: Barney Wolff To: Sherwood Botsford Message-ID: <20040318013034.GA38103@pit.databus.com> References: <200403170738.11990.sbotsford@sjsa.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403170738.11990.sbotsford@sjsa.ab.ca> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang 2.39 cc: freebsd-net@freebsd.org Subject: Re: tcpdump says errors. Netstat says no. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Mar 2004 01:30:35 -0000 On Wed, Mar 17, 2004 at 07:38:11AM -0700, Sherwood Botsford wrote: > > In a session trying to track down a problem related to a bad > cable, I found that: > > tcpdump -i xl0 -v -v -v host pop.incentre.net > > So you can see that nearly half of the packets have bad > checksums. As I recall, xl supports doing the checksums in the nic. If all the errors you're seeing are on xmit, it's because tcpdump is seeing the packets before the checksums are computed. At least that's what I remember from some years ago when I had a 3com nic. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.