To provide Layer 3 connectivity between VMs connected to logical switches that are attached to different tier-1 logical routers, it is necessary to enable tier-1 route advertisement towards tier-0. You do not need to configure a routing protocol or static routes between tier-1 and tier-0 logical routers. NSX creates NSX static routes automatically when you enable route advertisement.

For example, to provide connectivity to and from the VMs through other peer routers, the tier-1 logical router must have route advertisement configured for connected routes. If you don't want to advertise all connected routes, you can specify which routes to advertise.

Diagram showing route advertisement on tier-1 router

Prerequisites

Procedure

  1. With admin privileges, log in to NSX Manager.
  2. Select Networking > Tier-1 Logical Routers.
  3. Click the name of a tier-1 router.
  4. Select Route Advertisement from the Routing drop-down menu.
  5. Click Edit to edit the route advertisement configuration.
    You can toggle the following switches:
    • Status
    • Advertise All NSX Connected Routes
    • Advertise All NAT Routes
    • Advertise All Static Routes
    • Advertise All LB VIP Routes
    • Advertise All LB SNAT IP Routes
    • Advertise All DNS Forwarder Routes
    1. Click Save.
  6. Click Add to advertise routes.
    1. Enter a name and optionally a description.
    2. Enter a route prefix in CIDR format.
    3. Click Apply Filter to set the following options:
      Action Specify Allow or Deny.
      Match route types Select one or more of the following:
      • Any
      • NSX Connected
      • Tier-1 LB VIP
      • Static
      • Tier-1 NAT
      • Tier-1 LB SNAT
      Prefix operator Select GE (greater than or equal) or EQ (equal).
    4. Click Add.

What to do next

Familiarize yourself with the tier-0 logical router topology and create the tier-0 logical router. See Tier-0 Logical Router.

If you already have a tier-0 logical router connected to the tier-1 logical router, you can verify that the tier-0 router is learning the tier-1 router connected routes. See Verify that a Tier-0 Router Has Learned Routes from a Tier-1 Router.