因為家裡有多台電腦,想設定內部網路的固定ip
長得像降 192.168.0.10 ;192.168.0.11 ;192.168.0.12這樣
google最新的文章是下面這個連結
https://caloskao.org/ubuntu-nic-configure/
照著方法做了,ip可以固定
可是dns server不管怎麼設定都不對~~
不能對外連網路
8.8.8.8 8.8.4.4 還有其它dns 都試過都不行~~
設定檔裡面我是用這樣,我的路由器是192.168.0.2 Gateway 我設一樣
不知會不會是這裡有問題??
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.0.12
netmask 255.255.255.0
gateway 192.168.0.2
dns-nameservers 8.8.8.8
搞好久無解~上來請教高手