|
发表于 2008-11-23 00:31:02
|
显示全部楼层
现趸现卖,编辑/etc/rc.d/rc.inet1.conf,类似下面这样:
# Config information for eth0
IPADDR[0]="192.168.0.1"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
# Config information for eth0:1
IFNAME[1]="eth0:1"
IPADDR[1]="192.168.1.12"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]="" |
|