PIX防火墙基本特性:失效处理机制和冗余-原理与实验

简介:

(1)术语

spacer.gifwKiom1U7xXrxdcjdAAEgJXlX_Ho871.jpg


(2)基本过程

Step 1:活动单元将它的所有配置复制给备用单元,命令通过失效处理机制电缆发送

Step 2:每隔15秒发送一个专用的Hello分组

Step 3:备用单元在规定时间内没有收到两个连续的Hello分组

Step 4:将活动控制转移到备用单元,同时失效处理机制通过各种测试来测试接口


(3)实验

注意:做该实验前要在PIX防火墙上导入激活码

wKioL1U7xxHhIryVAAEiwtQweNc511.jpg这里R2作为Internet


第一步:R1、R2配置(略)

第二步:FW1配置访问Internet

第三步:FW1-Failover配置

第四步:FW2-Failover配置

第一步:R1、R2配置(略)

第二步:FW1配置访问Internet

接口配置:

FW1(config)#interface e0

FW1(config-if)#no shutdown

FW1(config-if)#ip add 192.168.1.254 255.255.255.0

FW1(config-if)#nameif inside

FW1(config-if)#security-level 100

FW1(config)#interface e1

FW1(config-if)#no shutdown

FW1(config-if)#ip add 100.1.1.1 255.255.255.0

FW1(config-if)#nameif outside

FW1(config-if)#security-level 100

FW1(config)#interface e2

FW1(config-if)#no shutdown

FW1(config-if)#ip add 10.1.12.1 255.255.255.0


FW1(config)#interface e3

FW1(config-if)#no shutdown

FW1(config-if)#ip add 10.2.12.1 255.255.255.0

默认路由、NAT配置

FW1(config)#route outside 0 0 100.1.1.2

FW1(config)#access-list NAT permit ip any any

FW1(config)#nat (inside) 1 access-list NAT

FW1(config)#global (outside) 1 interface


第三步:FW1-Failover配置

FW1(config)#failover //开启失效处理功能

FW1(config)#failover lan enable //开启基于LAN的失效处理功能

FW1(config)#failover key cisco //开户失效处理功能的认证

FW1(config)#failover lan unit primary //设置为活动单元

FW1(config)#failover lan interface PZ Ethernet2 //把e2接口命名为PZ,并定义为配置接口

FW1(config)#failover lan link ZT Ethernet3 //把e3接口命名为ZT,并定义为状态接口

FW1(config)#failover interface ip PZ 10.1.12.1 255.255.255.0 standby 10.1.12.2 //指定主要配置接口和次要配置接口,并为主要配置接口配置IP地址

FW2(config)#failover interface ip ZT 10.2.12.1 255.255.255.0 standby 10.2.12.2 //指定主要状态接口和次要状态接口

第四步:FW2-Failover配置

基本接口配置:

FW2(config)#interface e0

FW2(config)#no shudown

FW2(config)#interface e1

FW2(config)#no shutdown

FW2(config)#interface e2

FW2(config)#no shutdown

FW2(config-if)#ip address 10.1.12.2 255.255.255.0

FW2(config)#interface e3

FW2(config)#no shutdown

FW2(config)#ip address 10.2.12.2 255.255.255.0

Failover配置:

FW1(config)#failover //开启失效处理功能

FW1(config)#failover lan enable //开启基于LAN的失效处理功能

FW1(config)#failover key cisco //开户失效处理功能的认证

FW1(config)#failover lan unit secondary //设置为备用单元

FW1(config)#failover lan interface PZ Ethernet2 //把e2接口命名为PZ,并定义为配置接口

FW1(config)#failover lan link ZT Ethernet3 //把e3接口命名为ZT,并定义为状态接口

FW1(config)#failover interface ip PZ 10.1.12.1 255.255.255.0 standby 10.1.12.2 //指定主要配置接口和次要配置接口

FW2(config)#failover interface ip ZT 10.2.12.1 255.255.255.0 standby 10.2.12.2 //指定主要状态接口和次要状态接口

相关文章
|
3天前
|
数据可视化 前端开发 测试技术
快照测试的优点和局限性
快照测试提供简单快捷的自动化测试,尤其适合快速回归和可视化比较,便于定位问题。但其对变动敏感,可能因微小改变导致测试失败;处理动态内容时表现不佳;且需维护预期快照,增加测试维护工作。在前端测试中,应结合其他方法使用,以实现全面测试覆盖。
|
3天前
|
负载均衡 网络虚拟化
【专栏】生成树协议(STP),用于消除网络环路并确保单向通信路径,提高可靠性和避免循环是至关重要的
【4月更文挑战第28天】本文详细介绍了生成树协议(STP),用于消除网络环路并确保单向通信路径。STP基于IEEE 802.1D,涉及根桥选举、端口角色分配及构建无环路径。高级特性包括快速STP(RSTP)的快速收敛、多实例STP(MSTP)的负载均衡和容错,以及各种保护机制。文章还讨论了实际案例和故障排除,为网络工程师提供STP的全面理解与应用指南。
|
3天前
|
网络协议 安全 网络安全
|
3天前
|
前端开发
iStack详解(三)——iStack多主检测方式
iStack详解(三)——iStack多主检测方式
20 6
|
3天前
|
缓存 定位技术 网络安全
代理ip的用途及是否可以降低延迟
代理ip的用途及是否可以降低延迟
|
6月前
140 混合的推荐机制
140 混合的推荐机制
25 0
|
9月前
|
负载均衡 并行计算 算法
BWA序列比对方法丨针对较大基因组的并行计算和性能优化方式,利用多线程和负载均衡策略提高效率
BWA序列比对方法丨针对较大基因组的并行计算和性能优化方式,利用多线程和负载均衡策略提高效率
|
10月前
|
缓存
CPU缓存一致性协议动态表示
CPU缓存一致性协议动态表示
60 0
|
10月前
|
存储 分布式计算 算法
技术详解 TPRE:分布式门限代理重加密
技术详解 TPRE:分布式门限代理重加密
1284 0
|
缓存 Java
性能优化之@Contended减少伪共享
说到伪共享,就要说CPU缓存,我们程序执行时候信息会被保存到CPU缓存中 而这些缓存中的数据可能被多线程访问,假如一个线程还没处理完,另外一个线程 就对数据进行了修改,就会导致上一个线程发生幻读的情况,比如刚才看到a=1,然后准备a = a+1。 但是还没做,另外一个线程就先将a变成2了。导致了上一个线程计算后本来应该是a = 1 + 1,变成了a = 2 + 1 计算结果就不对了。
398 0