diff options
author | Yuxiang Zhu <vfreex@gmail.com> | 2022-12-29 08:12:26 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-12-30 19:37:49 +0100 |
commit | a412c89316994d3134ea8b2ae63c9fc2f96a903e (patch) | |
tree | b2f490f573c4e42ab791238b22ab56e793d24bfc /interface-definitions | |
parent | 4bab998b4e7fe6eca57a3fe9ffba2d2be8f123b2 (diff) | |
download | vyos-1x-a412c89316994d3134ea8b2ae63c9fc2f96a903e.tar.gz vyos-1x-a412c89316994d3134ea8b2ae63c9fc2f96a903e.zip |
T4898: Add mtu config option for dummy interfaces
I use dummy interfaces in a VRF as source-interfaces for VXLAN in order to
force VXLAN send underlay UDP traffic through the VRF where the dummy interface
resides.
However dummy interface has no mtu option so it always gets an MTU of 1500.
This will cause an error when the mtu of dummy is not large enough for the
VXLAN traffic.
Adding this option in the config template will solve this.
(cherry picked from commit 1440ef93e13d15e2247cbfc2cb4ea2afb266fc9e)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-dummy.xml.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-dummy.xml.in b/interface-definitions/interfaces-dummy.xml.in index 2bc88c1a7..4a6d97fa4 100644 --- a/interface-definitions/interfaces-dummy.xml.in +++ b/interface-definitions/interfaces-dummy.xml.in @@ -27,6 +27,7 @@ #include <include/interface/source-validation.xml.i> </children> </node> + #include <include/interface/mtu-68-16000.xml.i> #include <include/interface/vrf.xml.i> </children> </tagNode> |