Knowledge Search


×
 

[EX/QFX] Junos device supports VRRP group ID 0

  [KB34785] Show Article Properties


Summary:

This article provides an example and explanation for the support of group ID 0 with VRRP.

Symptoms:

The technical documentation, Understanding VRRP, specifies that the VRRP group supports the range 0-255.

However, in RFC2338 and RFC3768, it specifies that the range is 1-255:

   VRID                    Virtual Router Identifier.  Configured item
                           in the range 1-255 (decimal).  There is no
                           default.
   VRID                    Virtual Router Identifier.  Configurable item
                           in the range 1-255 (decimal).  There is no
                           default.

Topology:
EX4300-1 ge-0/0/0 ---------------ge-0/0/0 EX4300-2

EX4300-1 Config
set vlans vlan10 vlan-id 10
set vlans vlan10 l3-interface irb.10
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members 10
set interfaces irb unit 10 family inet address 10.10.10.5/24 vrrp-group 0 virtual-address 10.10.10.254
set interfaces irb unit 10 family inet address 10.10.10.5/24 vrrp-group 0 priority 110

EX4300-2 Config
set vlans vlan10 vlan-id 10
set vlans vlan10 l3-interface irb.10
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members 10
set interfaces irb unit 10 family inet address 10.10.10.6/24 vrrp-group 0 virtual-address 10.10.10.254
set interfaces irb unit 10 family inet address 10.10.10.6/24 vrrp-group 0 priority 100

Output:

root@EX4300-1# run show vrrp          
Interface     State       Group    VR state VR Mode   Timer    Type      Address
irb.10        up              0           master    Active            A   0.156 lcl    10.10.10.5    
                                                                                                    vip   10.10.10.254
root@EX4300-2# run show vrrp
Interface     State       Group    VR state VR Mode   Timer    Type       Address
irb.10        up              0            backup   Active           D    2.786 lcl    10.10.10.6    
                                                                                                     vip   10.10.10.254  
                                                                                                     mas 10.10.10.5 
Solution:

In Junos, the group ID 0 for VRRP is supported. This can be seen as an extension to the RFC.

Related Links: