diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-11-24 11:47:13 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-24 11:47:13 +0100 |
commit | 229b705e6fe0f8bdf314a22d71eb938c6c3669cb (patch) | |
tree | 9db6ebf2e370f468f67b89a93518f9f26bafa794 | |
parent | 4198ea04f6ab1735e24f878b0939cee43e4f0946 (diff) | |
download | vyos-1x-229b705e6fe0f8bdf314a22d71eb938c6c3669cb.tar.gz vyos-1x-229b705e6fe0f8bdf314a22d71eb938c6c3669cb.zip |
geneve: T1799: set minimum MTU size 1500 bytes
-rw-r--r-- | interface-definitions/interfaces-geneve.xml | 4 | ||||
-rwxr-xr-x | src/conf_mode/interfaces-geneve.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/interfaces-geneve.xml b/interface-definitions/interfaces-geneve.xml index 4d3897330..e65ce6826 100644 --- a/interface-definitions/interfaces-geneve.xml +++ b/interface-definitions/interfaces-geneve.xml @@ -82,9 +82,9 @@ <description>Maximum Transmission Unit</description> </valueHelp> <constraint> - <validator name="numeric" argument="--range 1450-9000"/> + <validator name="numeric" argument="--range 1500-9000"/> </constraint> - <constraintErrorMessage>MTU must be between 1450 and 9000</constraintErrorMessage> + <constraintErrorMessage>MTU must be between 1500 and 9000</constraintErrorMessage> </properties> </leafNode> <leafNode name="remote"> diff --git a/src/conf_mode/interfaces-geneve.py b/src/conf_mode/interfaces-geneve.py index b11ef3594..599be2780 100755 --- a/src/conf_mode/interfaces-geneve.py +++ b/src/conf_mode/interfaces-geneve.py @@ -34,7 +34,7 @@ default_config_data = { 'intf': '', 'ip_arp_cache_tmo': 30, 'ip_proxy_arp': 0, - 'mtu': 1450, + 'mtu': 1500, 'remote': '' } |