* Pierre Lamy ([EMAIL PROTECTED]) wrote:
> Last night I wanted to try out the kernel pppoe rather than userland 
> pppoe, on 4.0 GENERIC/i386.
[...]
> 
> The only difference I can spot is the MTU, which would actually be 1492 
> on tun0 as well, it just isn't reflected in the ifconfig. The rest of my 
[...]
> 
> ...fragmentation code that is different? Should I set my internal network 
> to 1492 to prevent any frags from being generated?

Try adding this to pf.conf:

scrub out on pppoe0 max-mss 1440

(or tun0 in your case)

This should adjust the MTU without requiring any changes for your
internal network. I have not noticed any loss in performance. This is
from the pppoe manpage, if I recall correctly.

-Claudio

Reply via email to