[原]RHEL6 网络桥接

桥接br0 配置如下:

[root@localhost network-scripts]# cat ifcfg-em1

DEVICE=em1
TYPE=Ethernet
#HWADDR=**:**:**:**:**:**
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br0
-----------------------------------------------------
[root@localhost network-scripts]# cat ifcfg-br0

DEVICE=br0
TYPE=Bridge
NM_CONTROLLED=no
BOOTPROTO=static
ONBOOT=yes
IPADDR="192.168.77.80"
NETMASK="255.255.255.0"
GATEWAY="192.168.77.1"

posted @ 2012-09-17 16:00  念槐聚  阅读(320)  评论(0编辑  收藏  举报