按照1.7的设置有问题后,上不了网的,可以查看下:

确认都没问题后:dhclient -r 重新dhclient获取新的地址。然后再网卡配置里修改成dhclient获取到的IP 改成后记得重启网卡:systemctl restart network.service