Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring MX Series Router Cloud CPE VRRP Services with Multiple VRRP Groups on a Single Subnet (Load Sharing)

You can configure two VRRP groups in a single subnet to achieve load balancing. Each VRRP group has one virtual address. Hosts on the subscriber network are split into two groups: Each group uses one virtual address as the default gateway. Similar to the configuration described in Configuring MX Series Router Cloud CPE VRRP Services with Multiple VRRP Groups and Subnets (Load Sharing), we split primaries of the VRRP groups into two PE routers to divide outgoing traffic to different access links. For return traffic or incoming traffic, there are two routes through two PE routers in the core network. By default, when there are multiple equal-cost paths to the same destination for the active route, the Junos OS uses a hash algorithm to choose one of the next-hop addresses to install in the forwarding table. You can also configure per-packet or per-flow load balancing across multiple paths.

This procedure configures two VRRP groups in a single subnet with load balancing.

Note:

One cCPE has a higher priority than the other cCPE in one VRRP group but lower priority in the other VRRP group. So when both access links are available, one virtual IP exists in one cCPE and the other virtual IP address is in the other cCPE.

Before you begin, make sure you have completed the steps for the cCPE common configuration. See Configuring the Common Configuration for MX Series Router Cloud CPE Services.

Then complete the following tasks to configure the primary PE router:

  1. Configure the subscriber access link. See Configuring the Subscriber Access Link.
  2. Configure the bridge domain. See Configuring the Bridge Domain for MX Series Router Cloud CPE Services.
  3. Configure the routing instance. See Configuring the VPN Routing Instance for MX Series Router Cloud CPE Services.
  4. Configure the first VRRP group. The virtual IP address for the VRRP group is the gateway address of the corresponding subnet in the cloud CPE LAN. See Configuring a VRRP IPv4 Group for MX Series Router Cloud CPE Services
  5. Configure tracking of the CPE-facing Layer 2 interface for the first VRRP. See Enabling Tracking of the CPE-Facing Layer 2 Interface.
  6. Configure a second VRRP group. The virtual IP address for the VRRP group is the gateway address of the corresponding subnet in the cloud CPE LAN. Be sure to set either a higher or lower priority as compared to the first VRRP group. See Configuring a VRRP IPv4 Group for MX Series Router Cloud CPE Services.
  7. Configure tracking of the second CPE-facing Layer 2 interface for the second VRRP group. See Enabling Tracking of the CPE-Facing Layer 2 Interface.

Complete the following tasks to configure the secondary PE router:

  1. Configure the subscriber access link. See Configuring the Subscriber Access Link.

  2. Configure the bridge domain. See Configuring the Bridge Domain for MX Series Router Cloud CPE Services.

  3. Configure the routing instance. See Configuring the VPN Routing Instance for MX Series Router Cloud CPE Services.

  4. Configure the first VRRP group. See Configuring a VRRP IPv4 Group for MX Series Router Cloud CPE Services

  5. Configure tracking of the CPE-facing Layer 2 interface for the first VRRP. See Enabling Tracking of the CPE-Facing Layer 2 Interface.

  6. Configure a second VRRP group. Be sure to set either a higher or lower priority as compared to the first VRRP group. See Configuring a VRRP IPv4 Group for MX Series Router Cloud CPE Services.

  7. Configure tracking of the second CPE-facing Layer 2 interface for the second VRRP group. See Enabling Tracking of the CPE-Facing Layer 2 Interface.