On Mon, Aug 01, 2005 at 11:24:32AM -0400, Steve Williams wrote: > I upgraded an OpenBSD server from 3.0 to 3.7-current. I am trying to > switch the pppoe from the user land pppoe to the kernel pppoe. The user > land one works 100% on 3.7, so I know it's not a physical problem. > Outgoing connections with the kernel pppoe are working 100%. HOWEVER, > with the kernel PPPOE, none of the incoming connections are working. > This server has send mail & httpd ( & ssh) configured, and it is not > accepting incoming connections for any of them :-( I can see packets > coming in the interface, (using tcpdump), but nothing happens!
(snip) > Does anyone see anything obvious? Or not so obvious?? need more > information? I have tried to include everything that could possibly be > relevant. (Snip verbose and much appreciated configuration information.) >From ifconfig of userland pppoe: > em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > tun0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1492 Note the MTUs of the interfaces. > /etc/hostname.pppoe0 > > pppoedev em0 > !/sbin/ifconfig em0 mtu 1492 up media autoselect \ > description "Internet Connection" > !/usr/sbin/spppcontrol \$if myauthproto=pap \ > myauthname=SOME_AUTHNAME myauthkey=MY_PASSWORD > !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff > !/sbin/route add default 0.0.0.1 > up Note the mtu of the physical interface in the ifconfig command. And the ifconfig with the kernel driver: > em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1492 > pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492 PPPoE has an 8 byte header so its MTU must be 8 bytes smaller than that of the interface through which it's tunneled. pppoe(4) contains this ifconfig line: !/sbin/ifconfig ne0 up which works for me.

