As you know “virbr0” is created by libvirtd service . It will create a bridge called “virbr0” when libvirt deamon start in your system. It will act as a gateway for the VMs to route traffic. libvirtd will also insert iptables rules in iptable configuration for proper routing/natting of VM packets. I have seen requests to delete this bridge in some setup.
If you don’t want to use libvirtd service, you can stop the same which will pull all these network configurations from the system.
If you want to use libvirtd and dont want “virbr0”, here is the way
First list the network configuration via virsh command
Below command can be used to see a list of all virtual networks
[terminal]
[root@humbles-lap qemu]# virsh net-list –all
Name State Autostart
—————————————–
default active yes
[root@humbles-lap qemu]# brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.000000000000 yes
[/terminal]
Below one can be used to shutdown the desired running network. Here “default” is the network name.
[terminal]
[root@humbles-lap qemu]# virsh net-destroy default
Network default destroyed
[/terminal]
Now virbr0 and its iptables configuration has been removed..
[terminal]
[root@humbles-lap qemu]# brctl show
bridge name bridge id STP enabled interfaces
[root@humbles-lap qemu]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@humbles-lap qemu]#
[/terminal]
If you want to permanently remove the network use, ‘virsh net-undefine’ command.
That’s it. See you in next blog!
Copyright secured by Digiprove © 2018 Humble Chirammal
KVM is a virtualization teolonhcgy that only works with Linux as host operating system; if your host operating system is Windows 7 this post is not very useful for you. If your objective is to run Debian or any other linux under Windows 7, then you should give a try to VirtualBox, a desktop virtualization tool that also supports Windows 7 as host. I’m pretty sure any linux can run as guest OS under VirtualBox.If on the other hand you want to exercise KVM, then you need to set up a linux box for that.
I dont really get the point you are making here! however KVM is one of the best virtualization solutions in the market!
Thank you for this page. I’m running Fedora 21 and all of a sudden NetworkManager started handling virbr0 so it would just keep spinning in my systray saying it was requesting an IP for virbr0. Quite annoying. Problem solved thanks to your site. Much appreciated.
yw! glad that you found this useful!