+ -
当前位置:首页 → 问答吧 → solaris 10配置IPMP实现网卡负载的奇怪问题

solaris 10配置IPMP实现网卡负载的奇怪问题

时间:2010-09-14

来源:互联网

IPMP的配置如下:
cat /etc/hosts
192.168.0.3  comm-1  loghost
192.168.0.4  comm-1test1
192.168.0.5  comm-1test2

# more /etc/hostname.bnx0
comm-1 netmask + broadcast + group comm1ipmp up addif comm-1test1 netmask + broadcast + deprecated -failover up
# more /etc/hostname.bnx1
comm-1test2 netmask + broadcast + group comm1ipmp deprecated -failover up
# more /etc/defaultrouter
192.168.0.1

但是ifconfig -a查看网卡状态,bnx1的状态是FAILED,从外面无法ping通192.168.0.5 这个IP地址

bnx0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.3 netmask ffffffe0 broadcast 192.168.0.0
        groupname comm1ipmp
        ether 78:e7:d1:f7:58:98
bnx0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
        inet 192.168.0.4 netmask ffffffe0 broadcast 192.168.0.0
bnx1: flags=19040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED> mtu 1500 index 3
        inet 192.168.0.5 netmask ffffffe0 broadcast 192.168.0.0
        groupname comm1ipmp
        ether 78:e7:d1:f7:58:9a
而且一旦拔掉bnx0口的网线,浮动IP192.168.0.3就无法ping通

请教各位大侠,这是怎么回事?
另外,此IPMP的配置是在sun cluster环境中

作者: yqx1986   发布时间: 2010-09-14

补充下,从交换机上看到,浮动IP的MAC地址一直是在bnx0网卡上的,正常来说一旦从bnx0切换到bnx1,浮动IP的mac地址是不是也会变成bnx1的MAC?

作者: yqx1986   发布时间: 2010-09-14