Starting with VMware Cloud Director 10.5.1, you can configure BGP settings on your provider gateway that uses IP spaces.
Prerequisites
-
Verify that you have the Limited Provider Gateway BGP: View and Limited Provider Gateway BGP: Manage rights assigned to you.
- Verify that the provider gateway uses IP spaces.
- Verify that your system administrator has provided you with the necessary BGP configuration permissions for the relevant BGP configuration components. See Configure BGP Permission Groups on a Provider Gateway in the VMware Cloud Director Service Provider Admin Guide.
Add a BGP Neighbor On Your Provider Gateway in the VMware Cloud Director Tenant Portal
You can configure individual settings for the BGP routing neighbors when you add them on the provider gateway.
Prerequisites
-
Verify that you have the Limited Provider Gateway BGP: View and Limited Provider Gateway BGP: Manage rights assigned to you.
- Verify that your organization is assigned the BGP Neighbors: Manage permission.
Procedure
- In the top navigation bar, click Networking and click the Provider Gateways tab.
- Click the provider gateway.
- Click BGP and click Neighbors.
- Click New.
- Enter the general settings for the new BGP neighbor.
- Enter an IPv4 or IPv6 address for the new BGP neighbor.
- Enter a remote Autonomous System (AS) number in ASPLAIN format.
- Enter a time interval between sending keep-alive messages to a BGP peer.
- Enter a time interval before declaring a BGP peer dead.
- From the drop-down menu, select a Graceful Restart Mode option for this neighbor.
Option Description Disable Overrides the global provider gateway settings and deactivates graceful restart mode for this neighbor. Helper only Overrides the global provider gateway settings and configures graceful restart mode as Helper only for this neighbor. Graceful restart and Helper Overrides the global provider gateway settings and configures graceful restart mode as Graceful restart and Helper for this neighbor. - Turn on the AllowAS-in toggle to enable receiving routes with the same AS.
- If the BGP neighbor requires authentication, enter the password for the BGP neighbor.
- Configure the Bidirectional Forwarding Detection (BFD) settings for the new BGP neighbor.
- (Optional) Toggle on the BFD option to enable BFD for failure detection.
- In the BDF interval text box, define the time interval for sending heartbeat packets.
- In the Dead Multiple text box, enter the number of times the BGP neighbor can fail to send heartbeat packets before the BFD declares it is down.
- Configure route filtering.
- Select an IP address family from the IP Address Family drop-down menu.
- Configure an inbound filter.
- Click Set.
- Toggle on the Use Filter option
- Select Prefix List or Route Map as filter type.
- Select one or more route maps or prefix lists from the list.
- Configure an outbound filter.
- Click Set.
- Toggle on the Use Filter option.
- Select Prefix List or Route Map as filter type.
- Select one or more route maps or prefix lists from the list.
- Click Save.
Configure an IP Prefix List on Your Provider Gateway in the VMware Cloud Director Tenant Portal
You can create IP prefix lists which contain single or multiple IP addresses. You use IP prefix lists to assign BGP neighbors with access permissions for route advertisement.
The IP prefix lists are referenced through BGP neighbor filters to limit the number of BGP updates that are exchanged between BGP peers. By using route filtering, you can reduce the amount of system resources needed for BGP updates.
For example, you can add the IP address 192.168.100.3/27 to the IP prefix list and deny the route from being redistributed to the provider gateway.
You can also append an IP address with less than or equal to (le) and greater than or equal to (ge) modifiers to grant or limit route redistribution. For example, 192.168.100.3/27 ge 26 le 32 modifiers match subnet masks greater than or equal to 26-bits and less than or equal to 32-bits in length.
Prerequisites
- Verify that your organization is assigned the IP Prefix Lists: Manage permission.
-
Verify that you have the Limited Provider Gateway BGP: View and Limited Provider Gateway BGP: Manage rights assigned to you.
Procedure
- In the top navigation bar, click Networking and click the Provider Gateways tab.
- Click the provider gateway.
- Click BGP and click IP Prefix Lists.
- To add a list, click New.
- Enter a name and, optionally, a description for the prefix list.
- Click New and add a CIDR notation for the prefix.
- From the drop-down menu, select an action to apply to the prefix.
- (Optional) Enter greater than or equal to and less than or equal to modifiers to grant or limit route redistribution.
- Click Save.
What to do next
You can move the IP prefix list up or down the list, edit, or delete it.
Configure Community Lists on Your Provider Gateway in the VMware Cloud Director Tenant Portal
You can create BGP community lists to define route maps based on the community lists.
A BGP community is a group of BGP routes that are labeled with extra information. This allows routers to better classify and handle routes that are sharing common attributes.
BGP community lists are user-defined lists of community attribute values. These lists can be used for matching or manipulating the communities attribute in BGP update messages.
BGP Communities attribute (RFC 1997) and the BGP Large Communities attribute (RFC 8092) are supported. The BGP Communities attribute is a 32-bit value split into two 16-bit values. The BGP Large Communities attribute has 3 components, each 4 octets in length.
In route maps, you can match on or set the BGP Communities or Large Communities attribute. You can use communities lists to enforce network policy based on the BGP community attributes.
Prerequisites
-
Verify that you have the Limited Provider Gateway BGP: View and Limited Provider Gateway BGP: Manage rights assigned to you.
- Verify that your organization is assigned the Community Lists: Manage permission.
Procedure
What to do next
Configure BGP Route Maps on Your Provider Gateway in the VMware Cloud Director Tenant Portal
You can use route maps to define route policies at the BGP neighbor level and for route redistribution.
You create BGP route maps by defining a sequence of IP prefix lists, BGP path attributes, and an associated action.
When you use BGP route maps, the provider gateway scans the route or the traffic to which the criteria should be applied for a match, and if there is one, the router performs the action that you configured and stops scanning.
Prerequisites
-
Verify that you have the Limited Provider Gateway BGP: View and Limited Provider Gateway BGP: Manage rights assigned to you.
- Verify that your organization is assigned the Route Maps: Manage permission.