By default, routers share routes with other routers running the same protocol. In a multi-protocol environment, you must configure route redistribution for cross-protocol route sharing.
You can exclude an interface from route redistribution by adding a deny criterion for its network. In NSX 6.2, the HA (management) interface of a logical (distributed) router is automatically excluded from route redistribution.
- Log in to the vSphere Web Client.
- Click Networking & Security and then click NSX Edges.
- Double-click an NSX Edge.
- Click Routing and then click Route Redistribution.
- Click Edit next to Route Redistribution Status.
- Select the protocols for which you enable route redistribution and click OK.
- Add an IP prefix.
Entries in the IP Prefix list are processed sequentially.
- Click the Add icon in IP Prefixes.
- Type a name and IP address of the network.
The IP prefix entered will be exactly matched, except if you include less-than-or-equal-to (LE) or greater-than-or-equal-to (GE) modifiers.
- Click OK.
- Specify redistribution criteria for the IP prefix.
- Click the Add icon in Route Redistribution table.
- In Learner Protocol, select the protocol that is to learn routes from other protocols.
- In Allow Learning from, select the protocols from which routes should be learned.
- Click OK.
- Click Publish Changes.