[root@server10 network-scripts]# vim /etc/ifcfg-br0 #创建ifcfg-eth0文件,并写入以下内容
DEVICE="bro"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Bridge"
BOOTPROTO=none
IPADDR=192.168. 1.63
NETMASK= 255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
TYPE="Bridge",B要大写
DEVICE="bro"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Bridge"
BOOTPROTO=none
IPADDR=192.168. 1.63
NETMASK= 255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
TYPE="Bridge",B要大写
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9034054/viewspace-1981332/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9034054/viewspace-1981332/