centos6.9去掉网关地址后依然可以ping通外网。注意要删除掉这2个配置文件里面的GATEWAY,然后重启network:

vi /etc/sysconfig/network-scripts/ifcfg-eth0
vi /etc/sysconfig/network