Chinaunix

标题: 求助关于IPMP的问题 [打印本页]

作者: 有机天使    时间: 2014-12-25 18:36
标题: 求助关于IPMP的问题
本帖最后由 有机天使 于 2014-12-29 10:10 编辑

  大家好,我的SUN 系统为操作系统为:solaris 10 ,IPMP采用的是基于链路的,没采用寻址的方式我有一个疑问想问下大家:

1、未ixgbe0拔去网线情况下,ip的信息

  bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ixgbe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
        inet 10.78.56.33 netmask ffffff80 broadcast 10.78.56.127
        groupname ipmp
        ether 0:1b:21:6f:8d:dc
ixgbe1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
        groupname ipmp
        ether 0:1b:21:6f:8d:de
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 4
        inet 192.168.3.3 --> 192.168.3.1 netmask ffffff00
        ether 0:0:0:0:0:0
2、拔去ixgbe0网线后的情况:

  bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ixgbe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
        inet 10.78.56.33 netmask ffffff80 broadcast 10.78.56.127
        groupname ipmp
        ether 0:1b:21:6f:8d:dc
ixgbe0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
ixgbe1: flags=19000802<BROADCAST,MULTICAST,IPv4,NOFAILOVER,FAILED> mtu 0 index 3
        inet 0.0.0.0 netmask 0
        groupname ipmp
        ether 0:1b:21:6f:8d:de
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 4
        inet 192.168.3.3 --> 192.168.3.1 netmask ffffff00
        ether 0:0:0:0:0:0

我的疑问
1、我ixgbe0网卡线都拔掉了,怎么ip信息还是显示在ixgbe0这个口,而不是在ixgbe1上呢?
2、如果我没拔网卡,直接用命令ifconfig  ixgbe0 unplumb,怎么我的ip地址就无法登录,也没有切换呢
确实是我的网线拔错了,看来是我们的标签打反了,所以第一个疑问就取消了,那第2个疑问谁可以解答下 谢谢
作者: San风夕    时间: 2014-12-26 11:57
明显拔错网线了,,自己看ixgbe1状态;你网线拔了不会有RUNNING状态的..而ixgbe1在你拔掉网线后没有RUNNING了..
作者: DC_楚楚    时间: 2014-12-26 20:29
回复 2# San风夕


   顶一个~
作者: 有机天使    时间: 2014-12-29 10:11
确实是我拔错了,那第2个问题能否帮忙解答下?回复 2# San风夕


   
作者: 有机天使    时间: 2014-12-29 10:11
确实是我弄错了线签,那第2个问题呢回复 3# DC_楚楚


   
作者: ericyan_cu    时间: 2014-12-29 10:34
拔网卡不等于网卡故障
作者: nimysun    时间: 2014-12-29 12:08
回复 1# 有机天使


    手工的unplumb属于人为设置动作, ipmi不相应也是有可能的。此外ipmi切换到前提是另一个网卡也是稳定运行,如果你频繁拔插另一个网卡的网线,那么ipmi有可能也不会把ip给切换到“不稳定”的网卡。
  剩下的问题,自己查查文档去?
作者: 有机天使    时间: 2014-12-29 12:51
那该如何模拟网卡故障?回复 6# ericyan_cu


   
作者: 有机天使    时间: 2014-12-29 12:51
只拔插了2次,应该不算频繁吧~~回复 7# nimysun


   
作者: San风夕    时间: 2014-12-29 16:19
     unplumb

         Close the device associated with this physical interface
         name  and any streams that ifconfig set up for IP to use
         the device. When used with a logical interface name, the
         logical interface is removed from the system. After this
         command is executed, the  device  name  will  no  longer
         appear in the output of ifconfig -a.
问题2可以看看unplumb参数解释.

另外可以直接用if_mpadm命令测试倒换呀.
回复 4# 有机天使


   
作者: 有机天使    时间: 2014-12-31 08:15
if_mpadm命令是可以切换,我主要是想模拟下真实的网卡故障回复 10# San风夕


   




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2