From owner-freebsd-net@FreeBSD.ORG Sat Sep 16 16:09:30 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 4C71916A403 for ; Sat, 16 Sep 2006 16:09:30 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id AECF243D49 for ; Sat, 16 Sep 2006 16:09:29 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.199] ([10.0.0.199]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k8GG9Sko090756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Sep 2006 09:09:29 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <450C21B4.5030703@errno.com> Date: Sat, 16 Sep 2006 09:09:24 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Hans Nieser References: <44F4CF17.8060203@xs4all.nl> <44F70983.40705@errno.com> <44F71402.1060405@xs4all.nl> <44F7558A.4030907@errno.com> <450B48C2.7030501@xs4all.nl> In-Reply-To: <450B48C2.7030501@xs4all.nl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: iwi discarding oversized packets while mtu=1500 for src/dst 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: Sat, 16 Sep 2006 16:09:30 -0000 Hans Nieser wrote: > Sam Leffler wrote: >> Hans Nieser wrote: >> >>> root@aphax-laptop:~# uname -a >>> FreeBSD aphax-laptop.lan 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 >>> 07:17:09 CEST 2006 >>> root@aphax-laptop.nieser.local:/usr/obj/usr/src/sys/APHAX-LAPTOP i386 >> Are you running the iwi driver that came with 6.1-release? If so it has >> numerous problems that have been fixed in 6-STABLE and HEAD. I'm not >> sure how best to update your system except by going to 6-STABLE via a >> src upgrade. > > Today I have upgraded my laptop to 6-STABLE, but unfortunately the > problems remain. I don't even know wether iwi is to blame, because I can't > figure out wether perhaps xl on my server really is sending out too large > packets. > > That is, so far I've been assuming that an mtu of 1500 may not mean that > there's exactly 1500 bytes going over the wire (overhead of protocols to > which the mtu doesn't apply or something, I dunno, I'm no networking > expert obviously :), because xl is definitely sending out packets of 1518 > bytes. Which iwi on my laptop doesn't like, but the NIC in my desktop > machine (which runs Linux) has no problem with. Maybe someone can tell me > which of the machines is in error here, at least I'd know what to blame :( > > The fact that my Linux box doesn't discard these packages coming from my > server made me suspicious of iwi initially, but maybe iwi is doing nothing > wrong and my Linux box is simply willing to accept these oversized packets. > I can't speak to linux but an mtu of 1500 will cause a 1518 byte packet to be discarded. I don't recall what your problem was but if the iwi driver is receiving the frame and passing it up only to be discarded by the 802.3 layer then you've received a frame that's too large and you should look at the sender side for why it's being generated. If you don't want to do that you can probably just up the mtu on iwi and let the frame through. Sam