linux下vmware桥接模式、静态ip上外网的配置
http://blog.****.net/zdh_139/article/details/73456654
虚拟机网络改成桥接模式
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
BROADCAST=192.168.0.255
HWADDR=00:0C:29:CF:92:BB
IPADDR=192.168.0.71
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=202.96.128.166
DNS2=202.96.134.133
IPV6INIT=no
USERCTL=no
重启
service network restart
测试
ping www.baidu.com