From owner-freebsd-questions Mon Oct 16 5:13:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 34B2D37B66D for ; Mon, 16 Oct 2000 05:13:06 -0700 (PDT) Received: (qmail 29973 invoked by uid 0); 16 Oct 2000 12:13:03 -0000 Received: from p3ee23b69.dip.t-dialin.net (HELO Shadow) (62.226.59.105) by mail.gmx.net with SMTP; 16 Oct 2000 12:13:03 -0000 Message-ID: <000501c0376a$26e86780$6501a8c0@Shadow> From: "Matthias Grunwald" To: Subject: tcpmssd & 4.1.1-R & PPPoE Date: Mon, 16 Oct 2000 14:09:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, i installed a FBSD 4.1.1 machine to serve as a dsl-router using user ppp and -nat. Unfortunately I have the same windows problem (don't fragment) as most other users. Setting the MTU under Windows 2000 works fine and everything loads quick. Setting the MaxMTU under Windows 98 does unfortunately not work. The system is slow and laggy. Now i would like to use tcpmssd but everytime tcpmssd gets a packet it core dumps (bus error). Using rl0 with ipfw add 100 divert 1234 tcp from any to any out via rl0 setup and /usr/local/bin/tcpmssd -p 1234 -m 1492 -v doesn't work as the packets go out via tun0 (tcpmssd doesn't core dump either) Using tun0 with ipfw add 100 divert 1234 tcp from any to any out via tun0 setup and /usr/local/bin/tcpmssd -p 1234 -m 1492 -v should work but tcpmssd core dumps. I also tried to filter the packets on coming in on dev ed0 (even if this probably makes no sense) and tcpmssd still core dumps: ipfw add 100 divert 1234 tcp from any to any in via ed0 setup /usr/local/bin/tcpmssd -p 1234 -m 1492 -v Here is my configuration: ipfw show: ###################################################### 00100 0 0 divert 1234 log tcp from any to any out xmit tun0 setup 65535 57459 5634710 allow ip from any to any ###################################################### netstat -nr: ######################################################## Internet: Destination Gateway Flags Refs Use Netif Expire default 62.225.254.65 UGSc 54 4921 tun0 10.0.0.2 10.10.1.1 UH 0 0 tun0 10.10.1/24 link#1 UC 0 0 rl0 => 62.225.254.65 62.226.59.105 UH 54 0 tun0 127.0.0.1 127.0.0.1 UH 0 2 lo0 192.168.1 link#2 UC 0 0 ed0 => 192.168.1.101 52:54:5:f7:ab:59 UHLW 2 22052 ed0 837 192.168.1.103 0:20:af:2f:57:4 UHLW 1 14 ed0 1196 ######################################################### ifconfig -a: rl0: external network ed0: internal network ##################################################### ifconfig -a rl0: flags=8843 mtu 1500 inet 10.10.1.1 netmask 0xffffff00 broadcast 10.10.1.255 ether 00:e0:7d:75:47:52 media: autoselect (none) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX ed0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:e0:7d:79:ca:13 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 tun0: flags=8051 mtu 1492 inet 10.10.1.1 --> 10.0.0.2 netmask 0xff000000 inet 62.226.59.105 --> 62.225.254.65 netmask 0xff000000 Opened by PID 80 ####################################################### ppp.conf: ####################################################### default: set device PPPoE:rl0 set speed sync set cd set mru 1492 set mtu 1492 set authname *mylogin* set authkey *mypass* set log Phase command set dial set login set ifaddr 10.10.1.1/0 10.0.0.2/0 add default HISADDR enable dns set server +3000 1234 nat enable yes set timeout 300 ###################################################### Any ideas? Matthias PS: Please answer to me directly, as I'm not on the list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message