How to Remove virbr0 Network Interface Sep 1st 2021 Words: 84

Problem

The virbr0 and virbr0-nic interface is not auto removed after the kvm uninstall on my system, and bugs me every time I list the interfaces.

Solution

  1. List teh network setup
1
2
3
4
# virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
  1. Destroy the network default.
1
2
# virsh net-destroy default
Network default destroyed
  1. Permanently remove the default vitual network from the configuration.
1
2
# virsh net-undefine default
Network default has been undefined

Reference