Signed-off-by: Alexandre Derumier <aderum...@odiso.com> --- PVE/Network/SDN/VxlanPlugin.pm | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/PVE/Network/SDN/VxlanPlugin.pm b/PVE/Network/SDN/VxlanPlugin.pm index ec1729c..733412e 100644 --- a/PVE/Network/SDN/VxlanPlugin.pm +++ b/PVE/Network/SDN/VxlanPlugin.pm @@ -128,6 +128,9 @@ sub generate_sdn_config { push @iface_config, "bridge_fd 0"; push @iface_config, "mtu $mtu" if $mtu; push @iface_config, "alias $alias" if $alias; + push @iface_config, "ip-forward on" if $ipv4; + push @iface_config, "ip6-forward on" if $ipv6; + push @iface_config, "arp-accept on" if $ipv4||$ipv6; push @iface_config, "vrf $vrf" if $vrf; push(@{$config->{$vnetid}}, @iface_config) if !$config->{$vnetid}; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel