However when I create a new vm with virsh, the networking wont work at all. It wont get a dhcp lease.
I have tried disabling the usual suspects firewalld and selinux as test to see if those are the problem but no they're not.
First I created the bridges with nm but now changed the method to systemd-networkd but on both same issue arises.
Also when I have to shutdown the new vms which runs ubuntu 20.04 and 22.04, I get no response. I have to destroy them.
Non working vm interface setup:
and a working one:<interface type='bridge'>
<mac address='52:54:00:8b:63:ea'/>
<source bridge='br1'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
bridges to firewall vm:<interface type='bridge'>
<mac address='52:54:00:3a:c4:13'/>
<source bridge='br1'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
output of neworkctl:<interface type='bridge'>
<mac address='52:54:00:97:d4:8e'/>
<source bridge='br0'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
interface type='bridge'>
<mac address='52:54:00:15:8d:7f'/>
<source bridge='br1'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='52:54:00:b0:0a:6d'/>
<source bridge='br2'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='52:54:00:23:db:22'/>
<source bridge='br3'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
</interface>
br3 is currently not on use1 lo loopback carrier unmanaged
2 enp1s0 ether routable configured
3 ens1f0 ether enslaved configured
4 ens1f1 ether enslaved configured
5 ens1f2 ether enslaved configured
6 ens1f3 ether no-carrier configured
7 br0 bridge routable configured
8 br1 bridge routable configured
9 br2 bridge routable configured
10 br3 bridge degraded-carrier configured
11 vnet0 ether enslaved unmanaged
12 vnet1 ether enslaved unmanaged
13 vnet2 ether enslaved unmanaged
14 vnet3 ether enslaved unmanaged
15 vnet4 ether enslaved unmanaged
16 vnet5 ether enslaved unmanaged
22 vnet10 ether enslaved unmanaged
Also when I chech ips with ip a on hypervisor I get ip on every bridge when I want one only on br1...I don't understand what I have misconfigured since br2 and br3 didnt get ip's on previous fedora34 hypervisor with similar setup
ip a:
r1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 7a:6d:56:af:bc:ec brd ff:ff:ff:ff:ff:ff
inet 192.168.10.101/24 metric 1024 brd 192.168.10.255 scope global dynamic br1
valid_lft 39782sec preferred_lft 39782sec
inet6 fe80::786d:56ff:feaf:bcec/64 scope link
valid_lft forever preferred_lft forever
9: br2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 06:6a:75:91:a1:4b brd ff:ff:ff:ff:ff:ff
inet 192.168.20.102/24 metric 1024 brd 192.168.20.255 scope global dynamic br2
valid_lft 34448sec preferred_lft 34448sec
inet6 fe80::46a:75ff:fe91:a14b/64 scope link
valid_lft forever preferred_lft forever
10: br3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 9a:12:7e:54:b5:c9 brd ff:ff:ff:ff:ff:ff
inet 192.168.30.100/24 metric 1024 brd 192.168.30.255 scope global dynamic br3
valid_lft 34351sec preferred_lft 34351sec
inet6 fe80::9812:7eff:fe54:b5c9/64 scope link
valid_lft forever preferred_lft forever