• Improve this Doc

    Show / Hide Table of Contents

    How to create a static route

    Overview

    Static routing enables you to configure your edge gateway with knowledge of other networks that are not directly connected to it. It's particularly useful if you need to route between virtual data centres (VDCs) in the same vOrg, or route traffic to vApp networks. Static routing is the only option on edge gateways; dynamic routing protocols cannot be used.

    As an example, you may have a vApp network, 192.168.8.0/24, routed to a VDC network called Front end network. You could create a static route to enable traffic to get to the outside IP of the vApp edge at 192.168.4.33 (a NAT will exist there).

    Important

    Selecting Default gateway is not set in the Applied On list under the Static Routing Default Gateway section will remove all existing static routes. However, setting a global default Gateway IP when it is configured with Default gateway is not set will retain the entries on the Static Routes tab.

    Creating a static route

    To create a static route:

    1. In the VMware Cloud Director Virtual Data Center dashboard, select the VDC that contains the edge gateway in which you want to create the static route.

    2. In the left navigation panel, under Networking, select Edges.

      Edges menu option in VMware Cloud Director

    3. On the Edge Gateways page, select the edge that you want to configure and click Services.

      Services button

    4. On the Edge Gateway page, select the Routing tab then the Static Routes tab.

      Routing tab

    5. On the Static Routes page, click the + button.

      Add static route button

    6. In the Add Static Route dialog box, fill in the details of the network range, next hop (edge IP) and select the network interface to which you want to apply the static route.

      Add Static Route dialog box

    7. When you're done, click Keep then Save changes.

    8. Repeat the steps for the second VDC.

    Next steps

    In this article you've learned how to create a static route. For other edge gateway configuration tasks, see:

    • How to create firewall rules

    • How to create NAT rules

    • How to create a DHCP pool

    • How to configure IPsec VPN

    • How to configure a load balancer

    Feedback

    If you find a problem with this article, click Improve this Doc to make the change yourself or raise an issue in GitHub. If you have an idea for how we could improve any of our services, send an email to feedback@ukcloud.com.

    ☀
    ☾
    Generated by DocFX
    Back to top
    © UKCloud Ltd, 2022. All Rights Reserved.
    Privacy Policy. Terms of Use. Contribute.

    The UKCloud Knowledge Centre uses cookies to ensure that we give you the best experience on our website. If you continue we assume that you consent to receive all cookies on this website.