Setting up IPMultiPathing using both link based and probe based detection.
ByHosts 1
Hostname Vinnie
Check the NIC card settings on the machine.
Run the ifconfig –a command to view the interfaces.
#ifconfig -a
Verify the speed and duplex of the interfaces.
# dladm show-dev
eri0 link: unknown speed: 100 Mbps duplex: full
ce0 link: unknown speed: 100 Mbps duplex: full
Configure Interfaces for IPMP
1. Edit /etc/inet/hosts and add the interfaces.
172.16.10.10 vinnie loghost
172.16.10.11 vinnie2
192.168.1.90 vinnie-ce0-ipmp-test
192.168.1.92 vinnie-eri0-ipmp-test
2. Assign the interface to an IPMP group
#ifconfig ce0 group mygrp-one
3. Configure a test interface.
# ifconfig ce0 addif 192.168.1.90 deprecated netmask +
broadcast + -failover up
4. Add the second interface to the same IPMP group.
# ifconfig eri0 group mygrp-one up
5. Configure the test interface for the second interface.
# ifconfig eri0 addif 192.168.1.92 deprecated netmask + broadcast + -failover up
6. Test the IPMP setup by unplugging a network cable or using the if_mpadm command
# if_mpadm -d ce0
7. The interface will be offline and should switch to the alternate NIC.
Nov 4 20:51:54 seven in.mpathd[728]: [ID 832587 daemon.error] Successfully failed over from NIC ce0 to NIC eri0
8. To enable IPMP at system boot you must edit or create
• /etc/hostname.ce0
• /etc/hostname.eri0
9. Add a line to the files as follows.
seven netmask 0xffffff00 broadcast + group mpgrp-one up
addif 192.168.1.51 deprecated netmask 0xffffff00 broadcast + -failover up
Tags: vtp, cisco, vlan, interface, wan, ip
