HOWTO Add New System IP Address

From Bicom Systems Wiki

To add a new system IP address:

  • Login to the system shell as a root user
  • Edit the net file
 nano /etc/conf.d/net
  • Add the following lines (Change $IP and $NETMASK with appropriate values)
 config_eth1=( "$IP netmask $NETMASK brd $IP" )
 routes_eth1=( "default gw $IP" )
  • Naviate to the init.d directory
 cd /etc/init.d
  • Configure and start the eth service
 ln -s net.lo net.eth1
 rc-update add net.eth1 default
 /etc/init.d/net.eth1 start