summaryrefslogtreecommitdiff
path: root/docs/configuration/interfaces/pppoe.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration/interfaces/pppoe.rst')
-rw-r--r--docs/configuration/interfaces/pppoe.rst17
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/configuration/interfaces/pppoe.rst b/docs/configuration/interfaces/pppoe.rst
index 74a43bb5..b37e95a2 100644
--- a/docs/configuration/interfaces/pppoe.rst
+++ b/docs/configuration/interfaces/pppoe.rst
@@ -143,6 +143,19 @@ PPPoE options
set interfaces pppoe pppoe0 default-route-distance 220
+.. cfgcmd:: set interfaces pppoe <interface> mru <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 <interface> idle-timeout <time>
Use this command to set the idle timeout interval to be used with on-demand
@@ -245,8 +258,8 @@ IPv6
.. note:: This command was introduced in VyOS 1.4 - it was previously called:
``set firewall options interface <name> adjust-mss <value>``
- .. hint:: MSS value = MTU - 20 (IP header) - 20 (TCP header), resulting in
- 1452 bytes on a 1492 byte MTU.
+ .. hint:: MSS value = MTU - 40 (IPv6 header) - 20 (TCP header), resulting in
+ 1432 bytes on a 1492 byte MTU.
Instead of a numerical MSS value `clamp-mss-to-pmtu` can be used to
automatically set the proper value.