请教添加第二块网卡地址方法:在线等待

由 尘飞扬 在 07-26-2003 11:46 发表:

请教添加第二块网卡地址方法:在线等待

请问在字符界面下添加第二块网卡IP的方法:

netconfig eth1

这样可以么?


清风徐来尘飞扬


由 lmkch 在 07-26-2003 14:55 发表:


DEVICE="eth0:0"

IPADDR="192.168.0.2"

NETMASK="255.255.255.0"

ONBOOT="yes"

照这个添加一个文件在

/etc/sysconfig/network-scripts/ifcfg-eth0:0就可以了。


由 llcspring 在 07-26-2003 15:01 发表:


#ifconfig eth1 down

#ifconfig eth1 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255

#ifconfig eth1 up<

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus