Second IP on Cluster Alias

From: Karen R. McArthur (kmcarthu@bates.edu)
Date: Wed Apr 30 2003 - 09:07:04 EDT


I found the following directions on this list for setting up a second IP on
a single interface. (Thank you to Jasper Hoon for the summary). How would
I modify this procedure to work on a 2 node TruCluster running v5.1x?

--
Karen R McArthur, Systems Administrator
Bates College, Information & Library Services
110 Russell Street, Lewiston, Maine 04240 USA
207-786-8236 fax:207-786-6057 kmcarthu@bates.edu
****************************************************************************
**
on the command line enter:
# ifconfig tu0 alias <ip-address> netmask 255.255.255.0
then insert a line to the file /etc/inet.local like the above command.
After issuing this command, the second address is immediately
active. The entry in /etc/inet.local is for the next boot.
In this way you can configure any number of addresses for one
interface.
now you have to add a static route:
# route add -net aaa.bbb.xxx aaa.bbb.xxx.zzz netmask
255.255.255.0
and add folowing line to /etc/routes (available after reboot)
-net aaa.bbb.xxx aaa.bbb.xxx.zzz netmask 255.255.255.0


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:17 EDT