How to Configure Link Based Detection IPMP (Active-Standby)

1. Check Solaris version. At minimum Solaris 9 12/02 is needed.

#uname -a
SunOS XXXXX 5.10 Generic_118833-33 sun4u sparc SUNW,Netra-XXX

2. Set local mac address to true

#eeprom local-mac-address?=true

3. Check IP setting

# ifconfig -a

lo0: flags=2001000849 mtu 8232 index 1

inet 127.0.0.1 netmask ff000000

XXX0: flags=1000843 mtu 1500 index 2

inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255

ether x:xx:xx:xx:xx:xx

4. Assign IPMP into each xxx0 & xxx1 interfaces using vi editor.

#vi /etc/hostname.xxx0
<hostname> netmask + broadcast + group <group_name> up

#vi /etc/hostname.xxx1
group <group_name> standby up

5. Check IP setting

# ifconfig -a
xxx0: flags=1000849 mtu 1500 index 4
inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255
groupname ipmp0
ether x:x:xx:xx:xx:xx

xxx0:1: flags=1000843 mtu 1500 index 4
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255

xxx1: flags=69000842mtu 0 index 5
inet 0.0.0.0 netmask 0
groupname ipmp0
ether x:x:xx:xx:xx:xx

6. Reboot

#init 6

7. Verify & test your IPMP ( 2 way of step )

* Plugin 2 LAN cable into XXX0 & XXX1 interface port. Then, ping the system through the gateway. At the time, plug out the XXX0 LAN cable & see messages from the system.

or

* Run this command to dettach the XXX0 interface.

#if_mpadm -d XXX0 >> Dettach interface and force failover

#if_mpadm -r XXX0 >> Reattach interface and failback

Note:

** Network interfaces supported: hme, eri, ce, ge, bge, qfe, dmfe, e1000g, ixgb, nge, nxge, rge, xg

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)