Greetings and Best Wishes for 2024 !!
I am running QEMU-KVM on latest EOS.
I have 2 VMs running. One Ubuntu and One Win 11. They do run without a glitch.
I am trying to dump the network xml file and to my surprise I have none.
I have no default networking.
Looking at each VM networking TAB in the GUI, its empty.
Opening my VMs work without a glitch pertaining to the network. For ex, the Ubuntu VM has a 10.0.2.15/24 address being assigned.
Going to /etc/libvirt/qemu/networks/ shows a default xml networking file that I am not allowed to open (my pwd is not accepted) with an empty autostart folder.
First question, since my VM (lets go with Ubuntu) has an ip address assigned to it, where is it coming from ?
Hi beisiris
Happy New Year too.
Please just start one (or all) of your VMs and then enter in the terminal
sudo virsh net-list
Then you should at least get a name of the virtual network.
Then simply search the entire system with
sudo find / -name "Network_Name_From_vshell_comand.xml"
Then you should actually find your configfile.
Thanks for your reply
I get nothing… Empty response. The command works but tells me I have no default networking.
My fault since I was playing with the soft (learning), I decided to remove the default networking and see if I get an IP address. I do indeed get an IP address. I don’t know where its coming from. I cannot dump any network xml file from any of my VMs. All of them are working perfectly. I guess there is a lot more to learn 
virsh net-list
Name State Autostart Persistent
PS: I can modify the network xml file in the GUI.
I don’t have much in it. Its not telling me where is the DHCP server I am looking for !!
<interface type="user">
<mac address="52:54:00:de:1e:6d"/>
<model type="virtio"/>
<alias name="net0"/>
<address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
</interface>
For the context, virt-manager is access via my user. I gave my user all the permission so I can see and handle the QEMU as an admin
virsh uri
qemu:///system
Hast Du es mit ‘sudo’ aufgerufen? Als Standard-User kommt ist bei mir die Liste auch leer:
sudo virsh net-list
I have added a new Networkconfig too, and with this comand above the vNetwork was correct listet.