当前位置: 首页 > news >正文

华为防火墙二层透明模式下双机热备负载分担配置(两端为路由器)

在这里插入图片描述

这种模式只做负载分担,不能是主备备份,因为主备备份模式下,备设备会把vlan down掉,如果是主备备份模式,那在主挂后,备的状态在切换过程中先起vlan,再建立ospf邻接,那业务会断线较久,不推荐这样做。

FW1
hrp enable
hrp interface GigabitEthernet1/0/2 remote 172.16.0.2

vlan 2
port g1/0/0
prot g1/0/1
hrp track action
hrp track standby

interface GigabitEthernet1/0/2
undo shutdown
ip address 172.16.0.1 255.255.255.0

firewall zone trust
set priority 85
add interface GigabitEthernet0/0/0
add interface GigabitEthernet1/0/1

firewall zone untrust
set priority 5
add interface GigabitEthernet1/0/0

firewall zone dmz
set priority 50
add interface GigabitEthernet1/0/2

security-policy //暂时全允许
default action permit

FW2:

hrp enable
hrp interface GigabitEthernet1/0/2 remote 172.16.0.1

vlan 2
port g1/0/0
prot g1/0/1
hrp track standby
hrp track action

interface GigabitEthernet1/0/2
undo shutdown
ip address 172.16.0.2 255.255.255.0

firewall zone trust
set priority 85
add interface GigabitEthernet0/0/0
add interface GigabitEthernet1/0/1

firewall zone untrust
set priority 5
add interface GigabitEthernet1/0/0

firewall zone dmz
set priority 50
add interface GigabitEthernet1/0/2

security-policy
default action permit

查看
dis hrp state ver

http://www.lryc.cn/news/225774.html

相关文章:

  • “基于RflySim平台飞控底层算法开发”系列专题培训 (第三期)
  • Leetcode刷题详解——全排列 II
  • 音频——解析 PCM 数据
  • win10 下 ros + Qt 工程CMakeLists.txt
  • Scala中编写多线程爬虫程序并做可视化处理
  • 使用 huggingface_hub 镜像下载 大模型
  • 路径加密(替换空格),剑指offer,力扣
  • HarmonyOS开发:UI开展前的阶段总结
  • Linux安装Libreoffice
  • 如何将系统盘MBR转GPT?无损教程分享!
  • 基于element-plus定义表单配置化
  • LeetCode算法题解(贪心)|LeetCode122. 买卖股票的最佳时机 II、LeetCoed55. 跳跃游戏、LeetCode45. 跳跃游戏 II
  • 计蒜客详解合集(2)期
  • 华为防火墙vrrp+hrp双机热备主备备份(两端为交换机)
  • Angular 由一个bug说起之一:List / Grid的性能问题
  • 第12章 PyTorch图像分割代码框架-3:推理与部署
  • MYSQL---基础篇
  • 【启扬方案】启扬安卓屏一体机在医疗自助服务终端上的应用解决方案
  • 收藏!7个国内「小众」的程序员社区
  • LeetCode(4)删除有序数组中的重复项 II【数组/字符串】【中等】
  • C++ 同构字符串/ 单词规律
  • oracle 中 %TYPE %ROWTYPE
  • Pytorch实战教程(五)-计算机视觉基础
  • 51单片机PCF8591数字电压表数码管显示设计( proteus仿真+程序+设计报告+讲解视频)
  • 普华永道于进博会首发“企业数据资源会计处理一体化平台”
  • IDEA 使用Reset Current Branch to Here 进行git 版本控制,图文操作
  • 有趣的 TCP 抢带宽行为
  • HCIP---VRRP
  • 在家用Python搞副业,也能月入10000+
  • play() failed because the user didn‘t interact with the document first.