Hi Christopher,
I tried the commands that you had told in your earlier post. Please find my observations below.
Packages in “virt-manager”
When the “virt-manager” package was installed, few dependencies were also installed. This is the list of packages that got installed.
- virt-manager
- libvirt-daemon-config-network
- python3-libvirt
- virt-manager-common
Here, the package that’s important (from what I have understood) is “libvirt-daemon-config-network”. So, I retained this package and deleted the remaining three.
Executing “sudo systemctl start libvirtd.service” after reboot
After every reboot, I’ve to execute the command “sudo systemctl start libvirtd.service”.
This is the output of the “ip address” command before and after the execution of “sudo systemctl start libvirtd.service”.
Before:
10:53:49 ~ > ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether b4:b5:2f:36:ca:92 brd ff:ff:ff:ff:ff:ff
altname enp1s0
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 74:e5:43:c3:04:5f brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 192.168.45.194/24 brd 192.168.45.255 scope global dynamic noprefixroute wlo1
valid_lft 3551sec preferred_lft 3551sec
inet6 2409:4071:2409:c79f:f018:3a9f:b186:f757/64 scope global dynamic noprefixroute
valid_lft 3587sec preferred_lft 3587sec
inet6 fe80::7a45:7d2e:e345:fc8d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
After:
10:58:44 ~ > ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether b4:b5:2f:36:ca:92 brd ff:ff:ff:ff:ff:ff
altname enp1s0
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 74:e5:43:c3:04:5f brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 192.168.45.194/24 brd 192.168.45.255 scope global dynamic noprefixroute wlo1
valid_lft 3266sec preferred_lft 3266sec
inet6 2409:4071:2409:c79f:f018:3a9f:b186:f757/64 scope global dynamic noprefixroute
valid_lft 3302sec preferred_lft 3302sec
inet6 fe80::7a45:7d2e:e345:fc8d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:86:64:d2 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
Here, I have pasted a part of the “xml” file of the virtual machine (containing the “interface” information) before and after the execution of “sudo systemctl start libvirtd.service”. No manual editing to the file is done yet, the “systemctl” command itself is doing these updates in the “xml” file.

This is the IP address of the virtual machine before and after the execution of “sudo systemctl start libvirtd.service”.
Before: 10.0.2.15 (“ssh” from host is not possible)
After: 192.168.122.153 (“ssh” from host is possible)
So, after the execution of “sudo systemctl start libvirtd.service”, the “virbr0” bridge is created, and the VM is taking the right IP address such that “ssh” from the host is possible. Further, if the package “libvirt-daemon-config-network” is not installed, then the “virbr0” bridge is not created.
The “systemctl enable libvirtd.service” command
I had executed the command “sudo systemctl enable libvirtd.service” before reboot of host machine. But, I still have to execute “sudo systemctl start libvirtd.service” after every reboot for the “virbr0” bridge to be created.
Please find the output of “systemctl status libvirtd.service” after reboot of host machine, and before and after the execution of “sudo systemctl start libvirtd.service”.
Before:
10:18:35 ~ > systemctl status libvirtd.service
○ libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
TriggeredBy: ○ libvirtd-ro.socket
○ libvirtd.socket
○ libvirtd-admin.socket
○ libvirtd-tcp.socket
○ libvirtd-tls.socket
Docs: man:libvirtd(8)
https://libvirt.org
After:
12:20:29 ~ > systemctl status libvirtd.service
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-01-12 12:20:29 IST; 2s ago
TriggeredBy: ○ libvirtd-tls.socket
○ libvirtd-tcp.socket
● libvirtd.socket
● libvirtd-admin.socket
● libvirtd-ro.socket
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 13864 (libvirtd)
Tasks: 21 (limit: 32768)
Memory: 49.7M
CPU: 649ms
CGroup: /system.slice/libvirtd.service
├─ 2647 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
├─ 2648 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
└─13864 /usr/sbin/libvirtd --timeout 120
Jan 12 12:20:27 fedora systemd[1]: libvirtd.service: Found left-over process 2647 (dnsmasq) in control group while starting unit. Ignoring.
Jan 12 12:20:27 fedora systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 12 12:20:27 fedora systemd[1]: libvirtd.service: Found left-over process 2648 (dnsmasq) in control group while starting unit. Ignoring.
Jan 12 12:20:27 fedora systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 12 12:20:27 fedora systemd[1]: Starting Virtualization daemon…
Jan 12 12:20:29 fedora systemd[1]: Started Virtualization daemon.
Jan 12 12:20:30 fedora dnsmasq[2647]: read /etc/hosts - 2 addresses
Jan 12 12:20:30 fedora dnsmasq[2647]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Jan 12 12:20:30 fedora dnsmasq-dhcp[2647]: read /var/lib/libvirt/dnsmasq/default.hostsfile
So, the “libvirtd.service” is not started by default on every reboot, and I’ve to start it using “sudo systemctl start libvirtd.service”.
Thanks,
Mallikarjun