Juniper vSRX防火墙 HA配置

发布时间:2020-06-15 12:00:58 作者:网海一粟
来源:网络 阅读:2658

Juniper vSRX防火墙HA配置

实验网络拓扑结构

Juniper vSRX防火墙 HA配置

实验目标

实验配置步骤:

  1. 使用网线或者使用Esxi或者VM的网络将两台vSRX防火墙的ge-0/0/1和ge-0/0/2口互联起来,ge-0/0/1接口作为Control Link,ge-0/0/2接口作为Fabric Link
  2. 将防火墙还原到只设置了root密码的状态,两台设备的root密码保持一致
  3. 使用set chassis cluster cluster-id 2 node 0 reboot命令将第一台防火墙配置为集群2的第一台设备并重启设备
  4. 使用set chassis cluster cluster-id 2 node 1 reboot命令将第二台防火墙配置为集群2的第二台设备并重启设备
  5. 设备重启完成后,需要在node0设备上进行以下配置来解决管理接口的地址冲突

    set groups node0 system host-name Mylab-FW1

    set groups node0 interfaces fxp0 unit 0 family inet address 100.100.100.1/24

    set groups node1 system host-name Mylab-FW2

    set groups node1 interfaces fxp0 unit 0 family inet address 100.100.100.2/24

    set apply-groups ${node}

    commit and quit

    #这个时候防火墙的名称分别变为Mylab-FW1和Mylab-FW2

  6. 下面我们进行Redundancy Group的配置

    #使用cluster reth-count明确声明需要配置几个RG组

    set chassis cluster reth-count 2

    set chassis cluster redundancy-group 0 node 0 priority 100

    set chassis cluster redundancy-group 0 node 1 priority 99

    set chassis cluster redundancy-group 1 node 0 priority 100

    set chassis cluster redundancy-group 1 node 1 priority 99

    #配置Fabric Link

    set interfaces fab0 fabric-options member-interfaces ge-0/0/2

    set interfaces fab1 fabric-options member-interfaces ge-7/0/2

    #注意vSRX在完成Cluster之后,备用主机的接口为主用设备接口+7

  7. 配置Redundant Interface

    #配置冗余接口

    set interfaces ge-0/0/3 gigether-options redundant-parent reth0

    set interfaces ge-0/0/4 gigether-options redundant-parent reth2

    set interfaces ge-7/0/3 gigether-options redundant-parent reth0

    set interfaces ge-7/0/4 gigether-options redundant-parent reth2

    set interfaces reth0 redundant-ether-options redundancy-group 1

    set interfaces reth0 unit 0 family inet address 10.1.1.10/24

    set interfaces reth2 redundant-ether-options redundancy-group 1

    set interfaces reth2 unit 0 family inet address 202.100.1.10/24

  8. 检查HA的状态

Juniper vSRX防火墙 HA配置

Juniper vSRX防火墙 HA配置

  1. 如果需要恢复到远程的独立使用状态

    #首先关闭集群后重启

    set chassis cluster disable reboot

    #使用load factory-default恢复至出厂设置

    load factory-default

    set system root-authentication plain-text-password

    commit

推荐阅读:
  1. Juniper SRX防火墙HA配置
  2. Ansible配制Juniper设备

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

网络 防火墙 center

上一篇:spring配置datasource三种方式

下一篇:fail2ban 的安装配置

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》