From owner-freebsd-net Fri Mar 15 18:54:45 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 12E6237B416 for ; Fri, 15 Mar 2002 18:54:38 -0800 (PST) Received: (qmail 40848 invoked by uid 1001); 16 Mar 2002 12:54:36 +1000 X-Posted-By: GJB-Post 2.25 04-Mar-2002 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Uptime: 65 days, 19:12 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 12:54:36 +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: <200203130948.g2D9mgGd003975@hak.lan.Awfulhak.org> of Wed, 13 Mar 2002 09:48:42 GMT 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 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. In case I've done something wrong, here are all the relevant lines from my ppp.conf (with auth data disguised): my-label: set device PPPoE:xl0 set authname xxxxxxx set authkey yyyyyyy set speed sync enable lqr set cd 5 set dial set login set redial 0 0 set ifaddr 203.143.238.93 0.0.0.0/0 add default HISADDR set timeout 0 default: set log Phase Chat IPCP CCP tun command Have I done something wrong here, or is there further info needed to answer that? Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message