Hi,
I've been experiencing some strange problems. I have a PPPoE/PPPoA
bridging ethernet modem in the UK and am using userland ppp to connect
to my DSL provider.
I have been setting MTU/MRU to 1458 in ppp.conf and have been getting a
*lot* of these messages:
ppp[18688]: tun0: Error: ip_Input: deflink: wrote 1429, got Message too long
By looking at the ppp logs I can see that my ISP is requesting an MTU of
1420 and, indeed, that is what the tun0 device is set to.
However, if, once connected, I manually set the MTU for tun0 to 1458 all
these messages disappear and I experience no packet loss.
I have tried setting my MTU in ppp.conf to match the requested 1420 but
weirdly this still causes packet loss.
I am assuming that though ppp is setting the tun0 interface's MTU to
1420 somehow the outgoing packets are taking their MRU value from
ppp.conf and not the interface's value. Or maybe this has something to
do with the PPPoE stuff going on.
For now I have my ppp.linkup doing ifconfig tun0 mtu 1458 which seems
like an odd fix.
Will
[EMAIL PROTECTED]:~> cat /etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
set redial 15 0
set reconnect 15 10000
pppoe:
set device "!/usr/sbin/pppoe -i sis0"
disable acfcomp protocomp
deny acfcomp
set mtu max 1458
set mru max 1458
set speed sync
#enable lqr
#set lqrperiod 5
set cd 5
set dial
set login
set timeout 0
set authname [EMAIL PROTECTED]
set authkey password
add! default HISADDR
enable dns