0

Bridge Configure in Centos

Hi, How do i configure the Bridge interface for my centos machine. I need to install KVM and for installing virutal machines, that i require to configure the bridge adapter interface. Guide me to configure it

CentOS Bridge Interface Add a comment
gibbson
asked Apr 21 2018

Answer

0

First you need to create a Bridge interface as like below

vim /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0"
TYPE=Bridge
DELAY=0
ONBOOT="yes"
BOOTPROTO=static
IPADDR=192.168.7.177
NETMASK=255.255.255.0
NETWORK=192.168.7.0
GATEWAY=192.168.7.1
DNS1=8.8.8.8
PEERDNS="yes"
NM_CONTROLLED=no

and then edit your network configuration file with below mentioned options

vim /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
HWADDR="00:22:4D:9F:27:92"
ONBOOT="yes"
BRIDGE=br0
NM_CONTROLLED=no

Now restart your network service, and it's done

Add a comment
parthiban
asked May 08 2018
edited Oct 05 2018
Post your Answer