VM network freeze after proxmox networking service restart

Naocha

Member
Dec 17, 2019
3
1
23
33
Hello,

I am using proxmox 6.1-3.

Problem is that, if I stop proxmox networking service (systemctl stop networking.service), and start it back again, vm-s connection are not restoring automatically.

To fix this, I have to edit something(does not matter what) in the "network device" settings of each vm. For example enable/disable firewall, or change/change back bridge interface. and vm connection is released.

Any ideas about these issue?
 
This is (sadly) the behavior of `ifupdown` if you restart the networking the bridge interface gets recreated - and while doing so the associations bridge <-> guest interface are lost.

by installing ifupdown2 you can use the provided `ifreload` executable to live-reload the configuration (PVE 6.1 has added support for this to the GUI)

I hope this helps!
 
This is (sadly) the behavior of `ifupdown` if you restart the networking the bridge interface gets recreated - and while doing so the associations bridge <-> guest interface are lost.

by installing ifupdown2 you can use the provided `ifreload` executable to live-reload the configuration (PVE 6.1 has added support for this to the GUI)

I hope this helps!
If this has occurred, is there a fix that does not involve rebooting the proxmox server?
 
If this has occurred, is there a fix that does not involve rebooting the proxmox server?
in theory you could use `brctl addif vmbr0 <fwprVMIDiINTERFACENUM>/<tapVMIDiINTERFACENUM>` for all guest interfaces
(for the firewalled interfaces you need to recreate the fwbr interfaces and then add the fitting veth and fwln interfaces to them)

put shortly - I would really recommend to reboot the host to get to a clean state
 
in theory you could use `brctl addif vmbr0 <fwprVMIDiINTERFACENUM>/<tapVMIDiINTERFACENUM>` for all guest interfaces
(for the firewalled interfaces you need to recreate the fwbr interfaces and then add the fitting veth and fwln interfaces to them)

put shortly - I would really recommend to reboot the host to get to a clean state

Hi Stoiko,

Thank you for the reply and clarification. It was helpful.
 
  • Like
Reactions: Stoiko Ivanov
in theory you could use `brctl addif vmbr0 <fwprVMIDiINTERFACENUM>/<tapVMIDiINTERFACENUM>` for all guest interfaces
(for the firewalled interfaces you need to recreate the fwbr interfaces and then add the fitting veth and fwln interfaces to them)

put shortly - I would really recommend to reboot the host to get to a clean state
For the sake of completeness, can you confirm that this also applies to proxmox 7.x ?