5 ubuntu修改网关
ubuntu修改网关
参考博客:http://t.zoukankan.com/kex1n-p-5195825.html
#1查看网关 route -n #2 修改网关 vim /etc/network/interfaces #修改网关 vim /etc/NetworkManager/NetworkManager.conf #managed=true #3 修改dns vim /etc/resolv.conf #nameserver 192.168.2.1(个人网关) #nameserver 114.114.114.114 #nameserver 8.8.8.8 #nameserver 8.8.4.4 #4 重启 sudo reboot
作者:华王
博客:https://www.cnblogs.com/huahuawang/