diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-03 18:14:23 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-07 17:15:00 +0000 |
commit | e4fabffe740800d2ad9ded4aec4b768485289653 (patch) | |
tree | e53c2302c216116929019a84e0ed0244cfd83db4 /src/conf_mode/interfaces-pseudo-ethernet.py | |
parent | 669acb05c91aa90f28b9aee823b27c7a29afdec0 (diff) | |
download | vyos-1x-e4fabffe740800d2ad9ded4aec4b768485289653.tar.gz vyos-1x-e4fabffe740800d2ad9ded4aec4b768485289653.zip |
pppoe: T5630: allow to specify MRU in addition to already configurable MTU
Set the MRU (Maximum Receive Unit) value to n. PPPd will ask the peer to send
packets of no more than n bytes. The value of n must be between 128 and 16384,
the default was always 1492 to match PPPoE MTU.
A value of 296 works well on very slow links (40 bytes for TCP/IP header + 256
bytes of data). Note that for the IPv6 protocol, the MRU must be at least 1280.
CLI:
set interfaces pppoe pppoe0 mru 1280
(cherry picked from commit e062a8c11856f213983f5b41f50d4f9dbc0dde0f)
Diffstat (limited to 'src/conf_mode/interfaces-pseudo-ethernet.py')
0 files changed, 0 insertions, 0 deletions