How to Configure Probe Based IPMP (2 Public IP)

1. Check Solaris version. At minimum Solaris 8 10/00 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

***************************

Public Address:
192.168.1.10
192.168.1.11

NIC Address:
XXX0 : 192.168.1.12
XXX1 : 192.168.1.13

***************************

4. Edit /etc/hosts file & save!

# vi /etc/hosts

192.168.1.10  asknadya1 loghost
192.168.1.11  asknadya2 loghost
192.168.1.12  asknadya-xxx0
192.168.1.13  asknadya-xxx1

5. Edit /etc/hostname.XXX0/etc/hostname.XXX1 file & save!

# vi /etc/hostname.XXX0
asknadya-xxx0 netmask + broadcast + group keem \
deprecated -failover up addif asknadya1 netmask + broadcast + failover up

# vi /etc/hostname.XXX0
asknadya-xxx1 netmask + broadcast + group keem \
deprecated -failover up addif asknadya2 \
netmask + broadcast + failover up

6. Reboot

# reboot

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

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)