IPMP Configuration

Dear All,

I have configured IPMP in one of my SUN machine which is having solros 9 version. I have updated all files like /etc/hosts,/etc/hostname.ce0 and /etc/hostname.ce1 and rebooted the server. But IP's are not mounted which i have given in /etc/hosts file.

Please find the below ifconfig output and help me to resolve this issue.

root@HYDREM01 # ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 0.0.0.0 netmask 0
        ether 0:14:4f:85:df:69
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.209.130.9 netmask ffffff00 broadcast 10.209.130.255
ce1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0
        ether 0:14:4f:85:df:68

Thanks and Regards,

Lakkireddy BR

You have configured link based ipmp? provide the contents of those files.

there are no "group" names in the output. so i asume something is wrong in the config files.

Please find the conf files.

/etc/hostname.ce0
HYDREM01-ce0 group HYDREM01-ipmp -failover deprecated netmask + broadcast + up
addif HYDREM01 netmask + broadcast + up
/etc/hostname.ce1
HYDREM01-ce1 group HYDREM01-ipmp -failover deprecated netmask + broadcast + up

maybe this helps:
Solaris IP Multipathing made easy

You need to set IPMP up first.

# ifconfig ce0 plumb

# ifconfig ce1 plumb

# eeprom | grep local-mac-address ---> should be set to true. If not then run this coomand.

# # eeprom local-mac-address?=true

Edit your /etc/hosts file with the proper entries.

Create an IPMP group.

# ifconfig ce0 group netgroup

# ifconfig ce1 group netgroup

\# vi /etc/hostname.ce0

dummy0 netmask + broadcast + group netgroup deprecated -failover up addif hostname netmask + broadcast + failover up -----> Active interface.

# vi /etc/hostname.ce1
dummy1 netmask + broadcast + group netgroup deprecated -failover standby up

# ifconfig ce0 netmask + broadcast + group netgroup deprecated -failover up addif hostname netmask + broadcast + failover up

# ifconfig ce1 netmask + broadcast + group netgroup deprecated -failover standby up

I usually reboot at this point as sometimes this doesn't work. Have your /etc/hostname.ce* files configured and ready to pick up the new IPMP config.

Test the failover

# if_mpadm -d ce0

# ifconfig -a --> Should show failed over to ce1

# if_mpadm -r ce0 ---> Reattach ce0. Should should failed back to ce0

Dear Sparcman,

Thanks for your support.Its wroking fine.