加入收藏 | 设为首页 | 会员中心 | 我要投稿 我爱故事小小网_铜陵站长网 (http://www.0562zz.com/)- 视频终端、云渲染、应用安全、数据安全、安全管理!
当前位置: 首页 > 运营中心 > 交互 > 正文

Solaris IPMP两种配置方法

发布时间:2016-10-30 15:36:35 所属栏目:交互 来源:站长网
导读:副标题#e# 更换华为防火墙后,发现Solaris基于ip探测方式配置的IPMP 呈现failed状态。经过分析,更改为基于link的IPMP配置方式后,解决了这次问题。 1、Multiple interface Link based IPMP configuration a. Active – Active configuration Command line

点击(此处)折叠或打开

  1. # ifconfig e1000g0 plumb 192.168.1.2 netmask + broadcast + group ipmp0 up addif 192.168.1.3 netmask + broadcast + deprecated -failover up
  2. #
  3. # ifconfig e1000g1 plumb 192.168.1.4 netmask + broadcast + deprecated -failover group ipmp0 up


  4. To ensure persistent configuration across reboots edit the files :
  5. /etc/hostname.e1000g0:
  6. 192.168.1.2 netmask + broadcast + group ipmp0 up
  7. addif 192.168.1.3 netmask + broadcast + deprecated -failover up

  8. /
  9. /etc/hostname.e1000g1:

  10. 192.168.1.4 netmask + broadcast + deprecated -failover group ipmp0 up
  11. Before failure :
  12. # ifconfig -a

  13. lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
  14.  
  15.         inet 127.0.0.1 netmask ff000000

  16. e1000g0: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 9
  17.  
  18.         inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
  19.  
  20.         groupname ipmp0
  21.  
  22.         ether 0:c:29:f6:ef:67

  23. e1000g0:1: flags=9040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER] mtu 1500 index 9
  24.  
  25.         inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255

  26. e1000g1: flags=9040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER] mtu 1500 index 10
  27.  
  28.         inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255
  29.  
  30.         groupname ipmp0
  31.  
  32.         ether 0:c:29:f6:ef:71


  33. After failure :
  34. # ifconfig -a

  35. lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
  36.  
  37.         inet 127.0.0.1 netmask ff000000

  38. e1000g0: flags=19000802[BROADCAST,MULTICAST,IPv4,NOFAILOVER,FAILED] mtu 0 index 9
  39.  
  40.         inet 0.0.0.0 netmask 0
  41.  
  42.         groupname ipmp0
  43.  
  44.         ether 0:c:29:f6:ef:67

  45. e1000g0:1: flags=19040803[UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED] mtu 1500 index 9
  46.  
  47.         inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255

  48. e1000g1: flags=9040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER] mtu 1500 index 10
  49.  
  50.         inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255
  51.  
  52.         groupname ipmp0
  53.  
  54.         ether 0:c:29:f6:ef:71

  55. e1000g1:1: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 10
  56.  
  57.         inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255


2. Active – Standby
The only difference in case of a active-standby configuration is – the interface configured as standby is not used to send any out bound traffic. Thus disabling the load balancing feature of an active-active configuration.
Groupname:             ipmp0
Active interface(s):   e1000g0             
Standby interface(s):  e1000g1
Data IP addresse(s):   192.168.1.2
Test IP addresse(s):   192.168.1.3
                        192.168.1.4
Command line :

(编辑:我爱故事小小网_铜陵站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

推荐文章
    热点阅读