华为防火墙、核心双机热备实例
1.1 项目实训目的

  1. 实现两个运营商专线接入,分别接入到FW1、FW2实现主备
  2. 实现防火墙实现双机热备。
  3. 实现核心交换机双机热备。
  4. 掌握MSTP(二层)、VRRP、HRP、IP-LINK等运用。
    1.2 项目实训拓扑图

1.3 项目实训设备
设备清单:
云彩1:用于物理连接防火墙web
路由器1:模拟运营商设备
二层交换机4台:用于运营商接入分线和接入层
USG防火墙2:用于出口接入运营商
三层交换机2:用于核心交换
PC 2:模拟用户
1.4 项目实训要求
1.Vlan规划
VLAN10用户PC2
VLAN20用户PC1
VLAN100 LSW1与FW1连接
VLAN200 LSW2与FW2连接
2.IP地址规划
vlan 10:192.168.10.0 /24
vlan 20:192.168.20.0 /24
vlan 100:172.16.100.0 /24
vlan 200:172.16.200.0/24
FW心跳:172.16.1.0/24
外网dx:1.1.1.0/24
外网lt: 2.2.2.0/24
模拟外网网站:9.9.9.9
3. 每台防火墙都有两个出口,主线路故障时自动切换到备份线路,当FW1宕机时候所有流量走到FW2,实现双机热备。
4. LSW1与LSW2配置VRRP网关冗余,任何一台宕机时自动切换。
5. 核心下面所有交换机配置MSTP。
1.5 项目实训步骤及主要配置
1.5.1交换机配置:
1.交换机基础配置配(不做详细解释)
LSW1:
vlan batch 10 20 100 200
interface Vlanif10
ip address 192.168.10.253 255.255.255.0
interface Vlanif20
ip address 192.168.20.253 255.255.255.0
interface Vlanif100
ip address 172.16.100.1 255.255.255.0
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static
interface GigabitEthernet0/0/2
port link-type access
port default vlan 100
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/4
eth-trunk 1
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/6
eth-trunk 1
ospf 1
area 0.0.0.0
network 172.16.100.0 0.0.0.255
network 192.168.10.0 0.0.0.255
ip route-static 0.0.0.0 0.0.0.0 172.16.100.2
LSW2:
vlan batch 10 20 100 200
interface Vlanif10
ip address 192.168.10.252 255.255.255.0
interface Vlanif20
ip address 192.168.20.252 255.255.255.0
vrrp vrid 2 track interface Eth-Trunk1
interface Vlanif200
ip address 172.16.200.1 255.255.255.0
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static
interface GigabitEthernet0/0/1
port link-type access
port default vlan 200
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/3
eth-trunk 1
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/5
eth-trunk 1
ospf 1
area 0.0.0.0
network 172.16.200.0 0.0.0.255
network 192.168.20.0 0.0.0.255
ip route-static 0.0.0.0 0.0.0.0 172.16.200.2
LSW3:
vlan batch 10 20 100 200
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/3
port link-type access
port default vlan 10
LSW4:
vlan batch 10 20 100 200
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/3
port link-type access
port default vlan 20

6.配置交换机MSTP
要求:实现VLAN10主LSW1备LSW2,VLAN20主LSW2备LSW1
注意:每台设备需要修改生成树模式为MSTP
LSW1:
stp region-configuration //进入STP区域配置
region-name mstp1 //创建区域名mstp1
instance 1 vlan 10 //实例1 成员vlan10 可以多个vlan
instance 2 vlan 20 //实例2 成员vlan20 可以多个vlan
active region-configuration //激活实例
stp instance 1 root primary //在SW1设置实例1 根交换机
stp instance 2 root secondary //在SW1设置实例2 备份根交换机
LSW2:
stp instance 1 root secondary
stp instance 2 root primary
stp region-configuration
region-name mstp1
instance 1 vlan 10
instance 2 vlan 20
active region-configuration
LSW3:
stp region-configuration
region-name mstp1
instance 1 vlan 10
instance 2 vlan 20
active region-configuration
LSW4:
stp region-configuration
region-name mstp1
instance 1 vlan 10
instance 2 vlan 20
active region-configuration
4配置网关VRRP
要求:实现VLAN10主LSW1备LSW2,VLAN20主LSW2备LSW1
LSW1:
interface Vlanif10
ip address 192.168.10.253 255.255.255.0 //设置vlanip
vrrp vrid 1 virtual-ip 192.168.10.254 //设置vrrp 虚拟ip
vrrp vrid 1 priority 110 //vrrp优先级110 越大越优先
vrrp vrid 1 track interface GigabitEthernet0/0/2 reduced 90 //跟踪G0/0/2口 如果dow掉则降低优先级为90
interface Vlanif20
ip address 192.168.20.253 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.20.254
LSW2:
interface Vlanif10
ip address 192.168.10.252 255.255.255.0
vrrp vrid 1 virtual-ip 192.168.10.254
interface Vlanif20
ip address 192.168.20.252 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.20.254
vrrp vrid 2 priority 110
vrrp vrid 2 track interface GigabitEthernet0/0/1 reduced 90
1.5.2防火墙配置:
1.防火墙基础配置配(WEB)
FW1:
1.端口配置:并划分Trust、untrust

2.创建两条IP-LINK用于默认路由追踪

3.创建静态路由,创建两条默认路由并绑定IP-link

4.创建访问外网安全策略,允许所有

5.创建两条NAT策略

6.开启双机热备,指定心跳接口和对端地址。

FW2:
1.接口配置

2.创建两条IP-LINK用于默认路由探测

3.创建静态路由,创建两条默认路由并绑定IP-link

