下面是PIX4:
pixfirewall#conf t
pixfirewall(config)#interface e1//用于心跳线
pixfirewall(config)#no shut
pixfirewall(config)#exit
pixfirewall(config)#failover//启动FAILOVER
pixfirewall(config)#failover lan unit secondary//配置failover通过LAN口实现心跳线,并设置本机为secondary端
pixfirewall(config)#failover lan interface flink Ethernet1//配置E1接口为LAN心跳线接口,并赋予flink名称
pixfirewall(config)#failover lan enable//激活LAN心跳线接口
pixfirewall(config)#failover interface ip flink 10.1.1.1 255.255.255.0 standby 10.1.1.2//设置LAN心跳线的ACTIVE端的IP和STANDBY端的IP,用于心跳通信
好了一切配置OK,刚开始还不懂这个,2B的去给PIX的e0 e2接口设置IP,汗.....其实不用的,PIX3会自动通过心跳线传输到PIX3的!
配置成功之后在PIX3上会提示以下信息:
No Response from Mate
Beginning configuration replication: Sending to mate.
End Configuration Replication to mate
//表示PIX3已经进入准备切换状态
PIX4则会显示以下信息:
Detected an Active mate
Beginning configuration replication from mate.
End configuration replication from mate.
//表示PIX4进入待机状态
这个时候PIX3的全部配置自动会同步给PIX4,而且以后PIX3所做的任何修改,也会即时同步给备份防火墙。同步完后,会发现PIX4的名字也变成PIX3了!
然后可以查看下它们的状态
PIX3(config)# show failover
Failover On
Cable status: N/A - LAN-based failover enabled
Failover unit Primary
Failover LAN Interface: flink Ethernet1 (up)
Unit Poll frequency 15 seconds, holdtime 45 seconds
Interface Poll frequency 5 seconds, holdtime 25 seconds
Interface Policy 1
Monitored Interfaces 2 of 250 maximum
Version: Ours 8.0(2), Mate 8.0(2)
Last Failover at: 00:38:39 UTC Apr 27 2013
This host: Primary - Active
Active time: 1500 (sec)
Interface outside (202.100.1.13): Normal
Interface inside (192.168.1.1): Normal
Other host: Secondary - Standby Ready
Active time: 0 (sec)
Interface outside (202.100.1.14): Normal
Interface inside (192.168.1.2): Normal
在PIX4上,如果执行操作会提示:
