Andre Keller <ak () ak ! cx> scrivere: > My config (OpenBSD 4.6): > /etc/hostname.pppoe0 > inet 0.0.0.0 255.255.255.255 NONE \ > pppoedev vr0 authproto chap \ > authname 'user' authkey 'pass' up > dest 0.0.0.1 > /sbin/route add default 0.0.0.1
Totally unrelated to your issue but I have noticed others (people who usually get it right) not using the "\" (disregard line break) character. It's a minor point but makes your file more human. E.g.: # cat hostname.pppoe0 pppoedev vr0 authproto chap authname 'u...@on.net' authkey 'pass' up inet 0.0.0.0 255.255.255.255 dest 0.0.0.1 !/sbin/route -v add -inet default -ifp pppoe0 0.0.0.1 Also it seems possible to add the dest to the end of the inet line (e.g.): inet 0.0.0.0 255.255.255.255 0.0.0.1 This is a "should" from the man page. Note also "!command-line" - hostname.if(5). As to your question, I have never had to specify MTU, etcetera for PPPoE. It does it on it's own in my case. # ifconfig | grep vr0 vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 # ifconfig | grep pppoe0 pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492 Regardless you might find that 1492 is the sweet spot. The last time I skimmed the RFC this was the amount (eight) required for encapsulating PPP inside ethernet frames). It depends on your transport layer I believe. > And finally in sysctl.conf: > net.inet.tcp.mssdflt=1440 Where does this come from? Nevertheless try commenting your sysctl.conf addition, and scrubbing globally (e.g.): # scrub match in all scrub (no-df) You might find it works. Best wishes.