You can configure a static route on the tier-0 router to external networks. After you configure a static route, there is no need to advertise the route from tier-0 to tier-1, because tier-1 routers automatically have a static default route towards their connected tier-0 router.
The static route topology shows a tier-0 logical router with a static route to the 10.10.10.0/24 prefix in the physical architecture. For test purposes, the 10.10.10.10/32 address is configured on the external router loopback interface. The external router has a static route to the 172.16.0.0/16 prefix to reach the app and web VMs.
Verify that the physical router and tier-0 logical router are connected. See Verify the Tier-0 Logical Router and TOR Connection.
Verify that the tier-1 router is configured to advertise connected routes. See Create a Tier-1 Logical Router.
- From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
- Select Routing from the navigation panel.
- Select the tier-0 logical router.
- Click the Routing tab and select Static Route from the drop-down menu.
- Select Add.
- Enter a network address in the CIDR format.
For example, 10.10.10.0/24.
- Click Add to add a next-hop IP address.
For example, 192.168.100.254. You can also specify a null route by clicking the pencil icon and selecting NULL from the drop-down. To add another next hop addresses, click Add again.
- Click Save.
The newly created static route network address appears in the row.
What to do next
Check that the static route is configured properly. See Verify the Static Route.