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
Edit /etc/inet/hosts and add the interfaces.

10.2.2.198 seven loghost
10.2.2.197 seven2
192.168.1.90 seven-ce0-ipmp-test
192.168.1.91 seven-local-eri0
192.168.1.92 seven-eri0-ipmp-test

Assign the interface to an IPMP group

#ifconfig ce0 group mygrp-one

Configure a test interface.

# ifconfig ce0 addif 192.168.1.90 deprecated netmask + \
broadcast + -failover up

Add the second interface to the same IPMP group.

# ifconfig eri0 group mygrp-one up

Configure the test interface for the second interface.

# ifconfig eri0 addif 192.168.1.91 deprecated netmask + broadcast + -failover up

Test the IPMP setup by unplugging a network cable or using the if_mpadm command

# if_mpadm -d ce0

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

To enable IPMP at system boot you must edit or create

/etc/hostname.ce0
/etc/hostname.eri0

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

IPMP provides increased reliability, availability, and network performance for systems with multiple physical interfaces.

Occasionally, a physical interface or the networking hardware attached to that interface might fail or require maintenance.
Traditionally, at that point, the system can no longer be contacted through any of the IP addresses that are associated with the failed interface.

Additionally, any existing connections to the system using those IP addresses are disrupted.
By using IPMP, you can configure one or more physical interfaces into an IP multipathing group, or IPMP group.
After configuring IPMP, the system automatically monitors the interfaces in the IPMP group for failure.
If an interface in the group fails or is removed for maintenance, IPMP automatically migrates, or fails over, the failed interface’s IP addresses.

The recipient of these addresses is a functioning interface in the failed interface’s IPMP group.
Additionally, IPMP improves overall network performance by automatically spreading out network traffic across the set of interfaces in the IPMP group. This process is called load spreading.

Be Sociable, Share!

Comments are closed.

Search
Sponsor


Page Rank