summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-dummy.xml.in
diff options
context:
space:
mode:
authorYuxiang Zhu <vfreex@gmail.com>2022-12-29 08:12:26 +0000
committerYuxiang Zhu <vfreex@gmail.com>2022-12-29 08:23:52 +0000
commit1440ef93e13d15e2247cbfc2cb4ea2afb266fc9e (patch)
tree524df8dc7c280cc13b1c377ef9d0b1c810a10edc /interface-definitions/interfaces-dummy.xml.in
parent36d16f531236a62b5afc6cdd5f04d20c2b1883e6 (diff)
downloadvyos-1x-1440ef93e13d15e2247cbfc2cb4ea2afb266fc9e.tar.gz
vyos-1x-1440ef93e13d15e2247cbfc2cb4ea2afb266fc9e.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.
Diffstat (limited to 'interface-definitions/interfaces-dummy.xml.in')
-rw-r--r--interface-definitions/interfaces-dummy.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-dummy.xml.in b/interface-definitions/interfaces-dummy.xml.in
index eb525b547..1ffd04a3d 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/mirror.xml.i>
#include <include/interface/netns.xml.i>
#include <include/interface/redirect.xml.i>