NETWORK CONFIGURATION


Assigning separate IP addresses to partitions on a system with a single NIC
If you use a single NIC with multiple IP addresses, you must complete additional configuration instructions, which are based on your operating system, for each server partition.

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.


3. Restart the system if necessary, and test the configuration. From another computer, use the ping command with the server names. To show the network status, use the netstat command.

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:


2. Remove the partition's name entry from the local host names /etc/hosts file.

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:


3. Create the alias for each IP address that goes to the NIC which is hme0. At the console, enter:
4. To verify the IP addresses that you configured, enter:
5. To enable each IP address that you configured in Step 3, enter:
6. To configure the NIC to support multiple IP addresses at system startup, add this ifconfig command to the startup file (probably /etc/rc2.d/S30sysident):
7. Test the configuration. From another computer, use the ping command with the server names. To show the network status, use the netstat command.

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:


2. Remove the corresponding /etc/hostname.hme0:n file. For example, to remove Server2, remove the /etc/hostname.hme0:1 file, which contains the name Server2.

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:

See also