Cannot rename interface 'bridge3' to 'virbr0' on this platform: Function not implemented

Software environment

  • Operating system: macOS 12.2.1
  • Architecture: arm64
  • kernel version: 21.3.0
  • libvirt version: 8.1.0
  • Hypervisor and version: qemu, 6.2.0

Description of problem

Steps to reproduce

  1. Create network using attached xml
  2. Attempt to start it

Additional information

console output

$ sudo virsh net-list --all
 Name              State      Autostart   Persistent
------------------------------------------------------
 vagrant-libvirt   inactive   no          yes


$ sudo virsh net-dumpxml vagrant-libvirt
<network ipv6='yes'>
  <name>vagrant-libvirt</name>
  <uuid>c0192a45-3e4f-4799-9ca4-09b673478cfc</uuid>
  <forward mode='nat'/>
  <bridge name='virbr0' stp='on' delay='0'/>
  <mac address='52:54:00:7e:4e:25'/>
  <ip address='192.168.121.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.121.1' end='192.168.121.254'/>
    </dhcp>
  </ip>
</network>

$ sudo virsh net-start vagrant-libvirt
error: Failed to start network vagrant-libvirt
error: Cannot rename interface 'bridge4' to 'virbr0' on this platform: Function not implemented

Investigation originally started in https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1449

Edited by Andrei Lisnic