分类:
2007-10-25 22:49:34
浮动地址: 10.100.100.203
实地址: 10.100.100.204 (ce0)
10.100.100.205 (ce1)
文件方式:
# more /etc/hostname.ce0
10.100.100.204 group testg deprecated -failover up addif 10.100.100.203 failover up
# more /etc/hostname.ce1
10.100.100.205 group testg deprecated -failover up standby up
[命令行方式:
#ifconfig ce0 plumb 10.100.100.204 group testg deprecated -failover up addif 10.100.100.203 failover up
#ifconfig ce1 plumb 10.100.100.205 group testg deprecated -failover up standby up
]
$ ifconfig -a
lo0: flags=1000849
inet 127.0.0.1 netmask ff000000
ce0: flags=9040843
inet 10.100.100.204 netmask ffffffe0 broadcast 211.137.160.223
groupname testg
ce0:1: flags=1000843
inet 10.100.100.203 netmask ffffffe0 broadcast 211.137.160.223
ce1: flags=69040843
inet 10.100.100.205 netmask ffffffe0 broadcast 211.137.160.223
groupname testg