- 论坛徽章:
- 0
|
原帖由 jobsmail 于 2006-5-26 11:04 发表
我是这么添加的:
ifconfig pcn0:1(以后再添加可顺序为2、3、4。。。。。。) plumb 10.1.10.1 netmask 255.255.255.0
然后将此命令行加入/etc/rc3.d目录下任意一个S开头的文件
no need to write a startup scrip, just create /etc/hostname:hmeX (hme is NIC, could be ce, ge, qfe, etc. X is a non-zero integer), put the hostname of the new IP onto it, and then, modify /etc/netmasks (adding the networkmask for hmeX).
manually configure: ifconfig NIC addif IP_ADDRESS netmask NETWORK_MASK up
NIC is hme, ce, etc.
Anyway, what 风之幻想 said is correct, except for "ipconfig". |
|