ubuntu 网卡的配置文件

好吧,这些是newbie问题,没人回答,我来回答吧,不过,你还是看看文档先,我的建议
关于网卡的配置文件,位置在/etc/network/interfaces里,你可以man 8 interfaces查看详细的帮助。给出一个样例:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.7
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 61.233.9.9
dns-nameservers 211.98.2.4

#####################################
引用通告: 我要引用此文章
Tags:
相关日志:
评论: 2 | 引用: 0 | 查看次数:
回复 卢强 [2009-3-11 16:39:06 [Report Spam] ]
ubuntu网卡配置文件
回复 卢强 [2009-3-11 16:39:53 [Report Spam] ]
晕,我还以为这是发邮件的呢,原来是留言呀
发表评论
昵 称:
邮 箱:
主 页:
内 容: