- 论坛徽章:
- 0
|
我是在虚拟机中Solaris配置的ipmp,下面是我的配置文件信息:我配的是227是浮动ip,可当我手动把e1000g0 down掉后,227还是在e1000g0上,再把e1000g1 down掉,227还能通,这正常么?2个网卡都down掉了,浮动ip怎么通的?
# uname -a
SunOS host 5.10 Generic_137138-09 i86pc i386 i86pc
#
#
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.205.224 netmask ffffff00 broadcast 192.168.205.255
groupname ipmp
ether 0:c:29:8a:29:d5
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.205.227 netmask ffffff00 broadcast 192.168.205.255
e1000g1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 192.168.205.225 netmask ffffff00 broadcast 192.168.205.255
groupname ipmp
ether 0:c:29:8a:29:df
#
#
# cd etc
# more hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
192.168.205.224 host-1 loghost
192.168.205.225 host-2
192.168.205.227 host
#
# more hostname.e1000g0
host-1 netmask + broadcast + group ipmp deprecated -failover up addif host netmask + broadcast + group ipmp failover up
# more hostname.e1000g1
host-2 netmask + broadcast + group ipmp deprecated -failover stand up
#
# ifconfig e1000g0 down
# ping 192.168.205.224
^C#
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9040842<BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.205.224 netmask ffffff00 broadcast 192.168.205.255
groupname ipmp
ether 0:c:29:8a:29:d5
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.205.227 netmask ffffff00 broadcast 192.168.205.255
e1000g1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 192.168.205.225 netmask ffffff00 broadcast 192.168.205.255
groupname ipmp
ether 0:c:29:8a:29:df
#
# ifconfig e1000g1 down
# ping 192.168.205.225
^C#
# ping 192.168.205.227
192.168.205.227 is alive
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9040842<BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.205.224 netmask ffffff00 broadcast 192.168.205.255
groupname ipmp
ether 0:c:29:8a:29:d5
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.205.227 netmask ffffff00 broadcast 192.168.205.255
e1000g1: flags=9040842<BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 192.168.205.225 netmask ffffff00 broadcast 192.168.205.255
groupname ipmp
ether 0:c:29:8a:29:df
# |
|