[pve-devel] [PATCH pve-network 1/7] vxlanmulticast: add mtu to vxlan interface too.

Alexandre Derumier aderumier at odiso.com
Fri May 3 11:00:14 CEST 2019


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Network/Network/VxlanMulticastPlugin.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Network/Network/VxlanMulticastPlugin.pm b/PVE/Network/Network/VxlanMulticastPlugin.pm
index 30721ee..48e7d68 100644
--- a/PVE/Network/Network/VxlanMulticastPlugin.pm
+++ b/PVE/Network/Network/VxlanMulticastPlugin.pm
@@ -70,6 +70,7 @@ sub generate_network_config {
     $config .= "       vxlan-id $tag\n" if $tag;
     $config .= "       vxlan-svcnodeip $multicastaddress\n" if $multicastaddress;
     $config .= "       vxlan-physdev $iface\n" if $iface;
+    $config .= "       mtu $mtu\n" if $mtu;
     $config .= "\n";
     $config .= "auto $vnetid\n";
     $config .= "iface $vnetid inet manual\n";
-- 
2.11.0




More information about the pve-devel mailing list