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.
The logical router interconnect feature is not supported by MX Series devices.
The logical router interconnect feature does not support IPv6 routes.