Private networking is a useful feature that customers may wish to utilize for advanced cloud setups. For a description of private networking and how to enable it, please review the What is private networking article. In this article, the decisions needed for adding a private network, and how to add the private network while using the DreamCompute dashboard are covered.
Private network options
Once Support has confirmed the network quota has been adjusted, the private network can be added. Please review the below options to determine settings for the private network.
There are various private network blocks that are available for use with private networks, and are specified in CIDR format. Common examples of this are 10.0.0.0/24 or 192.168.0.0/24, however there are other networks to choose from as well. In the example below, we use 10.0.0.0/24.
When a subnet is defined, DHCP can be set enabled or disabled, and can be changed later if desired. When DHCP is enabled, newly created instances run cloud-init at start and detect it, and therefore determine it isn’t necessary to hard-code network settings into the operating system. If it is disabled, then these settings are hard-coded. Having DHCP enabled can help with creating snapshots and new instances from those snapshots, as the snapshots won’t have hard-coded network configs in them. However, older versions of cloud-init fail to boot entirely when DHCP is enabled.
As of October 2016, only Centos 6, and all Ubuntu versions have a version of cloud-init that supports DHCP. If you plan to use a different operating system, please consider disabling DHCP.
Adding the private network
Begin creating a network:
Enter network information:
Enter subnet information:
Enter subnet details:
Begin creating a router:
Enter router information:
Begin adding a router interface:
Add an interface:
Enter interface information:
Using the private network
This completes the process of adding a private network to the account. To select the private network and add a floating IP address, follow the additional steps below.
Begin adding an instance:
Begin floating IP association:
Provision a floating IP address if needed:
Verify floating IP assignment: