This is a very strange issue that I'm having on some of my dedicated servers.
Every time I reload the network interfaces with ifupdown2 installed (Example: When applying changes to the SDN network) all traffic in the VMs and containers break.
However there is a fix to this...
Yup, toggling ip forward to off and then on fixes the issue. You can not just do "echo 1 > /proc/sys/net/ipv4/ip_forward", you need to disable it and then enable it, then the network is fixed.
What can cause this issue? I mean, it is a annoying issue but at least the fix is very easy.
But what is very strange is that this issue is *not* affecting all of my dedis, only two of my four dedicated servers.
Something worth nothing: All of them were installed via OVH/SoYouStart templates, *however* the two that are being affected by this issue used the Proxmox 6 template, while the other two that weren't affected were installed via the Proxmox 5 template and then upgraded to Proxmox 6.
Every time I reload the network interfaces with ifupdown2 installed (Example: When applying changes to the SDN network) all traffic in the VMs and containers break.
However there is a fix to this...
Code:
echo 0 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/ip_forward
Yup, toggling ip forward to off and then on fixes the issue. You can not just do "echo 1 > /proc/sys/net/ipv4/ip_forward", you need to disable it and then enable it, then the network is fixed.
What can cause this issue? I mean, it is a annoying issue but at least the fix is very easy.
But what is very strange is that this issue is *not* affecting all of my dedis, only two of my four dedicated servers.
Something worth nothing: All of them were installed via OVH/SoYouStart templates, *however* the two that are being affected by this issue used the Proxmox 6 template, while the other two that weren't affected were installed via the Proxmox 5 template and then upgraded to Proxmox 6.