From f91f590403587e69698b9e6e9e38076405107144 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 8 Oct 2023 09:08:35 +0200 Subject: T5630: pppoe: allow to specify MRU in addition to already configurable MTU (cherry picked from commit 7090b69845a8d304d1608e18efef383082114f33) --- docs/configuration/interfaces/pppoe.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/configuration') diff --git a/docs/configuration/interfaces/pppoe.rst b/docs/configuration/interfaces/pppoe.rst index ca7d49ef..fafab684 100644 --- a/docs/configuration/interfaces/pppoe.rst +++ b/docs/configuration/interfaces/pppoe.rst @@ -134,6 +134,19 @@ PPPoE options will be removed when the interface is torn down - even manually installed static interface-routes. +.. cfgcmd:: set interfaces pppoe mru + + Set the :abbr:`MRU (Maximum Receive Unit)` to `mru`. PPPd will ask the peer to + send packets of no more than `mru` bytes. The value of `mru` must be between 128 + and 16384. + + A value of 296 works well on very slow links (40 bytes for TCP/IP header + 256 + bytes of data). + + The default is 1492. + + .. note:: When using the IPv6 protocol, MRU must be at least 1280 bytes. + .. cfgcmd:: set interfaces pppoe idle-timeout