From owner-freebsd-net Fri Mar 15 20:35:50 2002 Delivered-To: freebsd-net@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.143.238.93]) by hub.freebsd.org (Postfix) with SMTP id 73ABE37B41A for ; Fri, 15 Mar 2002 20:35:46 -0800 (PST) Received: (qmail 47429 invoked by uid 1001); 16 Mar 2002 14:35:45 +1000 X-Posted-By: GJB-Post 2.25 04-Mar-2002 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Uptime: 65 days, 20:53 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-GPG-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-PGP-Public-Keys: http://www.gbch.net/keys.html Message-Id: Date: Sat, 16 Mar 2002 14:35:45 +1000 From: Greg Black To: Brian Somers Cc: freebsd-net@FreeBSD.ORG Subject: Re: ppp -nat fails with adsl, but ok with modem References: <200203130948.g2D9mgGd003975@hak.lan.Awfulhak.org> In-reply-to: of Sat, 16 Mar 2002 12:54:36 +1000 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Black wrote: | Brian Somers wrote: | | [lots of early history of this thread snipped] | | | > | > > | What version of FreeBSD are you using? The ppp included in early 4.x | | > | > > | distributions doesn't have the TCP MSS fixup code that is required to | | > | > > | make | | > | > > | things work properly with a PPPoE connection, and cause the kinds of | | > | > > | symptoms that you describe. | | > | > > | | > | > > The NAT box is running 4.2-RELEASE -- is that a problem? | | > | > | | > | > Yes. This problem was first fixed in 4.2-STABLE. There are two safe ways to | | > | > fix this: | | > | > - upgrade to a newer -RELEASE or -STABLE | | > | > - run the tcpmssd program (which is in the ports collection - | | > | > /usr/ports/net/tcpmssd) | | > | | | > | - Install the latest version of ppp from http://www.Awfulahk.org/ppp.html | | > | | > OK, I'll grab it and give it a try. | | > | | > Will it be OK to install that on a 4.1-RELEASE box? | | | | Should be. | | | | > Should I still use the following lines in my ppp.conf? | | > | | > set mru 1492 | | > set mtu 1492 | | | | These shouldn't be required any more. | | OK, I have just built and installed ppp-020311 on my 4.2 box, | but it seems not to make any difference -- nothing works, even | from the ppp host, unless I also run tcpmssd. Sorry, just ignore me or shoot me or whatever takes your fancy. In a nice case of brain fade, I turned off tcpmssd, but forgot all about the ipfw divert rule that was sending everything to tcpmssd. With the divert rule gone, all is well and all the hosts on my LAN are talking successfully to the rest of the world. Thanks for the help, and apologies for the stupidity at the end. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message