I have an Ubuntu Server 14.04 install which is connected to the internet using PPPoE. At the moment my ppp0
interface have an MTU of 1492 which mostly works.
I'd like to increase the MTU to 1500, which is supported by my ISP.
So far I have increased the MTU of the underlying Ethernet interface to 1508, and I have tried adding the following lines in /etc/ppp/peers/dsl-provider
mtu 1500
mru 1500
But my ppp0
interface still has an MTU of 1492. I believe the syntax of my added lines is correct, since using values lower than 1492 does work as expected.
Manually changing the MTU of the ppp0
interface to 1500 after it has been brought up works, but it only affects packets in one direction. Doing that I am able to send 1500 bytes packets across the internet and they will arrive at their destination with no fragmentation. But incoming traffic to me is still sent in 1492 byte fragments.
By capturing traffic on the Ethernet interface as the PPPoE connection is brought up, I can see that in the configuration request that my Ubuntu Server 14.04 machine sends to the provider, the MRU is specified as 1492. So I know the issue is on my end of the connection.
Why does Ubuntu Server 14.04 use 1492 as MRU in the configuration request, when the configuration file says 1500? And how can I change it to 1500?
most of the internet runs with an MTU of 576... What? Maybe in India. Only dial-up used this value. I have a website with no specific target country and most users worldwide have between 1Mb and 4Mb ADSL. Which coincidentally also happens to have PPPoE under the hood imposing the same 1492B limit.
– Zdenek Mar 28 '17 at 16:57