分享
 
 
 

配置PIXFailover(二)

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

配置基于LAN的Failover

从PixOS 6.2开始支持基于LAN的Failover,这样,就不再需要Fairover电缆了。基于LAN的Fairover突破了Failover的6英尺的距离限制。

注意

要配置基于LAN的Failover,每台PIX需要一个单独的以太接口,并且必须接在一台交换的交换机或一个单独的VLAN上。不能使用交叉线将两台PIX直接连接起来。

在基于LAN的Failover中,Fairover消息通过LAN进行传输,所有相关的安全性要低于基于Failover电缆的做法,在PIX os 6.2中提供了一种使用手工预先设置共享密码的加密与认证机制。

配置步骤:

第一步

在活动的PIX上面用Clock set命令设置时钟

第二步

将主、从PIX上除用于LAN Fairover以外的所有配置了IP地址的所有接口的网线都接好。

第三步

如果连接了Fairover电缆,把它给拨掉。

第四步

只配置主PIX.在主PIX上使用write mem命令时,配置会自动写到备用PIX的FLASH中。

注意

在系统提示可以打开备用Pix前,不要给备用PIX上电。

第五步

使用conf t命令进入配置模式

第六步

确认在配置的任何一个interface命令中都没有使用auto或1000auto选项,要查看interface命令,可以使用wr term。如果有使用auto选项的则需要重新输入。确认每条链路两端的。

注意

如果使用Stateful Failover,在使用一条交换线直接连接两台PIX时,一要要注意在interface命令中使用100full或1000sxfull选项,而且在Stateful Failover连接上的MTU一定要设置为1500或更大。

Stateful Failover所使用的接口卡的速度和总线速度必须大于等于工作中的其它接口的接口速度和总线速度,例如,inside和outside使用的安装在总线0上的PIX-1GE-66卡,则Failover连接必须也使用PIX-1GE-66卡,并安装在总线1上,在这种情况不,不能使用Pix-1GE或PIX-1FE的卡,也不能在总线2或使用一个更慢的卡共享总线1的。

第七步

在interface配置正确后使用clear xlate命令.

第八步

正确配置接口的IP地址。配置完后可以使用show ip address命令查看:

show ip address

System IP Addresses:

ip address outside 192.168.1.1 255.255.255.0

ip address inside 10.1.1.1 255.255.255.0

ip address intf2 192.168.2.1 255.255.255.0

ip address intf3 192.168.3.1 255.255.255.0

ip address 4th 172.16.1.1 255.255.255.0

Current IP Addresses:

ip address outside 192.168.1.1 255.255.255.0

ip address inside 10.1.1.1 255.255.255.0

ip address intf2 192.168.2.1 255.255.255.0

ip address intf3 192.168.3.1 255.255.255.0

ip address 4th 172.16.1.1 255.255.255.0

当主PIX处于活动状态时,Current IP Addresses和System IP Addresses相同,当主PIX得失效状态时,Current IP Addresses会变成备用PIX的IP地址.

第九步

在主PIX上使用failover命令启用Failover。

第十步

使用show failover验证状态,输出如下:

show failover

Failover On

Cable status: Other side powered off

Reconnect timeout 0:00:00

Poll frequency 15 seconds

This host: primary - Active

Active time: 225 (sec)

Interface 4th (172.16.1.1): Normal (Waiting)

Interface intf3 (192.168.3.1): Normal (Waiting)

Interface intf2 (192.168.2.1): Normal (Waiting)

Interface outside (192.168.1.1): Normal (Waiting)

Interface inside (10.1.1.1): Normal (Waiting)

Other host: secondary - Standby

Active time: 0 (sec)

Interface 4th (0.0.0.0): Unknown (Waiting)

Interface intf3 (0.0.0.0): Unknown (Waiting)

Interface intf2 (0.0.0.0): Unknown (Waiting)

Interface outside (0.0.0.0): Unknown (Waiting)

Interface inside (0.0.0.0): Unknown (Waiting)

show failover命令输出的cable状态可能有如下值:

My side not connected―标志着在使用show failover命令时failover电缆未正确连接。

Normal―标志主从pix都操作正常.

Other side is not connected―标志对端未正确连接failover电缆。

