Skip to content

Commit

Permalink
T5630: pppoe: allow to specify MRU in addition to already configurabl…
Browse files Browse the repository at this point in the history
…e MTU

(cherry picked from commit 7090b69)
  • Loading branch information
c-po committed Oct 8, 2023
1 parent cd18fef commit f91f590
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/configuration/interfaces/pppoe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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
Expand Down

0 comments on commit f91f590

Please sign in to comment.