I have set up a virtual networking on my CentOS 7 Workstation and the primary physical network interface is bridged as per this RHEL article.

libvirtd is running successfully, however after reboot this is what happens

virsh net-list --all
Name                 State      Autostart     Persistent
default              inactive   yes           yes

If I try to start the default bridge. This is what I get

virsh net-start default 
error: Failed to start network default
error: internal error: Network is already in use by interface virbr0

So put the virtual bridge (virbr0) down and deleted the default bridge.

ifconfig virbr0 down
virsh net-start default 
Network default started

virsh net-list --all
Name                 State      Autostart     Persistent
default              active     yes           yes

Once the virtual bridge (default) is active, I completely loose internet connectivity on my KVM host. Cannot ping www.google.com

Any idea why might be happening or any miss configuration that has occurred? I have the following interface scripts

Primary physical interface: ifcfg-enp1s0


Virtual Bridge interface: ifcfg-virbr0


2 Answers 2


Remove the autostart from the network definition. It is being started by the network manager. The two configurations may be conflicting. virsh may report the interace as inactive even if it is up. Whatever you define your bridge as, it neeeds to be declared to libvirt. You will need to ensure the network configuration is complete.

Alternatively, you can delete the external bridge definition, but that may cause issues for applications running on the host.

I prefer to define the bridge using the host tools. This ensures things aren't changed there and allows me to manage the networking with one set of tools.

I generally test the networking in stages.

  • Access to the host
  • Access to the lan the host is connected to
  • Access to the network/internet

Someone has created a manual configuration for the virbr0 virtual bridge interface, which is supposed to be managed by libvirt. The instructions you linked to state that it should instead be created for the br0 bridge interface.

You should change all occurrences of virbr0 in those ifcfg- files to br0. The name actually does not matter, but it must not be virbr0, which is the libvirt-managed interface.

  • Thanks @Michael Hampton. I created the files manually with the vivbr0 as the name of the bridge. Let me change and see if that makes any difference. Jul 28, 2019 at 2:19
  • Tried removing all instances of virbr0 and renamed to just br0, however, the problem persists. After reboot the default state is inactive on the host and as soon as the bridge is made active, the host looses internet connectivity. Jul 28, 2019 at 2:36
  • @hypersonics Then how is your host connected to the network to begin with? Jul 28, 2019 at 2:39
  • my host is physically connected using the ifcfg-enp1s0 and then the script is modified as stated above, that is, it is bridged to br0 Jul 28, 2019 at 2:42
  • @hypersonics How do you have internet connectivity before the bridge is up, then? Jul 28, 2019 at 2:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .