虚拟机无法ping通外网
vi /etc/sysconfig/network-scripts/ifcfg-ens33
TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=ens33 UUID=23c51519-d9d9-4e24-831a-c899da5283af DEVICE=ens33 ## no更改成yes ONBOOT=yes
重启网络
service network restart
----树梢尖上众山小