1. Enter the network parameters script directory
[Email protected] ~]# cd/etc/sysconfig/network-scripts/
2. Edit the following three files
* IFCFG-BR0
Device=br0
Onboot=yes
Type=bridge
Bootproto=static
ipaddr=192.168.0.250
netmask=255.255.255.0
Stp=on
Delay=0
*ifcfg-eth0
Device=eth0
Type=ethernet
Onboot=yes
Nm_controlled=yes
Bootproto=static
ipaddr=0.0.0.0
Bridge=br0
Ipv6init=no
Userctl=no
*ifcfg-eth1
Device=eth1
Type=ethernet
Onboot=yes
Nm_controlled=yes
Bootproto=static
ipaddr=0.0.0.0
Bridge=br0
Ipv6init=no
Userctl=no
3, before this shutdown networkmanager (very large probability will cause interference to the configuration, so the strong column is recommended to close)
Service NetworkManager Stop
Chkconfig NetworkManager off
Chkconfig--del NetworkManager
This article is from the "Wind Up! billows!" blog, be sure to keep this source http://superzxh.blog.51cto.com/27819/1671520
CentOS 6.5 Bridge configuration