浮动地址: 10.100.100.203HrBLinux联盟
实地址: 10.100.100.204 (ce0)HrBLinux联盟
10.100.100.205 (ce1)HrBLinux联盟
HrBLinux联盟
文件方式:HrBLinux联盟
# more /etc/hostname.ce0HrBLinux联盟
10.100.100.204 group testg deprecated -failover up addif 10.100.100.203 failover upHrBLinux联盟
# more /etc/hostname.ce1HrBLinux联盟
10.100.100.205 group testg deprecated -failover up standby up
[命令行方式:HrBLinux联盟
#ifconfig ce0 plumb 10.100.100.204 group testg deprecated -failover up addif 10.100.100.203 failover upHrBLinux联盟
#ifconfig ce1 plumb 10.100.100.205 group testg deprecated -failover up standby upHrBLinux联盟
]
$ ifconfig -aHrBLinux联盟
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1HrBLinux联盟
inet 127.0.0.1 netmask ff000000 HrBLinux联盟
ce0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2HrBLinux联盟
inet 10.100.100.204 netmask ffffffe0 broadcast 211.137.160.223HrBLinux联盟
groupname testgHrBLinux联盟
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2HrBLinux联盟
inet 10.100.100.203 netmask ffffffe0 broadcast 211.137.160.223HrBLinux联盟
ce1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,HrBLinux联盟
DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3HrBLinux联盟
inet 10.100.100.205 netmask ffffffe0 broadcast 211.137.160.223HrBLinux联盟
groupname testg