in Oracle, Solaris

Create Virtual IP on Solaris

1) create /etc/hostname.<interfacename>:<n> containing the hostname of the virtual IP (For Pemanent Reserved)

example:

bash-3.2# touch/etc/hostname.igb0:1
bash-3.2# /etc/hostname.igb0:1

2) add the hostname and virtual IP to /etc/hosts

example:

::1 localhost
127.0.0.1 localhost
192.168.10.209 domainname loghost

3) use the following commands to configure the interface:
ifconfig <interfacename>:<n> plumb

example:

bash-3.2# ifconfig igb0:1 plumb

ifconfig <interfacename>:<n> <IP address> netmask <netmask> broadcast + up

example:

bash-3.2# ifconfig igb0:1 192.168.10.209 netmask 255.255.255.0 broadcast + up