简单介绍Ubuntu 8.10 局域网络配置
时间:2010-09-06 来源:mydear
我的Ubuntu升级到Ubuntu 8.10后,配置网络有点不同,最终还是搞定了,所以在此告诉大家。如图:Ubuntu 8.10 局域网络配置:
498)this.style.width=498;" src="http://images.51cto.com/files/uploadimg/20100315/1551260.png" alt="Click here to open new window" onclick="window.open('http://Linux.chinaitlab.com/UploadFiles_7565/200811/20081117100303398.png');" onmouseover="if(this.resized) this.style.cursor='hand';" onmousewheel="javascript:return big(this)" class="fit-image" />
498)this.style.width=498;" src="http://images.51cto.com/files/uploadimg/20100315/1551261.png" alt="Click here to open new window" onclick="window.open('http://Linux.chinaitlab.com/UploadFiles_7565/200811/20081117100304398.png');" onmouseover="if(this.resized) this.style.cursor='hand';" onmousewheel="javascript:return big(this)" class="fit-image" />
开始在Prefix填写255.255.255.0结果是“确定”是灰暗的无法点击,弄了半天,在网上查到这一段话:PREFIX,变量配置为子网 使用的位数,IP地址的每个字节是 8bit ,假如子网掩码是255.255.255.0,那么他使用前三个字节(24bit)指定网络号;假如网络掩码是255.255.255.240,他用前 28bit 来指定网络号。长于24bit 的前缀一般由DSL和cable 的ISP(InternetService Providers 因特网服务提供商)使用,我们的例子里(PREFIX=24),子网掩码是255.255.255.0,请根据您的网络情况调整PREFIX变量。
输入24,网络连接正常了。DNS那里填入了还是不能确定。
接下来还有一个问题,无法解析DNS。最终解决办法,查到水源IP是202.120.58.161,版内查询DNS,查到
在 /etc/resolv.conf 里加入
nameserver 202.120.2.101
解决了。
Ubuntu 8.10 局域网络配置介绍完毕!