4.创建访问外网安全策略,允许所有

5.创建两条NAT策略

6.开启双机热备,指定心跳接口和对端地址。

防火墙配置完成。

1.6 验证测试
1.测试PC2主线路ping 9.9.9.9 在FW1 G1/0/3口抓包查看,数据走主线路,正常。

2.继续ping 9.9.9.9关闭FW1 G1/0/3口 ,在FW1 G1/0/2抓包查看,数据走备线路,正常

3.模拟FW1宕机,继续ping 9.9.9.9查看连接正常,丢包1个,查看FW2运行状态已切换到主用。


以上所有配置完成。
总结:能实现双机热备的方式很多,设计时根据实际场景情况进行规划。
拓展知识:IP-LINK、BFD、NQA、SLA有什么区别呢?

利用MSTP+VRRP+HRP+IP-LINK实现双机热备相关推荐

  1. ENSP-----VGMP与HRP协议---防火墙的双机热备

    一.防火墙双机热备介绍 双机热备的概述 双机热备是为了解决单点故障,实现业务的平滑过渡(会话表需要同步) 华为防火墙的双机热备模式有:热备模式.负载均衡模式 主备备份指正常情况下仅由主用设备处理业务, ...

  2. 双机热备 ip地址_SBC双机热备方案

    概述 随着通信全IP化的进程,现代企业中基于IP的语音.视频.会议.融合通信已广泛应用,同时企业通信也面临着新挑战,包括安全攻击.跨网NAT穿越以及业务稳定运行,高可靠方案尤为重要,因此在组网中部署S ...

  3. 第十节: 利用SQLServer实现Quartz的持久化和双机热备的集群模式

    背景: 默认情况下,Quartz.Net作业是持久化在内存中的,即 quartz.jobStore.type = "Quartz.Simpl.RAMJobStore, Quartz" ...

  4. 第十节: 利用SQLServer实现Quartz的持久化和双机热备的集群模式 :

    背景: 默认情况下,Quartz.Net作业是持久化在内存中的,即 quartz.jobStore.type = "Quartz.Simpl.RAMJobStore, Quartz" ...

  5. ESXI中设置高格作为旁路由并设置双机热备(VRRP)

    因为高格没有ipv6,作为主路由在一些特殊场景下不太好,所以将其设置成旁路由充当网关发挥流控作用是不错的.但经过实验发现,高格的流控只有对其LAN网段的客户端才起作用.所以使用双机热备实现即使关闭高格 ...

  6. 双机热备实验——(VRRP技术+HSRP技术)讲解+配置

    目录 一.双机热备(冗余技术)简介: 二.HSRP 技术简介: 三.VRRP技术简介: 四.HSRP配置: 五.VRRP配置: 一.双机热备(冗余技术)简介: 两核心交换机,业务流量优先从主核心交换机 ...

  7. Keepalived实现LVS-DR双机热备_2015101601

    Keepalived实现LVS-DR模型的高可用 >>>拓扑结构简介 本次实验所使用的系统发行版本为:centos6.6 (nod1)路由器,为一台linux主机模拟,共有两个接口e ...

  8. 华为防火墙双机热备学习笔记(V500)

    华为防火墙双机热备学习笔记(V500) 双机产生背景 防火墙与路由器.三层交换机设备双机部署的差别 双机热备协议架构 HRP 心跳线 防火墙的双机部署 VRRP 虚拟路由冗余协议 VGMP vrrp组 ...

  9. 高可用性HA(High Availability)双机热备

    对于日益承担企事业单位核心业务的NT网络来说,数据的高可用性和系统的连续运转能力极其重要,服务器是企事业单位存放数据的重要设备,如果一旦因为服务器的故障而无法正常运转,就会造成业务停顿,导致不可挽回的 ...

最新文章

  1. 16Adapter(适配器)模式
  2. 获取访问者的IP地址
  3. 75的写的自己情感经历(转贴自天涯社区)
  4. leetcode 907. Sum of Subarray Minimums | 907. 子数组的最小值之和(单调栈)
  5. 中文字符频率统计python_python统计字符串出现最多的字母及其出现次数
  6. 无法连接上 cn.archive.ubuntu.com:80 (123.129.214.98)。 - connect (111: 拒绝连接)
  7. php的simplexml
  8. centos7.9使用jenkins部署springcloud微服务_配合SVN_脚本_实现自动部署后端以及前端程序_亲测成功---持续集成部署Jenkins工作笔记0023
  9. 获取linux samba的文件访问日志
  10. php 加tab键,php 生成Tab键或逗号分隔的CSV
  11. 解决AssetBundle包加载预制体时,Shader显示异常的问题
  12. About 产量数据选取问题
  13. 解决JDK官网下载龟速的问题
  14. 32款图片处理软件介绍
  15. ubuntu为jar创建快捷方式
  16. Python实现Singleton模式的几种方式
  17. Eclipse的配置
  18. 苹果4s怎么越狱教程_苹果u盘越狱教程
  19. Python之数据爬取数据可视化
  20. MBProgressHUD等待框背景色与菊花等待框颜色修改

热门文章

  1. 高精度 A+B Problem
  2. vue--富文本插件Quill(一)基础使用
  3. JPA @Modifying注解 jpql语句更新以及删除
  4. 基于混沌算法的图像加密技术(一)
  5. [技术讨论]谈架构设计:如何界定前后端,前端是否需要数据库?
  6. git revert的使用
  7. Pytorch中的contiguous理解
  8. Texlive not found article.cls的问题
  9. 铅酸蓄电池单格最高与最低电压
  10. php中奖概率设计,适用于大转盘、九宫格等游戏