Software Only Multiple IP Support Setup - HP UX

  1. Log in as superuser and edit the /etc/rc.config.d/netconf file.

    The file contents will resemble the following:

    INTERFACE_NAME[0]=<device name>
    IP_ADDRESS[0]=<IP address>
    SUBNET_MASK[0]=
    BROADCAST_ADDRESS[0]=""
    LANCONFIG_ARGS[0]="ether"
    DHCP_ENABLE[0]=0


    For each alternate IP address your organization will use for Web Access Management multiple IP routing, the file must include each of the above lines. For example:

    INTERFACE_NAME[0]=lan0
    INTERFACE_NAME[1]=lan0
    INTERFACE_NAME[2]=lan0
    IP_ADDRESS[0]=12.34.56.71
    IP_ADDRESS[1]=12.34.56.72
    IP_ADDRESS[2]=12.34.56.73
    SUBNET_MASK[0]=255.255.255.0
    SUBNET_MASK[1]=255.255.255.0
    SUBNET_MASK[2]=255.255.255.0
    BROADCAST_ADDRESS[0]=""
    BROADCAST_ADDRESS[1]=""
    BROADCAST_ADDRESS[2]=""
    LANCONFIG_ARGS[0]="ether"
    LANCONFIG_ARGS[1]="ether"
    LANCONFIG_ARGS[2]="ether"
    DHCP_ENABLE[0]=0
    DHCP_ENABLE[1]=0
    DHCP_ENABLE[2]=0
  2. Save and quit the file.
  3. Run ifconfig <device>:1 <IP address> on the command line. For example:

    ifconfig hme0:1 12.34.56.71

To test the setup, telnet to each IP address entered in the /etc/rc.config.d/netconf file.