vm网络设置
设置NET模式
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0" BOOTPROTO="static" HWADDR="00:0C:29:57:97:33" NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Ethernet" UUID="95cbf2a4-cfec-4f44-a012-5f65313840da" IPADDR="192.168.67.134" NETMASK="255.255.255.0" GATEWAY="192.168.67.2" DNS="221.131.143.69"
service network restart
cat /etc/resolv.conf
cat /etc/resolv.conf nameserver 221.131.143.69 search cache-dns.local
服务裁剪 http://www.aiuxian.com/article/p-5850.html
桥接方式:http://www.cnblogs.com/liongis/p/3265458.html