I've got a TrueNAS guest VM in my CentOS 9 Stream that can't see the network. I'll put relevant details in below:
Here are my bridges:
[iucharbius@localhost ~]$ brctl show
bridge name bridge id STP enabled interfaces
br0 8000.1402ec8a6420 yes eno49
vnet0
docker0 8000.02423ebaf669 no veth18321c6
virbr0 8000.525400d0ca01 yes
Here is eno49.nmconnection:
[connection]
id=eno49
uuid=a4333c11-a122-4017-9ec4-8085f2aee4e0
type=ethernet
interface-name=eno49
master=br0
slave-type=bridge
[ethernet]
[bridge-port]
Here's eno49 and br0 from ifconfig:
eno49: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 14:02:ec:8a:64:20 txqueuelen 1000 (Ethernet)
RX packets 129036 bytes 16465615 (15.7 MiB)
RX errors 0 dropped 751 overruns 0 frame 0
TX packets 16848 bytes 1127609 (1.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.5.30 netmask 255.255.255.0 broadcast 192.168.5.255
inet6 fe80::ed95:8bee
ether 14:02:ec:8a:64:20 txqueuelen 1000 (Ethernet)
RX packets 115028 bytes 12838026 (12.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2178 bytes 310416 (303.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virsh net-edit for the vm's network adaptor ("bridged-network"):
<network>
<name>bridged-network</name>
<uuid>3a5ed8a5-fe11-4ec5-bd7e-0b3a9411dea7</uuid>
<forward mode='bridge'/>
<bridge name='br0'/>
</network>
Here's the NIC from virsh edit:
<interface type='network'>
<mac address='52:54:00:85:9c:67'/>
<source network='bridged-network'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
Lastly, if I look at the NIC in the GUI, I see that it has been assigned an IP address (and I can find that IP address in the correct network on my router). Pings to that IP from the same network - or any other network - go unreturned. The weird thing is that it worked for a few days after I set it up, being done in by a server reboot.
Any idea where I can start looking? Is there anything that I can provide to help with diagnosing this?
Thanks,
-Bill