cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
11.26k stars 1.12k forks source link

Problem creating bridge with physical interface as member in ubuntu #19452

Open amunhoz opened 1 year ago

amunhoz commented 1 year ago

Explain what happens

  1. Hi, i'm trying to configure pfsense in a vm with cockpit. However, i'm trying to configure the LAN port with a new bridge connected to a physical interface. When i configure with the host on, it works fine (the bridge has only one interface as member).

  2. However, after a reboot, the bridge lost the connection with the physical interface, exchanging it for a 'vnet0' interface, and it stop working.

  3. If i try to reconfigure again and reboot, it creates another 'vnet1' interface. In this scenario, i cant use my firewall since it does not bridge with my local lan with the physical interface.

Version of Cockpit

cockpit 300.1-1~bpo22.04.1

Where is the problem in Cockpit?

Networking

Server operating system

Ubuntu

Server operating system version

22.04

What browsers are you using?

Firefox

System log

No response

amunhoz commented 1 year ago

Tried with a virtual network too, after a reboot, it deactivate the virbr0 interface and refused to activate again, saying there was another interface with the same name. Not working too.

Only keep the configuraton if i create the bridge directly in netplan configuration, but not working as expected.

Tried over and over again, all the bridges lost the link with the physical interface after the reboot.

Update 1: Tried with a fresh ubuntu 20.04, same thing. The bridges lost their link with the physical interface. Had to change netplay configuration with the line below too in all cases, otherwise, the interfaces stay unmanaged network: renderer: NetworkManager

Update 2: It's working on debian 12 without problems, keeping the bridge configuration after the reboot