You are not logged in.
I am having trouble getting libvirtd active and cannot see the virtual network interface (virbr0) when I run "ip a"
Both dnsmasq and libvirtd are enabled, both are active on start up, but systemctl status libvirtd shows some errors:
Jan 20 11:42:32 arch-AG systemd[1]: Starting libvirt legacy monolithic daemon...
Jan 20 11:42:32 arch-AG systemd[1]: Started libvirt legacy monolithic daemon.
Jan 20 11:42:33 arch-AG libvirtd[3368]: libvirt version: 11.0.0
Jan 20 11:42:33 arch-AG libvirtd[3368]: hostname: arch-AG
Jan 20 11:42:33 arch-AG libvirtd[3368]: internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_le>
dnsmasq: failed to create listening socket for 192.168.122.1: Address already in use
Jan 20 11:42:33 arch-AG libvirtd[3368]: Cannot get interface flags on 'virbr0': No such device
Jan 20 11:42:34 arch-AG libvirtd[3368]: error destroying network device virbr0: No such device
systemctl status dnsmasq doesn't show any errors. The dnsmasq.conf file is unedited (everything is still commented out). I am using KDE plasma so NetworkManager is up and running correctly. I currently have systemd-resolved disabled because I noticed that was causing issues with dnsmasq.
I am not sure why it is trying to use that address (192.168.122.1) and even though it is, I am not sure why its saying the address is already in use. My host OS has the address of 192.168.1.72. I also don't know how to resolve the last two lines from the output, how can I get the interface flags for virbr0?
Any help would be greatly appreciated.
Last edited by Karthain (2025-01-20 20:18:06)
Offline
Jan 20 11:42:33 arch-AG libvirtd[3368]: Cannot get interface flags on 'virbr0': No such device
Jan 20 11:42:34 arch-AG libvirtd[3368]: error destroying network device virbr0: No such devicesystemctl status dnsmasq doesn't show any errors. The dnsmasq.conf file is unedited (everything is still commented out). I am using KDE plasma so NetworkManager is up and running correctly. I currently have systemd-resolved disabled because I noticed that was causing issues with dnsmasq.
I also don't know how to resolve the last two lines from the output, how can I get the interface flags for virbr0?
Do you have other virtual machines running? It seems to me like 192.168.122.1 is the address of your virtual machine. You can use 'lsof' to investigate why/who/what is occupying this address.
Edit: well, actually not 'lsof', has to be some other tool.
Re:virbr0... if you're not using virt-manager, you will have to create virbr0 yourself via virsh but virt-manager will do this automatically(?!?!) can't recall exactly.
Last edited by ReDress (2025-01-24 06:32:38)
Offline