(Last Updated On: March 22, 2018)
This is a how to Create and Configure Bridge Networking For KVM in Linux –  RHEL, CentOS 7.x, CentOS 6.x, Ubuntu 16.04, Ubuntu 14.04, Debian 8 Jessie, Debian Wheezy and all other Debian Derivatives.
We have different ways to configure Networking in KVM; to allow Virtual Machines to Access external network.The default network used by a Virtual Machine launched in KVM is NAT network.With NAT networking, a virtual network is created for the guest machines which is then mapped to host network to provide external network connectivity.
When you configure and use Bridged networking, guest operating systems access external network connected directly to the host machine.
Bridged networking is also referred to as physical device sharing and it dedicates a physical device to a virtual machine.
A bridge can be created either using Virt-Manager, using virsh command line tool, directly editing network scripts or using Linux Network management tools.

Method 1: Creating Bridge Network using Virtual Machine Manager.

  1. Open Virtual Machine Manager,
  2. Go to Edit > Connection Details > Network Interfaces
  3. Configure a new network interface by clicking the + at the bottom of the window.
  4. Make sure interface type is set to “bridge”
  5. Click Forward button, on next window, set a name of the bridge, start mode and whether to activate immediately.The following are start modes can be used for creating bridge network:

none – This deactivates the bridge created
hotplug – This will activate the bridge even if the guest virtual machine is running
onboot -With this, the bridge is activated on the next guest virtual machine reboot

  1. Choose the interface you are bridging and finish setting up.

Method 2: Create a bridge based on an interface using the command line ( Universal):

For example, to create a bridge name br10 based on eno1 interface, we would enter:

virsh iface-bridge eno1 br10

Method 3: Create a bridge by editing network script (CentOS / RHEL):

Below script will create a bridge called br10,

vi /etc/sysconfig/network-scripts/ifcfg-br10

Enter contents below:


The configuration of eno1 interface that i’m bridging to will be:

# root at controller in ~ [23:56:58]
→ cat /etc/sysconfig/network-scripts/ifcfg-eno1 

If your network uses MAC filtering, you can add the mac address of interface allowed to access internet by MAC address filter.Replace XX:XX:XX:XX:XX:XX with correct mac address.
Restart your network daemon.

systemctl restart network.service

Since NetworkManager does not support bridging, it has to be disabled in order to use network scripts located in /etc/sysconfig/network-scripts/ directory.If you don’t want to completely disable NetworkManager, add “NM_CONTROLLED=no” to the network script used for bridging link.
If you would like to totally disable NetworkManager, do:

# systemctl disable NetworkManager
# systemctl enable network
# systemctl stop NetworkManager
# systemctl start network

Method 4: Using Nmcli tool ( Work on Debian 8, CentOS 7.X,RHEL 7.x)

nmcli connection add type bridge autoconnect yes con-name br10 ifname br10 
nmcli connection modify br10 ipv4.addresses ipv4.method manual 
nmcli connection modify br10 ipv4.gateway
nmcli connection modify br10 ipv4.dns

Stop and restart both Network manager and Networking:

systemctl stop NetworkManager
systemctl stop network
systemctl start NetworkManager 
systemctl stop network

Method 5: Editing Network Script file ( All Ubuntu systems, Debian derivatives like Kali Linux, Linux Mint, Xubuntu, Kubuntu e.t.c.)

Configure Bridging interface:

cat >> /etc/network/interfaces<< EOF
auto br10 
iface br10 inet static
bridge_ports eth0
bridge_stp off

Disable all lines on eth0 interface section to look something like below:

auto eth0
iface eth0 inet manual

You should now have a working Bridge network interface added.

Deleting a bridge interface

If you no longer need a bridge, you can easily delete it by:
First removing network interfaces from the bridge:

 root at controller (~)
└─>brctl delif  br10  eno1  

Then bring it down and delete:

┌── root at controller (~)
└─>ifdown br10
┌── root at controller (~)
└─>brctl delbr br10

How to configure KVM Bridging interface in Linux
How to Create and Configure Bridge Networking For KVM in Linux
Create, configure and make KVM Network bridge functional
KVM and Bridging on CentOS Linux

How To Clone and Use KVM Virtual Machine in Linux