Second IP on Cluster Alias

From: Karen R. McArthur <kmcarthu_at_bates.edu>
Date: Wed, 30 Apr 2003 09:07:04 -0400

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_at_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
Received on Wed Apr 30 2003 - 13:07:46 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT