Manage NAT

 

This page describes how to configure Network address translation (NAT) for datacenters in infrastructure.
For details of how to manage NAT rules in virtual datacenters, see Manage NAT for virtual datacenters


Configure NAT for datacenters

As part of the Abiquo NSX integration or NSX-T integration, you can use the NAT blueprint to configure virtual datacenters with NAT.

To configure NAT for a datacenter:

  1. Go to Infrastructure → Private

  2. Select a datacenter and go to Network → Devices

  3. To define the NAT integration in Abiquo

    Create a device for NAT
    Create a device for NAT

     

    1. For the NSX-T integration, create an NSX-T device

    2. For the NSX-V NAT integration, create a NAT device


Create a NAT network

To use NAT in private cloud, first configure the NSX integration, then define the NAT device. NAT networks are very similar to public networks.

To use NAT in vCloud Director, you will need the definition of a NAT network that is compatible with an Edge interface network, which connects the Edge to the external networks.

To create a NAT network: 

  1. Go to InfrastructurePrivate or Public

  2. Select a datacenter or region

  3. Go to Servers view → Network → NAT

  4. Click the + add button

  5. Create networks with ranges of public IPs for NAT

    1. The Netmask is the network mask in CIDR format.
      For IPv4, the networks created in the platform the netmask can have a value from 16 to 30 inclusive, and for IPv6, it can have a value of 64, 56, or 48

    2. The Device when using NSX is the device that will manage the NAT network 

       Create a NAT network
      Create a NAT network
  6. To add IP addresses to your network, click the + add button

Enter the Number of IPs to create and the From IP address (the first in the range). The From IP address must be a new address that does not already exist in the network. After creating the first IP address, the platform will try to create the other IPs and it will skip any existing IP addresses.

For example, if you have IP addresses in network 30.30.30.30, which are 30, 33, and 34 and then you request 3 new IPs from 30.30.30.31. The new IPs created should be as follows: 31, 32, 35

30.30.30.30

30.30.30.31

30.30.30.32

30.30.30.33

30.30.30.34

30.30.30.35

When you add IPv6 addresses on strict networks, you don't need to set the starting address. On non-strict IPv6 networks, Abiquo recommends that you create an automatic IP address, or you can enter a From IP address manually.

 

The NAT network and IPs will display on the NAT tab. In the same way as for public IPs, you can quarantine NAT IPs as required.

When users create virtual datacenters, the platform can automatically configure a NAT IP, and users can manage NAT rules, and purchase additional NAT IPs. See Manage NAT for virtual datacenters

 


Manage NAT with the API

API Documentation

For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource NatNetworksResource.

 

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved