资源预览内容
第1页 / 共12页
第2页 / 共12页
第3页 / 共12页
第4页 / 共12页
第5页 / 共12页
第6页 / 共12页
第7页 / 共12页
第8页 / 共12页
第9页 / 共12页
第10页 / 共12页
亲,该文档总共12页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
NETSCREEN NSRP典型配置及维护一、NSRP工作原理NSRP(NetScreen Redundant Protocol)是Juniper公司基于VRRP协议规范自行开发的设备冗余协议。防火墙作为企业核心网络中的关键设备,需要为所有进出网络的信息流提供安全保护,为满足客户不间断业务访问需求,要求防火墙设备必须具备高可靠性,能够在设备、链路及互连设备出现故障的情况下,提供网络访问路径无缝切换。NSRP冗余协议提供复杂网络环境下的冗余路径保护机制。NSRP主要功能有:1、在高可用群组成员之间同步配置信息;2、提供活动会话同步功能,以保证发生路径切换情况下不会中断网络连接;3、采用高效的故障切换算法,能够在短短几秒内迅速完成故障检测和状态切换。NSRP集群两种工作模式:一、Active/Passive模式:通过对一个冗余集群中的两台安全设备进行电缆连接和配置,使其中一台设备作为主用设备,另一台作为备用设备。主用设备负责处理所有网络信息流,备用设备处于在线备份状态。主设备将其网络和配置命令及当前会话信息传播到备用设备,备用设备始终保持与主用设备配置信息和会话连接信息的同步,并跟踪主用设备状态,一旦主设备出现故障,备份设备将在极短时间内晋升为主设备并接管信息流处理。二、Active/Active模式:在NSRP中创建两个虚拟安全设备 (VSD) 组,每个组都具有自己的虚拟安全接口(VSI),通过VSI接口与网络进行通信。设备A充当VSD组1的主设备和VSD 组2的备份设备。设备B充当VSD组2的主设备和VSD组1的备份设备。Active/Active模式中两台防火墙同时进行信息流的处理并彼此互为备份。在双主动模式中不存在任何单一故障点。如下图所示,通过调整防火墙上下行路由/交换设备到网络的路由指向,HostA通过左侧路径访问ServerA,HostB通过右侧路径访问ServerB,网络中任一设备或链路出现故障时,NSRP集群均能够做出正确的路径切换。NSRP集群技术优势主要体现于:1、消除防火墙及前后端设备单点故障,提供网络高可靠性。即使在骨干网络中两类核心设备同时出现故障,也能够保证业务安全可靠运行。2、根据客户网络环境和业务可靠性需要,提供灵活多样的可靠组网方式。NSRP双机集群能够提供1、Active-Passive模式Layer2/3多虚拟路由器多虚拟系统和口型/交叉型组网方式;2、Active-Active模式Layer2/3多虚拟路由器多虚拟系统和口型/Fullmesh交叉型组网方式。为用户提供灵活的组网选择。 3、NSRP双机结构便于网络维护管理,通过将流量在双机间的灵活切换,在防火墙软件升级、前后端网络结构优化改造及故障排查时,双机结构均能够保证业务的不间断运行。4、结合Netscreen虚拟系统和虚拟路由器技术,部署一对NSRP集群防火墙,可以为企业更多的应用提供灵活可靠的安全防护,减少企业防火墙部署数量和维护成本。二、NSRP典型结构与配置1、Layer3 口型A/P组网模式Layer3 口型A/P组网模式是当前很多企业广泛采用的HA模式,该模式具有对网络环境要求不高,无需网络结构做较大调整,具有较好冗余性、便于管理维护等优点。缺点是Netscreen防火墙利用率不高,同一时间只有一台防火墙处理网络流量;冗余程度有限,仅在一侧链路和设备出现故障时提供冗余切换。Layer3 口型组网A/P模式具有较强冗余性、低端口成本和网络结构简单、便于维护管理等角度考虑,成为很多企业选用该组网模式的标准。配置说明:两台Netscreen设备采用相同硬件型号和软件版本,组成Active/Passive冗余模式,两台防火墙均使用一致的Ethernet接口编号连接到网络。通过双HA端口或将2Ethernet接口放入HA区段,其中控制链路用于NSRP心跳信息、配置信息和Session会话同步,数据链路用于在两防火墙间必要时传输数据流量。NS-A(主用):Set hostname NS-A /*定义主机名*/Set interface ethernet1 zone untrustSet interface ethernet1 ip Set interface ethernet1 routeSet interface ethernet2 zone trustSet interface ethernet2 routeSet interface /*通过管理口远程管理NS-A*/*配置接口:Untrust/Trust Layer3 路由模式*/Set interface ethernet3 zone HASet interface ethernet4 zone HA/*Eth3和Eth4口用于HA互连,用于同步配置文件、会话信息和跟踪设备状态信息*/set nsrp cluster id 1set nsrp rto-mirror syncset nsrp vsd-group id 0 priority 50 /*缺省值为100,低值优先成为主用设备*/set nsrp monitor interface ethernet2set nsrp monitor interface ethernet1/*配置NSRP:Vsd-group缺省为0,VSI使用物理接口IP地址,非抢占模式*/NS-B(备用):Set hostname NS-B /*定义主机名*/Set interface ethernet1 zone UntrustSet interface ethernet1 routeSet interface ethernet2 zone trustSet interface ethernet2 routeSet interface /*通过管理口远程管理NS-A*/*配置接口:Untrust/Trust Layer3 路由模式*/Set interface ethernet3 zone HASet interface ethernet4 zone HA/*Eth3和Eth4口用于HA互连,用于同步配置文件、会话信息和跟踪设备状态信息*/set nsrp cluster id 1set nsrp rto-mirror syncset nsrp vsd-group id 0 priority 100set nsrp monitor interface ethernet2set nsrp monitor interface ethernet1/*Vsd-group缺省为0,VSI使用物理接口IP地址,备用设备:优先级100,成为非抢占模式*/2、Layer3 Fullmesh A/P组网模式Layer3 Fullmesh连接A/P组网使用全交叉网络连接模式,容许在同一设备上提供链路级冗余,发生链路故障时,由备用链路接管网络流量,防火墙间无需进行状态切换。仅在上行或下行两条链路同时发生故障情况下,防火墙才会进行状态切换,Fullmesh连接进一步提高了业务的可靠性。该组网模式在提供设备冗余的同时提供链路级冗余,成为很多企业部署关键业务时的最佳选择。NS-A(Active):Set hostname NS-A /*定义主机名*/Set interface /*通过管理口远程管理NS-A*/Set interface red1 zone Untrust /*创建冗余接口1*/Set interface e1 zone nullSet interface e1 group red1Set interface e2 zone nullSet interface e2 group red1Set interface red1 ip.4/29Set interface red2 zone trustSet interface e3 zone nullSet interface e3 group red2Set interface e4 zone nullSet interface e4 group red2Set interface/*配置接口:Untrust/Trust Layer3 路由模式*/Set interface ethernet7 zone haSet interface ethernet8 zone haset nsrp cluster id 1set nsrp rto-mirror sync /*容许会话信息自动同步*/set nsrp vsd-group id 0 priority 50set nsrp monitor interface ethernet2set nsrp monitor interface ethernet1/*配置NSRP:Vsd-group缺省为0,VSI使用物理接口IP地址,优先级为50,非抢占模式*/NS-B(Backup):Set hostname NS-B /*定义主机名*/Set interface mgt ip 192.168.2.2/24 /*通过管理口远程管理NS-A*/Set interface red1 zone Untrust /*创建冗余接口*/Set interface e1 zone nullSet interface e1 group red1 /*将该物理接口放置到冗余接口中*/Set interface e2 zone nullSet interface e2 group red1Set interface red1 i.4/29Set interface red2 zone trustSet interface e3 zone nullSet interface e3 group red2Set interface e4 zone nullSet interface e4 group red2Set interface/*配置接口:Untrust/Trust Layer3 路由模式*/Set interface ethernet7 zone haSet interface ethernet8 zone haset nsrp cluster id 1set nsrp rto-mirror sync /*容许会话信息自动同步*/set nsrp vsd-group id 0 priority 100set nsrp monitor interface ethernet2set nsrp monitor interface ethernet1/*Vsd-group缺省为0,VSI使用物理接口IP地址,备用设备*/3、Layer3 Fullmesh连接A/A组网模式Layer3 Fullmesh连接A/A结构提供了一种更为灵活的组网方式,在保证网络高可靠性的同时提升了网络的可用性。A/A结构中两台防火墙同时作为主用设备并提供互为在线备份,各自独立处理信息流量并共享连接会话信息。一旦发生设备故障另一台设备将负责处理所有进出网络流量。Fullmesh连接A/A组网模式对网络环境要求较高,要求网络维护
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号