Related Documentation
- ACX Series
- Understanding VRRP on ACX Series Routers
- Configuring the Advertisement Interval for the VRRP Master Router
- Configuring a Backup Router to Preempt the Master Router
- Modifying the Preemption Hold-Time Value
- Configuring Asymmetric Hold Time for VRRP Routers
- Configuring an Interface to Accept Packets Destined for the Virtual IP Address
- Example: Configuring VRRP for ACX Series Routers
- Example: Configuring VRRP for IPv6
- M Series
- Example: Configuring VRRP for IPv6
- T Series
- Example: Configuring VRRP for IPv6
Configuring Basic VRRP Support
An interface can be a member of one or more VRRP groups. To configure basic VRRP support, configure VRRP groups on interfaces by including the vrrp-group statement:
You can include this statement at the following hierarchy level:
- [edit interfaces interface-name unit logical-unit-number family inet address address]
Within a VRRP group, the master virtual router and the backup virtual router must be configured on two different routers.
For each VRRP group, you must configure the following:
- Group identifier—Assign a value from 0 through 255.
- Address of one or more virtual routers that are members
of the VRRP group—Normally, you configure only one virtual IP
address per group. However, you can configure up to eight addresses.
Do not include a prefix length in a virtual IP address. The following
considerations apply to configuring a virtual IP address:
- The virtual router IP address must be the same for all routers in the VRRP group.
- If you configure a virtual IP address to be the same as the physical interface’s address, the interface becomes the master virtual router for the group. In this case, you must configure the priority to be 255, and you must configure preemption by including the preempt statement.
- If the virtual IP address you choose is not the same as the physical interface’s address, you must ensure that the virtual IP address does not appear anywhere else in the router’s configuration. Verify that you do not use this address for other interfaces, for the IP address of a tunnel, or for the IP address of static ARP entries.
- You cannot configure the same virtual IP address on interfaces that belong to the same logical system and routing instance combination. However, you can configure the same virtual IP address on interfaces that belong to different logical system and routing instance combinations.
- Priority for a router to become the master virtual router—Configure
the value used to elect the master virtual router in the VRRP group.
It can be a number from 1 through 255. The default value for backup
routers is 100. A larger value indicates a higher priority. The router
with the highest priority within the group becomes the master router.
Note: If there are two or more backup routers with the same priority, the router that has the highest primary address becomes the master.
![]() | Note: Mixed tagging (configuring two logical interfaces on the same Ethernet port, one with single-tag framing and one with dual-tag framing) is supported only for interfaces on Gigabit Ethernet IQ2 and IQ PICs. If you include the flexible-vlan-tagging statement at the [edit interfaces interface-name] hierarchy level for a VRRP-enabled interface on a PIC that does not support mixed tagging, VRRP on that interface is disabled. In the output of the show vrrp summary command, the interface status is listed as Down. |
![]() | Note: If you enable MAC source address filtering on an interface, you must include the virtual MAC address in the list of source MAC addresses that you specify in the source-address-filter statement at the [edit interfaces interface-name] hierarchy level. MAC addresses ranging from 00:00:5e:00:01:01 through 00:00:5e:00:01:ff are reserved for VRRP, as defined in RFC 2378. For IPv6, the MAC addresses range from 00:00:5e:00:02:01 through 00:00:5e:00:02:ff. The VRRP group number must be the decimal equivalent of the last hexadecimal byte of the virtual MAC address. |
![]() | Note: For faster convergence, RFC recommends better difference of priorities for VRRP routers. For example, if you have three routers in a VRRP group, it is recommended to assign the router priority as:
|
Related Documentation
- ACX Series
- Understanding VRRP on ACX Series Routers
- Configuring the Advertisement Interval for the VRRP Master Router
- Configuring a Backup Router to Preempt the Master Router
- Modifying the Preemption Hold-Time Value
- Configuring Asymmetric Hold Time for VRRP Routers
- Configuring an Interface to Accept Packets Destined for the Virtual IP Address
- Example: Configuring VRRP for ACX Series Routers
- Example: Configuring VRRP for IPv6
- M Series
- Example: Configuring VRRP for IPv6
- T Series
- Example: Configuring VRRP for IPv6