#1.重置网络 sudo service network-manager stop sudo rm /var/lib/NetworkManager/NetworkManager.state sudo service network-manager start #2.配置网络
# 查看网卡信息 ifconfig -a
# 设置地址和掩码 sudo ifconfig ens33 192.168.10.99 netmask 255.255.254.0 # 设置网关
sudo route add default gw 192.168.254.0