NETWORK CONFIGURATION
Note Using separate IP addresses with a single NIC can have a negative impact on the computer's I/O performance.
For background information on partitioned servers and the TCP/IP network, see the topic Partitioned servers and IP addresses.
IBM AIX or Linux
You must be logged on as root.
To enable an IP address in IBM AIX 1. Add one entry in the local host names file /etc/hosts for each server partition. The entry for the partition that uses the computer host name should already exist.
2. To enable an IP address, enter this command under the heading "Part 2 -Traditional Configuration" in the startup file (etc/rc.net). Do not enter this command for the partition that uses the computer host name.
where interface is the name of the network interface, and server_name is the name of the partitioned server -- for example:
/usr/sbin/ifconfig en0 alias server2
To disable an IP address in IBM AIX or Linux Do not remove the IP address of a server partition that uses the computer host name as its server name.
1. Enter this command at the console:
where interface is the name of the network interface, and server_name is the name of the partitioned server.
3. Remove the corresponding ifconfig command from the system startup /etc/rc.net file.
Sun Solaris
This procedure is for Sun Solaris 2.6. You must have superuser privileges to configure the NIC.
To enable an IP address in Sun Solaris 1. Add one entry in the local host names /etc/hosts file for each server partition. The entry for the partition that uses the computer host name should already exist.
2. For each partition, create a file named:
where device is the device name of the NIC, and n is a number that increments for each file name. The /etc/hostname.hme0 file should already exist and contain the computer host name.
For example, if /etc/hostname.hme0 contains the name Server1, create:
/etc/hostname.hme0:1
which contains the name Server2. and
/etc/hostname.hme0:2
which contains the name Server3.
/sbin/ifconfig hme0:n IP_address
where n is the number you created in Step 2 for each file name, and IP_address is the address assigned to the corresponding server in Step 1. For example:
/sbin/ifconfig hme0 plumb
/sbin/ifconfig hme0:1 111.123.11.96
/sbin/ifconfig hme0:2 111.123.11.22
where n is the number assigned to the file that contains the server name. For example:
/sbin/ifconfig hme0:1 up
/sbin/ifconfig hme0:2 up
To disable an IP address, enter:
/sbin/ifconfig hme0:n down
/sbin/ifconfig hme0:n up
where n corresponds to the number you created in Step 2 for each file name, and IP_address is the address assigned to the corresponding server in Step 1.
To disable an IP address in Sun Solaris Do not remove the IP address of the server partition that uses the computer host name as its server name.
1. To disable the IP address, type:
/sbin/ifconfig hme0:1 down
3. Remove the partition's server name entry from the local host names /etc/hosts file.
Windows
To configure a single NIC for multiple IP addresses on Microsoft® Windows® systems, do the following: