ubuntu 网卡的配置文件
作者:admin 日期:2007-4-1 22:13:32
好吧,这些是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
#####################################
关于网卡的配置文件,位置在/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
#####################################
评论: 2 | 引用: 0 | 查看次数:
回复
卢强
[2009-3-11 16:39:06 [Report Spam] ]
ubuntu网卡配置文件
晕,我还以为这是发邮件的呢,原来是留言呀
发表评论
上一篇
下一篇
Tags: