How to Create a Virtual IP in Solaris
Tags:
1) create /etc/hostname.<interfacename>:<n> containing the hostname of the virtual IP
example:
/etc/hostname.hme0: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 hme0: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
»
- Add new comment
- 3613 reads

Why the Virtual IP address got reset to 0.0.0.0 after reboot? How to keep it permanent? TIA.