summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-02-08 13:55:31 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-02-08 13:55:31 +0000
commit7e957591a661173ebf3dc30dad0aceda7bd90679 (patch)
tree5b19b58a1404147da7846c4ee135ae9e2bac6ef8
parent0a5579b84d7c4280fe429bd45a70482a83b8d887 (diff)
downloadvyos-1x-7e957591a661173ebf3dc30dad0aceda7bd90679.tar.gz
vyos-1x-7e957591a661173ebf3dc30dad0aceda7bd90679.zip
T2603: PPPoE-server change default min-mtu value 1280 for Equuleus
Minimum acceptable MTU. If client will try to negotiate less then specified MTU then it will be NAKed or disconnected if rejects greater MTU. Change 'min-mtu' from 1492 to 1280 for 1.3.3
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl2
-rw-r--r--interface-definitions/service_pppoe-server.xml.in1
2 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index a44208e15..46f462166 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -65,8 +65,6 @@ ccp={{ "1" if ppp_options.ccp is defined else "0" }}
unit-preallocate={{ "1" if authentication.radius.preallocate_vif is defined else "0" }}
{% if ppp_options.min_mtu is defined and ppp_options.min_mtu is not none %}
min-mtu={{ ppp_options.min_mtu }}
-{% else %}
-min-mtu={{ mtu }}
{% endif %}
{% if ppp_options.mru is defined and ppp_options.mru is not none %}
mru={{ ppp_options.mru }}
diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in
index 36bea6a7a..ba053ea75 100644
--- a/interface-definitions/service_pppoe-server.xml.in
+++ b/interface-definitions/service_pppoe-server.xml.in
@@ -148,6 +148,7 @@
<validator name="numeric" argument="--range 68-65535"/>
</constraint>
</properties>
+ <defaultValue>1280</defaultValue>
</leafNode>
<leafNode name="mru">
<properties>