Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Logical Router Interconnect

 

Contrail Networking Release 2005 supports the logical router interconnect feature, which enables interconnection of logical routers deployed in the same fabric.

These topics enable you to understand the way logical router interconnect works and create a logical router interconnect.

Understanding Logical Router Interconnect

In Contrail Networking Release 2005, the logical router interconnect feature enables a logical router in a fabric to interconnect with other logical routers deployed in the same fabric. The logical router interconnect feature is supported by logical routers that are deployed on QFX Series fabric devices. You can create logical router interconnection by leaking routes from a source logical router to multiple destination logical routers. In releases prior to release 2005, you could not leak routes from one logical router to other logical routers that are deployed in the same fabric.

In order to leak routes, you must select one logical router as a source logical router and one or more logical routers as destination logical routers in the Contrail Command user interface (UI). A source logical router leaks routes to multiple destination routers according to the type of Export Source you choose in the Contrail Command UI.

In the Contrail Command UI, you can choose Routing Policy or Virtual Network as an Export Source.

  • If you select Routing Policy as the Export Source, you must ensure that the routing policy is configured for the QFX Series device, where the source logical router is deployed. Contrail Networking uses the routing policy terms to leak routes from a source logical router to all destination logical routers. If an incoming route matches the routing policy terms for a QFX Series device, that route is leaked from the source logical router to all destination logical routers deployed on the physical device.

  • If you select Virtual Network as the Export Source, you must select the virtual networks that are connected to the source logical router. Contrail Networking automatically creates a routing policy where the route-filter value is assigned according to the subnets of the selected virtual networks. If an incoming route matches the routing policy terms of this routing policy, the source logical router can leak routes to all the destination logical routers.

If the source logical router and all destination logical routers are deployed on the same QFX Series device in a fabric, Contrail Networking uses rib-groups to leak routes from source logical routers to all destination logical routers. rib-groups import all routing policies as import-policy and all routing instances as import-rib.

If source logical router and destination logical routers are deployed on different QFX Series devices in a fabric, Contrail Networking uses vrf-export routing policies on source logical router and vrf-import routing policies on destination logical routers.

Note
  • The logical router interconnect feature is not supported by MX Series devices.

  • The logical router interconnect feature does not support IPv6 routes.

Creating Logical Router Interconnect

Contrail Networking Release 2005 supports interconnection between logical routers deployed in the same fabric. Logical router interconnect is supported by logical routers deployed on QFX Series devices that exist in the same fabric. Before configuring logical router interconnect, you must create a fabric, deploy logical routers on the fabric devices, and create a routing policy for the fabric device, where the logical router is deployed.

Create a Fabric and Deploy Logical Routers on the Fabric Devices

  • Follow the procedure described in the Create a Fabric topic to create a fabric.

  • Follow the procedure described in the Create Logical Routers topic to create logical routers on fabric devices.

    The logical router interconnect feature is supported by logical routers that are deployed on QFX Series devices.

Create a Routing Policy for QFX Series Devices

Create a routing policy that is used by the source logical router to leak routes to all the destination logical routers. You must ensure that the routing policy terms are supported by the QFX Series device of the logical router.

  1. Navigate to Overlay>Routing>Routing Policies.
  2. Click Add to create a new routing policy.

    Alternatively, you can also edit an existing routing policy for a QFX Series device . To edit an existing policy, select a policy from the displayed list and click the Edit (pencil) icon.

    The Create Routing Policy page is displayed.

  3. In the Create Routing Policy page, enter routing policy information according to the guidelines provided in Table 1.
  4. Click Create to save the routing policy terms and create a routing policy for the logical router.

    The Routing Policies tab is displayed listing the newly created policy.

Table 1: Create Routing Policy for QFX Series Device

Field

Guidelines

Name

Enter a name for the routing policy in the Name field.

Type

Select Physical Device or vRouter. You can create a routing policy for the type of device you select.

Select Physical Device to create a routing policy for a QFX Series device.

Term(s)

From

Select the matching conditions to be satisfied by the incoming routes.

Click Add Route filter. The Route Filter and Type fields are displayed.

 

Route Filter

Enter an IP prefix address as a route filter in the Route Filter field.

Type

Select one or more types of prefix. If an incoming route satisfies the prefix match condition, the route is processed.

Then

Select the actions to be performed on the matching routes. The supported actions and the values are:

ActionValue

action

Reject-Reject the route that matches this term. No more terms are evaluated after hitting this term.

Accept-Accept the route that matches this term. No more terms are evaluated after hitting this term.

Next-This is the default action taken upon matching the policy term. The route is updated according to the update specified in the policy action. Next terms present in the routing policy are processed on the route. If there are no more terms in the policy, the next routing policy is processed, if present.

Note
  • You must assign Route Filter as a match condition in a routing policy, if you want to use the routing policy as an export source in logical router interconnect.

  • You don’t need to assign a value to the Community field. Contrail automatically scans the route target value of a source logical router and assigns the route target community member to the routing policy.

Creating Logical Router Interconnect

Follow these steps in the Contrail Command UI to enable logical router interconnect between logical routers deployed in the same fabric.

  1. Navigate to Overlay > Interconnects > LR Interconnects.

    Click Create to configure a new logical router interconnect.

  2. Enter values in the Create LR Interconnect page according to the guidelines provided in Table 2.
  3. Click Create to create the logical router interconnect between a group of logical routers.

    The LR Interconnect tab is displayed listing the newly created logical router interconnect.

Table 2: Create Logical Router Interconnect

Field

Action

Name

Enter a name for the logical router interconnect.

Description

Enter a description for the logical router Interconnect.

Select fabric

Select a fabric to create logical router Interconnect among the logical routers deployed on the QFX Series devices in the fabric.

Source

Select logical router

Select a logical router from the list to assign the logical router as a source logical router.

Export Source

Select Routing Policy to leak routes using a routing policy.

Select Virtual Network to leak routes using the list of tenant virtual networks connected to the source logical router.

Routing Policy

If you select Routing Policy as Export Source, select the routing policy for the source logical router from the list.

Available Virtual Networks

If you select Virtual Network as Export Source, the Available Virtual Networks list displays the list of virtual networks connected to the source logical router.

Selected Virtual Networks

The Selected Virtual Networks list displays the virtual networks you can use to leak routes from source logical router to all the destination logical routers.

Destination

Select logical router

Select a logical router from the list to assign the it as a destination logical router.

Extend to Physical Router

Select the QFX Series device from the Extend to Physical Router list, where the destination logical routers are deployed.

The destination logical routers extends the leaked routes to this QFX Series device.

Add

Click Add to assign more destination logical routers (Optional).

Note
  • You cannot leak routes from destination logical routers to source logical router. Contrail Networking Release 2005 supports only unidirectional interconnection between source logical router and destination logical routers.

  • You cannot assign a primary logical router as a source logical router and assign a public logical router as a destination logical router.

  • You cannot assign a public logical router as a source logical router and assign a primary logical router as a destination logical router.

Release History Table
Release
Description
Contrail Networking Release 2005 supports the logical router interconnect feature, which enables interconnection of logical routers deployed in the same fabric.