Juniper VSRX Firewall ha configuration
Topological structure of experimental network
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/2B/wKiom1R6wn6S3GsPAACvyJKrKGQ317.jpg "/>
Experimental objectives
- Complete the failover configuration of the SRX firewall
- Connectivity of test equipment
Experiment Configuration steps:
- The GE-0/0/1 and GE-0/0/2 ports of the two VSRX firewalls are interconnected using a network cable or using ESXI or VM networks, and the GE-0/0/1 interface acts as a control LINK,GE-0/0/2 interface as a fabric Link.
- Restore the firewall to a state that only has the root password set, and the root password of the two devices remains the same
- use set chassis cluster Cluster-id 2 Node 0 reboot command To configure the first firewall as The first device in cluster 2 and restart the device
- use set chassis cluster Cluster-id 2 Node 1 reboot command To configure the second firewall as The second device in cluster 2 and restart the device
- After the device restart is complete, the following configuration is required on the NODE0 device to resolve address conflicts for the management interface
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 and MYLAB-FW2
- below we make the configuration of redundancy group
#使用cluster Reth-count explicitly declares the need to configure several RG groups
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之后, the interface of the alternate host is the main device interface +7
- Configuring redundant Interface
#配置冗余接口
Set Interfaces GE-0/0/3 gigether-options redundant-parent Reth0
Set Interfaces GE-0/0/4 gigether-options redundant-parent reth1
Set Interfaces GE-7/0/3 gigether-options redundant-parent Reth0
Set Interfaces GE-7/0/4 gigether-options redundant-parent reth1
Set Interfaces Reth0 redundant-ether-options Redundancy-group 1
Set interfaces Reth0 Unit 0 family inet address 10.1.1.10/24
Set Interfaces Reth1 redundant-ether-options Redundancy-group 1
Set interfaces reth1 Unit 0 family inet address 202.100.1.10/24
- Check the status of HA
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/2B/wKiom1R6wn6AsFAnAAFFSJAHoLQ016.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/29/wKioL1R6wwWRBuArAAE96GLeKEc646.jpg "/>
- If you need to restore to a remote, standalone use state
#首先关闭集群后重启
Set chassis cluster Disable reboot
#使用load Factory-default restore to factory settings
Load Factory-default
Set System Root-authentication Plain-text-password
Commit
Juniper VSRX Firewall ha configuration