Setting IPMP on Solaris 10 - link based detection
activate ethernet interface
# ifconfig ce0 plumb
# ifconfig ce1 plumb
Giving IP Address and IP Multipathing
# ifconfig ce0 10.172.75.2 netmask 255.255.255.0 broadcast group ipmp1 up
# ifconfig ce1 group ipmp1 up
Now we only have 1 IP address ( 10.172.75.2 ).
If this setting keep on when system reboot, check all following conf file.
# more /etc/hosts
127.0.0.1 localhost
10.172.75.2 server01
# more /etc/netmasks
10.172.75.0 255.255.255.0
#more /etc/defaultrouter
10.172.75.1
# more /etc/hostname.ce0
server01 netmask + broadcast + group ipmp1 up
For active-active configuration :
# more /etc/hostname.ce1
group ipmp1 up
For active-active configuration :
# more /etc/hostname.ce1
group ipmp1 standby up
Check network interface status for active-active :
# ifconfig -a
ce0: flags=1000843 mtu 1500 index 4
inet 10.172.75.2 netmask ffffff00 broadcast 10.172.75.255
groupname ipmp1
ether xx:xx:xx:xx:xx:xx
ce1: flags=1000843 mtu 1500 index 5
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname ipmp1
ether xx:xx:xx:xx:xx:xx
Check network interface status for active-standby :
# ifconfig -a
ce0: flags=1000843 mtu 1500 index 4
inet 10.172.75.2 netmask ffffff00 broadcast 10.172.75.255
groupname ipmp1
ether xx:xx:xx:xx:xx:xx
ce0:1: flags=1000843 mtu 1500 index 4
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
ce1: flags=69000842 mtu 0 index 5
inet 0.0.0.0 netmask 0
groupname ipmp1
ether xx:xx:xx:xx:xx:xx