To route the network packets through a specific gateway, as a system administrator you can configure static routes by using the management interface of the VMware Cloud Director Availability appliance.

Note: Applying any network changes can lead to temporary network outages. For example, the browser connectivity to the management interface is interrupted when being accessed through the network adapter that was just reconfigured.

Prerequisites

Verify that VMware Cloud Director Availability is successfully deployed.

Procedure

  1. Log in to the management interface of the VMware Cloud Director Availability appliance.
    1. In a Web browser, go to https://Appliance-IP-Address/ui/admin.
    2. Select Appliance login and enter the root user password.
    3. Click Login.
  2. In the left pane under Configuration, click Settings.
  3. Under Appliance settings, expand the Network section.
    You can see all the network adapters that are added to the appliance.
  4. To configure the static routes for a network adapter, next to the adapter name click Static routes.
    The static routes are persistent for the selected IP mode of the adapter. If you change the IP mode, all static routes are deleted.
  5. In the Static routes window, configure the static routes for the selected network adapter.
    The routes that the management interface shows do not contain the whole routing table. The management interface only shows the manually configured routes.
    1. To add a new static route, enter the following route details and click Add.
      Option Description
      Destination You must enter the specific IP address or the whole subnet of the target network.
      Gateway You must enter the IP address of the specific gateway that knows how to route the traffic.
      Metric You can enter a lower value to prioritize the route or a higher value to deprioritize the route. As a best practice, avoid the route prioritization and use the default value of 0.
    2. To remove a static route, click Delete.
      To edit a static route entry, you must delete it and add it again.
    3. To apply the network changes, click Apply.

Results

The selected network adapter of the VMware Cloud Director Availability appliance is configured with the provided static routes.

What to do next

You can add additional network adapters to add routes to. For more information, see Add an additional network adapter.