IPMP for Probe based & Link based

FOR PROBE BASED: 

# vi /etc/hosts

"/etc/hosts" [Read only] 6 lines, 97 characters

#

# Internet host table

#

::1     localhost

127.0.0.1       localhost

192.168.30.20   securebackup    loghost

192.168.30.21   securebackup-e1000g0

192.168.30.22   securebackup-e1000g1

#vi /etc/hostname.e1000g0

securebackup netmask + broadcast + group ipmp0 up \

addif securebackup-e1000g0 deprecated -failover netmask + broadcast + up

#vi /etc/hostname.e1000g1

securebackup-e1000g1 deprecated -failover netmask + broadcast + group ipmp0 up

Then Reboot the Server

#init 6 

# ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1

        inet 127.0.0.1 netmask ff000000

e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2

        inet 192.168.30.20 netmask ffffff00 broadcast 192.168.30.255

        groupname ipmp0

        ether 0:c:29:b3:1a:7a

e1000g0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2

        inet 192.168.30.21 netmask ffffff00 broadcast 192.168.30.255

e1000g1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3

        inet 192.168.30.22 netmask ffffff00 broadcast 192.168.30.255

        groupname ipmp0

        ether 0:c:29:b3:1a:84

In Vm we can check it by bellow command that the ipmp is ok : 

#if_mpadm -d e1000g0 

Then again check the status:

# ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1

        inet 127.0.0.1 netmask ff000000

e1000g0: flags=89000842<BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER,OFFLINE> mtu 0 index 2

        inet 0.0.0.0 netmask 0

        groupname ipmp0

        ether 0:c:29:b3:1a:7a

e1000g0:1: flags=89040842<BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,OFFLINE> mtu 1500 index 2

        inet 192.168.30.21 netmask ffffff00 broadcast 192.168.30.255

e1000g1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3

        inet 192.168.30.22 netmask ffffff00 broadcast 192.168.30.255

        groupname ipmp0

        ether 0:c:29:b3:1a:84

e1000g1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3

        inet 192.168.30.20 netmask ffffff00 broadcast 192.168.30.255

 FOR LINK BASED 

#vi /etc/hosts

"/etc/hosts" [Read only] 6 lines, 97 characters

#

# Internet host table

#

::1     localhost

127.0.0.1       localhost

192.168.30.20   securebackup    loghost

#vi /etc/hostname.e1000g0

securebackup group ipmp0 up 

#vi /etc/hostname.e1000g1

group ipmp0 up

Then reboot the server

#init 6 

Then check the status of ip

# ifconfig –a

 Then check the ipmp 

# if_mpadm -d e1000g0

Then again check the ip

# ifconfig -a

 

 

 

 

 

 

 

 

 

 

 

Comments

Popular Posts