Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 14:09:11 +0200
From:      "Matthias Grunwald" <grunwald.matthias@gmx.de>
To:        <freebsd-questions@freebsd.org>
Subject:   tcpmssd & 4.1.1-R & PPPoE
Message-ID:  <000501c0376a$26e86780$6501a8c0@Shadow>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:e0:7d:79:ca:13
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c0376a$26e86780$6501a8c0>