From owner-freebsd-net Fri Dec 15 7:43:26 2000 From owner-freebsd-net@FreeBSD.ORG Fri Dec 15 07:43:23 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mail.ruhr.de (in-ruhr3.ruhr.de [212.23.134.2]) by hub.freebsd.org (Postfix) with SMTP id 2C44837B402 for ; Fri, 15 Dec 2000 07:43:23 -0800 (PST) Received: (qmail 31187 invoked by alias); 15 Dec 2000 16:53:08 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.11.0/8.11.0) id eBFFhmX88463; Fri, 15 Dec 2000 16:43:48 +0100 (CET) (envelope-from ue) Date: Fri, 15 Dec 2000 16:43:48 +0100 From: Udo Erdelhoff To: freebsd-net@FreeBSD.ORG Cc: Patrick Bihan-Faou Subject: Re: Strange fragmentation needed message Message-ID: <20001215164348.E85041@nathan.ruhr.de> Mail-Followup-To: freebsd-net@FreeBSD.ORG, Patrick Bihan-Faou References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from patrick@netzuno.com on Thu, Dec 14, 2000 at 09:54:33AM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Thu, Dec 14, 2000 at 09:54:33AM -0500, Patrick Bihan-Faou wrote: > You probably need to use tcpmssd from the ports (net/tcpmssd) or use the > recently added tcpmss option of PPP for you ADSL link. no, that's not the cause of the problem and adding tcpmssd to the mix doesn't solve the problem. My normal setup includes tcpmssd and some filter rules in ppp and ipfw, I kicked them to eliminate some possible problem sources. AFAIK, tcpmssd is only needed for connections originating on boxes in your LAN. If the connection originates on the box with the ADSL line, the MSS will be correct. Anyway, this is a capture of an ftp session with tcpmssd: ] mybox.3176 > remote.21: P 38:53(15) ack 51 win 17424 (DF) [tos 0x10] The last part of the put command ] remote.20 > mybox.40699: S 2001469163:2001469163 (0) win 32120 (DF) Incoming connection from the remote box ] 16:00:53.325469 mybox.40699 > remote.20: S 2723319420:2723319420 (0) ack 2001469164 win 17520 (DF) Reply: No, use mss 1452 ] remote.21 > mybox.3176: . ack 53 win 31944 (DF) ] remote.20 > mybox.40699: . ack 1 win 32120 (DF) ] remote.21 > mybox.3176: P 51:106(55) ack 53 win 31944 (DF) ] mybox.40699 > remote.20: P 1:1025(1024) ack 1 win 17520 (DF) [tos 0x8] ] mybox > mybox: icmp: mybox unreachable - need to frag (mtu 1480) ] mybox > mybox: icmp: mybox unreachable - need to frag (mtu 1480) And boom. > You can also look at http://renaud.waldura.com/doc/freebsd-pppoe/ which is a > good paper on your problem. If you can read German, take a look at my homepage, especially at the paper about using T-ISDN-DSL (the ADSL service I'm using) with FreeBSD, especially the chapters about the MSS/MTU problem and the integration of tcpmssd. /s/Udo -- "No boom today. Boom tomorrow. There's always a boom tomorrow" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message