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 127.0.0.1 netmask ff000000
igb0: flags=1000843 mtu 1500 index 2
inet 198.160.10.164 netmask ffffff00 broadcast 172.16.10.255
groupname ipmp-group
ether 0:21:28:8d:f3:4
igb1: flags=1000843 mtu 1500 index 4
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname ipmp-group
ether 0:21:28:8d:f3:5
igb3: flags=1000843 mtu 1500 index 3
inet 10.0.0.40 netmask ffffff00 broadcast 10.0.0.255
ether 0:21:28:8d:f3:7
-bash-3.2#

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 *