Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to configure IPMP in Solaris

Shulou Source: shulou.com Published: 2022-06-01 01:29:33 09月17日 Update

This article is about how to configure IPMP in Solaris. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

IPMP (IPNetwork Multipathing) is one of the main features of Solaris products, its purpose is: first, to increase the throughput of the network, several network interfaces can be easily and quickly bound together, thus playing the role of increasing bandwidth. Second, to achieve the effectiveness of the network interface, through IPMP, you can achieve the redundant use of the network interface, even if a network card is down, other network cards can run effectively, and the service IP on the broken network card will not be lost, so it will be smoothly transferred to other network cards.

Configuration method:

1. Configuration / etc/hosts

#

# Internet host table

#

127.0.0.1 localhost

10.4.128.226 s10 loghost # Primary Interface Address

# Modifications made for IPMP

10.4.128.228 s102 # Second Interface Address

10.4.128.230 s103 # Third Interface Address

10.4.128.225 test1 # Primary Test Address

10.4.128.227 test2 # Second Test Address

10.4.128.232 test3 # Third Test Address

You may wonder why you need so many IP addresses. In fact, it is very simple. Each network card must have an IP address, so three network cards are three IP addresses, so you must give an interface a test address. This address must be a routable address to monitor the status of each interface, error detection and recovery, so that one is 6 addresses.

2. Configure MAC address to avoid conflict

Do you need to modify local-mac-address in eeprom? The value of is true

The specific commands are as follows:

# eeprom local-mac-address?=true

3. Configure the network card address

At this time, you need to configure that hostname.xxx,xxx is your corresponding three Nic device names, and my Nic device names are pcn0, pcn1 and pcn2. Write the contents listed below as in your corresponding file.

# cat / etc/hostname.pcn0

S10 netmask + broadcast + group mpgrp up\

Addif test1 deprecated netmask + broadcast +-failover up

# cat / etc/hostname.pcn1

S102 netmask + broadcast + group mpgrp up\

Addif test2 deprecated netmask + broadcast +-failover up

# cat / etc/hostname.pcn2

S103 netmask + broadcast + group mpgrp up\

Addif test3 deprecated netmask + broadcast +-failover up

4. Restart

# init 6

5. Test margin

Force the network card failover

# if_mpadm-d pcn2

At this point, you will observe that the address on pcn2 and the address on pcn0 are transferred to pcn1.

Re-enable the network card

# if_mpadm-r pcn2

Because I built the environment with a virtual machine, I didn't do any further testing. If you have an experimental environment, you can unplug the network cable to try, or upload a larger file to test the reading and writing speed.

Thank you for reading! This is the end of the article on "how to configure IPMP in Solaris". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Address network card configuration interface network test three content valid file more environment article device good practical smooth convenient and fast business function Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Tech Info MariaDB NVidia Shulou Technology