You are not logged in.

#1 2024-06-09 16:50:29

shadf1g
Member
Registered: 2023-02-25
Posts: 10

dnsmasaq fails to create listenig socket

I have multiple kvm virtual machines that I use on a semi-regular basis. Today I noticed, that none of them seem to be able to connect to the internet.

I still don't know why, as I do not remember changing anything that would affect this after my last usage of said VMs.

After some trouble shooting I noticed, that dnsmasq is not installed apparently. So I installed it, activated it and then rebooted my machine.

When I tried to boot one of the VMs I got the error that the network 'default' is not active.

And indeed, virsh net-list --all does commemorate that with

 Name      State      Autostart   Persistent
----------------------------------------------
 default   inactive   yes         yes

but virsh net-start default returns the error

error: Failed to start network default
error: 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_leaseshelper) unexpected exit status 2: 
dnsmasq: failed to create listening socket for 192.168.122.1: Address already in use

I don't know what to do now.
I'd appreciate any help with this and thank you in advance for any advice.

Offline

Board footer

Powered by FluxBB