Much cleaner is adding these lines to /etc/rc.d/rc.inet1.conf where the network configuration for your eth0 is done too:
Code:
# Config information for eth0:0
IFNAME[1]="eth0:0"
IPADDR[1]="XXX.XXX.XXX.XXX"
NETMASK[1]="YYY.YYY.YYY.YYY"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
After which you can run
Code:
/etc/rc.d/rc.inet1 eth0:0_start
to start the interface. And it will automatically be configured and started on boot.
Change the XXX.XXX.XXX.XXX and YYY.YYY.YYY.YYY to your TCPIP parameters.
Eric