Managing Multipathing

You can manage network interfaces that have been configured to use IPMP by using the command if_mpadm. There are only two options to this command:

  • -d— To detach a network interface and place it in an offline state

  • -r— To re-attach an interface that was previously offline or failed

Consider the scenario in the preceding section, where hme0 and hme1 were both configured to use IPMP.

If you detach the hme0 interface by using if_mpadm -d, which is currently using the IP address 192.168.28.28, the failover mechanism can be seen to work. The output shown here includes the ifconfig -a command to enable you to view the status after the interface has been detached:

 # if_mpadm -d hme0 Apr 14 13:05:22 ultra10 in.mpathd[4668]: Successfully ...

Get Solaris™ 9 Network Administrator Exam Cram™ 2 (Exam CX-310-044) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.