Setting IPMP with 2 physical ethernet using 3 IP Address
# more /etc/hosts 127.0.0.1 localhost 192.168.0.2 server1 192.168.0.3 server1-bge0 192.168.0.4 server1-bge1 # more /etc/netmasks 192.168.0.0 255.255.255.0 # more /etc/defaultrouter 192.168.0.1 # more /etc/hostname.bge0 server1 netmask + broadcast + group ipmp0 up \ addif server1-bge0 deprecated -failover netmask + broadcast + up # more /etc/hostname.bge1 server1-bge1 deprecated -failover netmask + broadcast + group ipmp0 up Now we have 3 IP address, 2 physical (192.168.0.3 & 192.168.0.4) and 1 virtual ( 192.168.0.2), if one of physical ip has disrupted, we still have 192.168.0.2 ali ve. # reboot
Setting IPMP with 2 physical ethernet using 1 IP address
# more /etc/hosts 127.0.0.1 localhost 192.168.0.224 server1 loghost # more /etc/hostname.bge0 server1 netmask + broadcast + group ipmp0 up # more /etc/hostname.bge1 group ipmp0 up # reboot http://system-log.tyr.org.uk/2008/06/27/building-a-solaris-cluster-express-clust er-in-a-virtualbox-on-opensolaris/