4th Floor, 4 Tabernacle Street London EC2A 4LU

Add a VIP in Solaris

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

example:

/etc/hostname.bge0:1

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

3) use the following commands to configure the interface:

ifconfig <interfacename>:<n> plumb

example:

ifconfig bge0:1 plumb

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

example:

ifconfig hme0:1 10.67.1.141 netmask 255.255.255.0 broadcast + up