1.要是出现brctl not found 则要装包
- [root@server8 /]# yum install bridge-utils.x86_64
- [root@server8 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
- DEVICE="eth0"
- BOOTPROTO="dhcp"
- ONBOOT="yes"
- BRIDGE=br0
- [root@server8 ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
- DEVICE="br0"
- BOOTPROTO="static"
- ONBOOT="yes"
- TYPE=Bridge
- DELAY=0 支持虚拟机PXE网络引导
- IPADDR=192.168.0.89
- GATEWAY=192.168.0.254
- NETMASK=255.255.255.0
- DNS1=192.168.0.254
- yum groupinstall desktop "x windows" 装桌面
本文转自 369蓝宝 51CTO博客,原文链接:http://blog.51cto.com/3739387/1128385,如需转载请自行联系原作者