我是Ubuntu 14.10的新手,我最近安装了Ubuntu 14.10,并
使用/etc/network/interfaces
文件中的静态IP如下配置了以太网接口。而且我还在/etc/reslov.conf
文件中添加了DNS服务器。
但是,当我用Google搜索某些内容时,它会显示类似“找不到服务器,请检查您的Internet连接”之类的错误。
/ etc / network / interfaces中的以太网接口配置
auto eth0
iface eth0 inet static
address 10.X.X.X
gateway 10.X.X.X
netmask 255.X.X.X
auto eth1
iface eth1 inet static
address 192.X.X.X
gateway 192.X.X.X
netmask 255.X.X.X
/etc/resolv.conf中的DNS服务器配置
nameserver 10.X.X.X
Finally all is good. Actually i am using two interface card,
previously i configured these two in wrong way, i did ones setting to others and
others setting to ones. When i exchange the cables for these two interfaces, i found that it is working fine.
感谢@ begueradj,@ Thushi,@ user3386914的意见
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句