IP Addressing and Network Preparation for Multinode High Availability
This topic provides details to prepare the environment for Multinode High Availability deployment.
For the complete list of supported features and platforms, see Multinode High Availability in Feature Explorer.
Device Model
In Multinode High Availability, you must use the same SRX Series Firewall model as your nodes. For example, if you use the SRX5600 as one node, you must use another SRX5600 as the other node
In case of the SRX5000 line of devices, ensure that SPCs, NPCs, and IOCs have the same slot placement and type.
Software Version
Install the compatible version of Junos OS on the participating security devices.
Latest Junos IKE Package
You must install IKE package for enabling ICL encryption in Multinode High Availability solution.
By default, when your SRX Series Firewall boots up, the legacy IKE architecture is executed. To enable the new IKE architecture, you must install the new Junos IKE package. This is an optional package included in the Junos OS software download image.
Use the following command to install the IKE package:
user@host> request system software add optional://junos-ike.tgz
After you install the Junos IKE package, for subsequent software upgrades of the instance, the Junos IKE package is upgraded automatically from the new Junos OS releases installed on your device.
Software Licenses
You do not need any specific license for the Multinode High Availability feature. However, licenses are unique to each SRX Series and cannot be shared between the nodes in a Multinode High Availability setup. Therefore, you must use identical licenses on both the nodes. If both SRX Series Firewalls do not have an identical set of licenses, the system is not ready for the deployment.
Network Accessibility
Both the nodes in the Multinode High Availability setup must be able to reach each other using the ICL path. This path uses (whether the ICL is encrypted or not) IP address, protocol, and port details. You must ensure that this communication is allowed between the nodes if any firewall or other inspection is in place.
The floating IP address that you use for each node must be routable IP (logical routed path) across the network.
We recommend to bind the ICL to the loopback interface (lo0) or an aggregated Ethernet interface (ae0) and have more than one physical link (LAG/LACP) that ensure path diversity for highest resiliency. You can also use a revenue Ethernet port on the SRX Series Firewalls to setup an ICL connection. Ensure that you separate the transit traffic in revenue interfaces from the high availability (HA) traffic.
Using IP Address Pools in Multinode High Availability Configuration
When you configure multiple SRGs (active/active mode) in Multinode High Availability, ensure that address pools used by SRGs in an access profile must not overlap. Also ensure that address and address pool configured in the RADIUS server for the hosts connected to different SRGs must be unique.
Example: Following sample shows address pool configurations with access profile
localpool and localpool2 for SRG1 and SRG2
respectively:
[edit] set groups manha_config_group access profile localpool address-assignment pool v4-pool1 set groups manha_config_group access profile localpool2 authentication-order none set groups manha_config_group access profile localpool2 address-assignment pool v4-pool2 set groups manha_config_group access address-assignment pool v4-pool1 family inet network 192.0.2.0/24 set groups manha_config_group access address-assignment pool v4-pool1 family inet range v41 low 192.0.2.1 set groups manha_config_group access address-assignment pool v4-pool1 family inet range v41 high 192.0.2.127 set groups manha_config_group access address-assignment pool v4-pool2 family inet network 192.0.2.0/24 set groups manha_config_group access address-assignment pool v4-pool2 family inet range v41 low 192.0.2.128 set groups manha_config_group access address-assignment pool v4-pool2 family inet range v41 high 192.0.2.255
In this example, Services Redundancy Groups - SRG1 and SRG2 - are in the same network (192.0.2.0/24). However, IP addresses in address pools are distributed to avoid overlapping (192.0.2.1/24—192.0.2.127 for SRG1 and 192.0.2.128—192.0.2.255 for SRG2).
Similarly you must use unique IP address and address pools for user configurations in the RADIUS server.
In case you assign same address for hosts in two SRGs, then Multinode High Availability deletes the new host and halts IKE negotiations with the following message:
AUTHENTICATION_FAILED as the AUTH response
System Log displays the following message:
Duplicate assigned IPv4 received, delete new peer
IPv4 and IPv6 Address Consideration
Table 1 provides details on IPv4 and IPv6 address support for Multinode High Availability deployments.
| MNHA Deployment Type | Layer 3 Network (Routers at Both Ends) | Hybrid Network (Router at One End and Switch at the Other End) | Default Gateway (Switches at Both Ends) |
|---|---|---|---|
|
IPv4 and IPv6 addresses for IP monitoring |
Yes | Yes | Yes |
|
IPv4 and IPv6 addresses for activeness probing |
Yes | Yes | Yes |
|
Virtual IPv4 and IPv6 addresses |
Not applicable | Yes | Yes |
Support available for the configuration of IPv6 addresses for the active signal route, backup signal route, and install on failure route options under services-redundancy-group configurations on your MNHA setup.
Configure only one VIP per logical interface (IFL) in a Multinode High Availability setup. Support for using multiple VIPs or dual-stack is not available.
Dual-Stack Virtual IP Addresses in Multinode High Availability
MNHA supports dual‑stack (IPv4 and IPv6) virtual IP support for the default gateway mode
and hybrid mode deployments. In these deployments, you can assign both an IPv4 address and
an IPv6 address to the same virtual IP under [edit chassis high-availability
services-redundancy-group] hierarchy. With dual-stack support, you can configure
one IPv4 address and one IPv6 address on the same virtual IP by adding multiple
ip statements. If you configure only one address family, service
redundancy group behavior (SRG) remains same as in single-stack deployments.
The SRG manages installation state and failover for both address families as a single virtual IP entry. This approach keeps default gateway behavior consistent on dual-stack interfaces without requiring separate virtual IP indexes for IPv4 and IPv6.
If split-brain prevention probing is configured for an SRG with dual-stack virtual IP addresses, the system probes each configured address and evaluates the results together. If either the IPv4 or IPv6 virtual IP address responds, the probe is considered successful. This behavior helps prevent incorrect role decisions when only one address family is affected.
This support improves MNHA adoption in dual‑stack environments and enables the system to manage and fail over IPv4 and IPv6 virtual IP addresses to maintain traffic continuity and high availability.
To configure dual-stack virtual IP addresses, add one IPv4 prefix and one IPv6 prefix under the same SRG ID and virtual IP index as shown in the following sample:
[edit] user@host# set chassis high-availability services-redundancy-group 1 deployment-type switching user@host# set chassis high-availability services-redundancy-group 1 peer-id 2 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 1 ip 10.1.0.200/16 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 1 ip 2001:db8:6700::3/64 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 1 interface ge-0/0/3.0 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 1 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 2 ip 10.2.0.200/16 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 2 ip 2001:db8:6701::7/64 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 2 interface ge-0/0/4.0
To verify that the SRG tracks both addresses on the same index, use:
show chassis high-availability services-redundancy-group
1
show chassis high-availability information
detail
Verify IPv4 and IPv6 Virtual IP (VIP) Installation
Use the show chassis high-availability services-redundancy-group 1
command to see IP addresses details.
Active Node
user@host> show chassis high-availability services-redundancy-group 1
SRG failure event codes:
BF BFD monitoring
IP IP monitoring
IF Interface monitoring
CP Control Plane monitoring
Services Redundancy Group: 1
Deployment Type: SWITCHING
Status: ACTIVE
Activeness Priority: 200
Preemption: ENABLED
Process Packet In Backup State: NO
Control Plane State: READY
System Integrity Check: N/A
Failure Events: NONE
Peer Information:
Peer Id: 2
Status : BACKUP
Health Status: HEALTHY
Failover Readiness: READY
Virtual IP Info:
Index: 2
IP: 2001:db8:6701::7/64
IP2: 10.2.0.200/24
VMAC: 00:10:db:fe:01:02
Interface: ge-0/0/4.0
Status: INSTALLED
Index: 1
IP: 2001:db8:6700::3/64
IP2: 10.1.0.200/24
VMAC: 00:10:db:fe:01:01
Interface: ge-0/0/3.0
Status: INSTALLED
Split-brain Prevention Probe Info:
DST-IP: 2001:db8:6700::3
Routing Instance: default
Type: ICMP Probe
Status: NOT RUNNING
Result: N/A Reason: N/A
DST-IP: 10.1.0.200
Routing Instance: default
Type: ICMP Probe
Status: NOT RUNNING
Result: N/A Reason: N/A
Interface Monitoring:
Status: UP
IF Name: ge-0/0/4 State: Up
IF Name: ge-0/0/3 State: Up
IP SRGID Table:
SRGID IP Prefix Routing Table
1 10.2.0.200/32 default
1 2001:db8:6701::7/128 default
1 10.1.0.200/32 default
1 2001:db8:6700::3/128 default
In the above samples:
- Both IPv4 and IPv6 VIPs are present which confirms that dual-stacking is active.
- VIP is installed only on the active node.
Check Installation of Virtual IPs on Interfaces
Use the show interface terse command to check if virtual IP addresses
are installed on the interface.
Active Node
user@host> show interfaces terse | no-more
Interface Admin Link Proto Local Remote
ge-0/0/0 up up
gr-0/0/0 up up
ip-0/0/0 up up
lsq-0/0/0 up up
lt-0/0/0 up up
mt-0/0/0 up up
sp-0/0/0 up up
sp-0/0/0.0 up up inet
inet6
sp-0/0/0.16383 up up inet
ge-0/0/1 up up
ge-0/0/2 up up
ge-0/0/2.0 up up inet 10.22.0.1/24
ge-0/0/3 up up
ge-0/0/3.0 up up inet 10.1.0.1/24
10.1.0.200/24
inet6 2001:db8:6700::3/64
fe80::5604:1aff:fe00:4882/64
ge-0/0/4 up up
ge-0/0/4.0 up up inet 10.2.0.1/24
10.2.0.200/24
inet6 2001:db8:6701::7/64
fe80::5604:1aff:fe00:7541/64
...Backup Node
user@host> show interfaces terse | no-more
Interface Admin Link Proto Local Remote
ge-0/0/0 up up
gr-0/0/0 up up
ip-0/0/0 up up
lsq-0/0/0 up up
lt-0/0/0 up up
mt-0/0/0 up up
sp-0/0/0 up up
sp-0/0/0.0 up up inet
inet6
sp-0/0/0.16383 up up inet
ge-0/0/1 up up
ge-0/0/2 up up
ge-0/0/2.0 up up inet 10.22.0.2/24
ge-0/0/3 up up
ge-0/0/3.0 up up inet 10.1.0.2/24
ge-0/0/4 up up
ge-0/0/4.0 up up inet 10.2.0.2/24
dsc up up
...In the above sample, on the active node, the interface shows both dual-stack virtual IPs 10.1.0.200/16 and 2001:db8:6700::3/64 are installed on interface ge-0/0/3.0 for VIP index 1 and 10.2.0.200/16 and 2001:db8:6701::7/64 are installed on interface ge-0/0/4.0 for VIP index 2.
On the backup node, only the local interface IP addresses are present, and the VIP is not installed. This ensures that only the active node handles traffic. During a failover, the VIP moves from the active node to the backup node, maintaining service continuity for both IPv4 and IPv6 traffic.
For complete configuration, see Example: Configure Multinode High Availability in a Default Gateway Deployment.
Scaling Virtual IP Support in MNHA
You can increase the number of virtual IP (VIP) addresses per Services Redundancy Group (SRG) up to 2000 in Multinode High Availability (MNHA) switching (default gateway) mode and on the L2 side of Hybrid mode.
In earlier implementations, the virtual MAC address (VMAC) was derived using the SRG identifier and VIP index. As a result, each VIP required a unique VMAC, limiting the number of VIPs to approximately 32 per SRG.
With this enhancement, VMAC is generated using a combination of the following parameters:
- Grid identifier (grid-id)
- Services redundancy group identifier (SRG-ID)
- Virtual MAC identifier (virtual-mac-id)
This decouples VMAC assignment from the VIP index, allowing multiple VIPs to share the same VMAC and significantly increasing the supported scale
Grid-ID (Configured at the chassis level)
edit user@host# set chassis high-availability grid-id <1–15>
Virtual MAC ID (Configured per interface within an SRG)
edit user@host# set chassis high-availability services-redundancy-group <id> interface <interface> virtual-mac-id <0–15>
This configuration must be consistent for the same interface across SRGs.
This enhancement enables the following:
- Up to ~2000 VIPs per SRG
- Up to 16 interfaces per SRG. This 16 interface limit applies at the physical interface (IFD) level. A single physical interface (or AE bundle) can host multiple logical subinterfaces and VIPs. Using all 16 interfaces is not required; fewer, including a single interface with multiple subinterfaces, may be used
- A physical or aggregated Ethernet interface can be configured in multiple SRGs
- Up to 15 MNHA pairs can coexist within a single Layer 2 broadcast domain. That is, upto 15 MNHA pairs with unique grid-id for each pair can be connected to the same L2 switch and the grid-id will differentiate with unique vMAC though same SRG id and interface id used.
Sample Configuration
This configuration sets up an MNHA pair in Layer 2 (switching mode) with enhanced VIP
scaling using grid-id and virtual-mac-id.
[edit] user@host# set chassis high-availability local-id 1 user@host# set chassis high-availability local-id local-ip 10.22.0.1 user@host# set chassis high-availability grid-id 5 user@host# set chassis high-availability peer-id 2 peer-ip 10.22.0.2 user@host# set chassis high-availability peer-id 2 interface xe-1/0/7.0 user@host# set chassis high-availability peer-id 2 liveness-detection minimum-interval 300 user@host# set chassis high-availability peer-id 2 liveness-detection multiplier 3 user@host# set chassis high-availability services-redundancy-group 1 deployment-type switching user@host# set chassis high-availability services-redundancy-group 1 peer-id 2 user@host# set chassis high-availability services-redundancy-group 1 interface xe-1/1/7 virtual-mac-id 10 user@host# set chassis high-availability services-redundancy-group 1 interface xe-1/1/9 virtual-mac-id 11 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 1 ip 10.20.0.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 1 interface xe-1/1/7.0 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 1 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 2 ip 10.40.0.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 2 interface xe-1/1/9.0 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 2 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 3 ip 10.20.1.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 3 interface xe-1/1/7.1 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 3 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 4 ip 10.40.1.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 4 interface xe-1/1/9.1 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 4 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 5 ip 10.20.2.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 5 interface xe-1/1/7.2 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 5 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 6 ip 10.40.2.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 6 interface xe-1/1/9.2 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 6 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 7 ip 10.20.3.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 7 interface xe-1/1/7.3 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 7 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 8 ip 10.40.3.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 8 interface xe-1/1/9.3 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 8 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 9 ip 10.20.4.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 9 interface xe-1/1/7.4 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 9 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 10 ip 10.40.4.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 10 interface xe-1/1/9.4 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 10 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 11 ip 10.20.5.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 11 interface xe-1/1/7.5 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 11 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 12 ip 10.40.5.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 12 interface xe-1/1/9.5 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 12 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 13 ip 10.20.6.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 13 interface xe-1/1/7.6 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 13 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 14 ip 10.40.6.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 14 interface xe-1/1/9.6 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 14 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 15 ip 10.20.7.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 15 interface xe-1/1/7.7 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 15 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 16 ip 10.40.7.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 16 interface xe-1/1/9.7 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 16 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 17 ip 10.20.8.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 17 interface xe-1/1/7.8 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 17 use-virtual-mac user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 18 ip 10.40.8.1/24 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 18 interface xe-1/1/9.8 user@host# set chassis high-availability services-redundancy-group 1 virtual-ip 18 use-virtual-mac
In the above configuration, All VIPs on:
xe-1/1/7.*→ share VMAC derived from virtual-mac-id 10xe-1/1/9.*→ share VMAC derived from virtual-mac-id 11
Backward Compatibility - If the grid-id is not configured, the system continues to use the legacy VMAC generation method based on SRG-ID and VIP index. In this case, the VIP scale remains limited to approximately 32 per SRG.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.