From owner-freebsd-net@FreeBSD.ORG Sun Sep 11 23:38:23 2005 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 AF79516A41F for ; Sun, 11 Sep 2005 23:38:23 +0000 (GMT) (envelope-from gcorcoran@rcn.com) Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D4BE43D46 for ; Sun, 11 Sep 2005 23:38:23 +0000 (GMT) (envelope-from gcorcoran@rcn.com) Received: from 207-172-224-47.c3-0.tlg-ubr1.atw-tlg.pa.cable.rcn.com (HELO [10.56.78.168]) ([207.172.224.47]) by smtp02.mrf.mail.rcn.net with ESMTP; 11 Sep 2005 19:38:22 -0400 X-IronPort-AV: i="3.97,97,1125892800"; d="scan'208"; a="84083582:sNHT23110514" Message-ID: <4324C389.5010001@rcn.com> Date: Sun, 11 Sep 2005 19:53:45 -0400 From: Gary Corcoran User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Charles Sprickman References: <200509100930.j8A9UoHN062107@fire.jhs.private> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, "Julian H. Stacey" Subject: Re: PPPoE and UDP fragmentation 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: Sun, 11 Sep 2005 23:38:23 -0000 Charles Sprickman wrote: > On Sat, 10 Sep 2005, Julian H. Stacey wrote: > >>> -Are there any tunables at either end (both hosts are FreeBSD 4.11 >>> p11) to >>> alter how fragmented packets are re-assembled? >> >> >> /usr/ports/net/tcpmssd >> An MTU adapter. Apparently not needed on FreeBSD-5 but I mean to >> install it on my FreeBSD-4 DSL gateways when I find time to think if >> it might >> have any implications re ipfw & security. > > > I don't think that does anything to UDP, it just digs into tcp and > "fixes up" the MSS by altering it on outgoing packets. I'm looking to > further understand UDP fragmentation and why a host might ignore > fragments, and who along the way is actually doing the fragmentation. > > My current "fix" is just to set the interface MTU on the sending box to > 1492, and that works well, but I'd really like to understand why it > fails without that. Do you know about the horribly-large overhead that PPPoE adds? It's about 36 bytes, if I recall. So to keep the *total* ethernet frame size under the max limit of 1500-something (don't recall exact number), you *always* have to limit *any* frame size, before PPPoE overhead, to 1492 bytes. Does this help? Gary