0

bridged network is not working

In refernce i came to know that virtual machines should get IP, so i start doing bridging, it got stuck with error. How to configure the bridged setup?

Network Management Protocol Bridge Interface Add a comment
christian
asked May 08 2017

Answer

0

At first check availability of two packages bridge-utils and tunctl if not installed, do it with yum install command.

Create a new file as follows.

# vi /etc/sysconfig/network-scripts/ifcfg-br0

Place the contents as shown below.

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
DNS1=8.8.8.8
GATEWAY=192.168.1.1
IPADDR=192.168.1.50
NETMASK=255.255.255.0
ONBOOT=yes

Now change the ifcfg-eth0 file as shown below,

DEVICE=eth0
HWADDR=00:22:4D:9F:8F:F9
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
BRIDGE=br0

Once its all set, restart the network service and check with ifconfig command.

Add a comment
jagannatharumugam
asked May 09 2017
edited Oct 05 2018
Post your Answer