Other side powered off―标志对端没开电。

在接口IP地址右边的标志有如下类型:

Failed―接口失效.

Link Down―接口链路层协议

Normal―正常

Shut Down―该接口被手工停用了(在interfac命令中使用了shutown参数)

Unknown―该接口未配置IP地

Waiting―还没有开始监视对端的接口状态。

第十一步

使用failover ip address命令声明备用PIX的每一个接口的地址,只需要在主pix上配置,该地址不能和主PIX的地址相当,但每一个接口的地址都可以在同一个子网内。如下例年示:

failover ip address inside 10.1.1.2

failover ip address outside 192.168.1.2

failover ip address intf2 192.168.2.2

failover ip address intf3 192.168.3.2

failover ip address 4th 172.16.1.2

配置后,再show failover的输出如下:

show failover

Failover On

Cable status: Other side powered off

Reconnect timeout 0:00:00

Poll frequency 15 seconds

This host: primary - Active

Active time: 510 (sec)

Interface 4th (172.16.1.1): Normal (Waiting)

Interface intf3 (192.168.3.1): Normal (Waiting)

Interface intf2 (192.168.2.1): Normal (Waiting)

Interface outside (192.168.1.1): Normal (Waiting)

Interface inside (10.1.1.1): Normal (Waiting)

Other host: secondary - Standby

Active time: 0 (sec)

Interface 4th (172.16.1.2): Unknown (Waiting)

Interface intf3 (192.168.3.2): Unknown (Waiting)

Interface intf2 (192.168.2.2): Unknown (Waiting)

Interface outside (192.168.1.2): Unknown (Waiting)

Interface inside (10.1.1.2): Unknown (Waiting)

第十二步

将用于LAN Fairover的接口接入网络,然后在主PIX上配置:

no failover

failover lan unit primary

failover lan interface intf3

failover lan key 1234567

failover lan enable

failover

第十三步

如果要配置Stateful Failover,使用failover link命令来定义要使用哪一个接口来传输状态信息,在本例中使用4th,命令如下:

failover link 4th

第十四步

启用Stateful Failover,show failover命令的输出如下:

show failover

Failover On

Cable status: Unknown

Reconnect timeout 0:00:00

Poll frequency 15 seconds

This host: primary - Active

Active time: 510 (sec)

Interface 4th (172.16.1.1): Normal (Waiting)

Interface intf2 (192.168.2.1): Normal (Waiting)

Interface outside (192.168.1.1): Normal (Waiting)

Interface inside (10.1.1.1): Normal (Waiting)

Other host: secondary - Standby

Active time: 0 (sec)

Interface 4th (172.16.1.2): Unknown (Waiting)

Interface intf2 (192.168.2.2): Unknown (Waiting)

Interface outside (192.168.1.2): Unknown (Waiting)

Interface inside (10.1.1.2): Unknown (Waiting)

Stateful Failover Logical Update Statistics

Link : 4th

Stateful Obj xmit xerr rcv rerr

General 0 0 0 0

sys cmd 0 0 0 0

up time 0 0 0 0

xlate 0 0 0 0

tcp conn 0 0 0 0

udp conn 0 0 0 0

ARP tbl 0 0 0 0

RIP Tbl 0 0 0 0

Logical Update Queue Information

Cur Max Total

Recv Q: 0 0 0

Xmit Q: 0 0 0

Lan Based Failover is Active

Interface intf3 (192.168.3.1): Normal, peer (192.168.3.2) Unknown

在"Stateful Failover Logical Update Statistics"一段中的各部分的意义如下:

Stateful Obj―PIX

stateful对象

xmit―传送到另一台设备的包数量

xerr―在传送过程中出现的错误包的数量

rcv―收以的包数量

rerr―收到的错误包的数量

每一行的状态对象定义如下:

General―所有的状态对象汇总

sys cmd―系统命令,例LOGIN和Stay Alive

up time―启用时间

xlate―转换信息

tcp conn―CTCP连接信息

udp conn―动态UDP连接信息

ARP tbl―动态ARP表信息

RIF Tbl―动态路由表信息

第十五步

如果需要将轮询时间改得小于15秒,以保证正常工作,可以使用Failover poll seconds命令

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有