Testing ipmp failover without pulling the cable

Testing ipmp failover without pulling the cable

Here we can see that we have configured a ipmp fail over group with igb0 and igb1

# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet netmask ff000000
igb0: flags=1000843 mtu 1500 index 2
inet netmask ffffff00 broadcast
groupname ipmp-group
ether 0:21:28:8d:f3:4
igb1: flags=1000843 mtu 1500 index 4
inet netmask ff000000 broadcast
groupname ipmp-group
ether 0:21:28:8d:f3:5
igb3: flags=1000843 mtu 1500 index 3
inet netmask ffffff00 broadcast
ether 0:21:28:8d:f3:7

Now lets fail it

-bash-3.2# if_mpadm -d igb0
connect: Connection refused
bind: Cannot assign requested address
Cannot establish communication with in.mpathd.

NOPE! not working. Time to call networking with the switch/port numbers

Now let’s try it again

# if_mpadm -d igb0
# ping google.com
google.com is alive

Let’s put it back!

# if_mpadm -r igb0

Leave a Reply

Your email address will not be published. Required fields are marked *