Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure SOLARIS IPMP

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to configure SOLARIS IPMP, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

IPMP configuration

Type 1: all network cards in the IPMP group are enabled

The IP plan is as follows:

E1000g0: data IP:192.168.77.1 test IP:192.168.77.11

E1000g1: data IP:192.168.77.2 test IP:192.168.77.22

# ifconfig e1000g0 group test_ipmp

# ifconfig e1000g1 group test_ipmp

# ifconfig e1000g0 addif 192.168.77.11 netmask + broadcast +-failover deprecated up

# ifconfig e1000g0 addif 192.168.77.22 netmask + broadcast +-failover deprecated up

Or (permanently effective)

# cat / etc/hostname.e1000g0

192.168.77.1 netmask + broadcast + group test_ipmp up\

Addif 192.168.77.11 deprecated-failover netmask + broadcast + up

# cat / etc/hostname.e1000g1

192.168.85.2 netmask + broadcast + group test_ipmp up\

Addif 192.168.77.22 deprecated-failover netmask + broadcast + up

Type 2: some network cards in the IPMP group are set to standby (standby) interface

When IPMP is set as the standby interface, the network card as standby only sets the test IP

The IP plan is as follows:

E1000g0: data IP:192.168.77.1 test IP:192.168.77.11

E1000g1: testing IP:192.168.77.22

# ifconfig e1000g0 group test_ipmp

# ifconfig e1000g1 group test_ipmp

# ifconfig e1000g0 addif 192.168.77.11 netmask + broadcast +-failover deprecated up

# ifconfig e1000g1 plumb 192.168.77.22 netmask + broadcast + deprecated-failover standby up

Or (permanently effective)

# cat / etc/hostname.e1000g0

192.168.77.1 group test_ipmp netmask + broadcast + up\

Addif 192.168.77.11 netmask + broadcast +-failover deprecated up

# cat / etc/hostname.e1000g1

192.168.77.22 group test_ipmp netmask + broadcast + deprecated-failover standby up

Restarting the Nic takes effect

# ifconfig e1000g0 unplumb

# ifconfig e1000g1 unplumb

# ifconfig e1000g0 plumb

# ifconfig e1000g1 plumb

# svcadm restart physical

# ifconfig-a

E1000g0: flags=1000843 mtu 1500 index 14

Inet 192.168.77.1 netmask ffffff00 broadcast 192.168.77.255

Groupname test_ipmp

Ether 0:c:29:c8:6d:b4

E1000g0:1: flags=9040843 mtu 1500 index 14

Inet 192.168.77.11 netmask ffffff00 broadcast 192.168.77.255

E1000g1: flags=69040843 mtu 1500 index 13

Inet 192.168.77.22 netmask ffffff00 broadcast 192.168.77.255

Groupname test_ipmp

Ether 0:c:29:c8:6d:be

Note: at this time, the e1000g1 network card is STANDBY,INACTIVE!

Simulated failure:

Bash-3.00# if_mpadm-d e1000g0 # deactivate e1000g0 network card

Bash-3.00# ifconfig-a

Lo0: flags=2001000849 mtu 8232 index 1

Inet 127.0.0.1 netmask ff000000

E1000g0: flags=89000842 mtu 0 index 14

Inet 0.0.0.0 netmask 0

Groupname test_ipmp

Ether 0:c:29:c8:6d:b4

E1000g0:1: flags=89040842 mtu 1500 index 14

Inet 192.168.77.11 netmask ffffff00 broadcast 192.168.77.255

E1000g1: flags=29040843 mtu 1500 index 13

Inet 192.168.77.22 netmask ffffff00 broadcast 192.168.77.255

Groupname test_ipmp

Ether 0:c:29:c8:6d:be

E1000g1:1: flags=21000843 mtu 1500 index 13

Inet 192.168.77.1 netmask ffffff00 broadcast 192.168.77.255

During IPMP handover, the failed Nic will assign a pseudo-IP of 0.0.0.0!

Thank you for reading this article carefully. I hope the article "how to configure SOLARIS IPMP" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report