Setting Up Private Virtual Networks
- Setting Up Private Virtual Networks
Within "Network", select "Virtual Networks" then the zone in which you are going to create your private virtual network. Press the up/down arrow to expand your choices of zones.
If this is the first time you have setup a virtual network in the zone you selected, you will see the following screen:
Click the "New Virtual Network" button to continue. That will bring you to the following screen:
Click "Continue". The next step will be to define your network address. This can be any valid private IPV4 address range.
Private network address ranges are as follows:
- 10.0.0.0 - 10.255.255.255 (Class 'A')
- 172.16.0.0 - 172.31.255.255 (Class 'B')
- 192.168.0.0 - 192.168.255.255 (Class 'C')
The subnet mask assigned to a network will determine how many "nodes" or individual devices will be available within a particular network. For example, a network defined as 10.0.0.0/24 (255.255.255.0) will have 254 unique addresses available. For simplicity, we use CIDR notation to specify the subnet. Here is a partial table of addresses that will be apportioned per subnet:
- 10.0.0.0/22 --> 1022 nodes with 10.0.3.255 as the broadcast
- 10.0.0.0/23 --> 510 nodes with 10.0.1.255 as the broadcast
- 10.0.0.0/24 --> 254 nodes with 10.0.0.255 as the broadcast
- 10.0.0.0/25 --> 126 nodes with 10.0.0.127 as the broadcast
- 10.0.0.0/26 --> 62 nodes with 10.0.0.63 as the broadcast
- 10.0.0.0/27 --> 30 nodes with 10.0.0.31 as the broadcast
- 10.0.0.0/28 --> 14 nodes with 10.0.0.15 as the broadcast
- 10.0.0.0/29 --> 6 nodes with 10.0.0.7 as the broadcast
- 10.0.0.0/30 --> 2 nodes with 10.0.0.3 as the broadcast
Note: You are restricted to using CIDR notations of between 22 and 30. That will give you a maximum of 1022 possible network addresses per virtual network.
For our example, let us assume you will need two dozen addresses in your virtual private network. As you can see from the table above, any subnet with a bit mask of 27 or less will work. Let us use 27. In the "Network Address" box, you would enter "10.0.0.0/27".
You can only have one default virtual network assigned to a virtual machine. If you need additional networks attached to your instances, make certain you assign them as "Default = No".
By default, the first available address will be assigned as the network gateway. In the above example, the gateway will be 10.0.0.1.
Note: You can use any combination of valid addresses you want so you could use 10.10.10.0/27, for example; or 10.255.255.0/27. EPN has been designed to be as flexible as possible to fulfill your requirements.
For more information, go HERE
Once you have entered your network parameters, click "Continue". That will bring you to the following page whereyou are asked to label your network:
You must give it some name so you should give it something meaningful or memorable for future reference. You can alter this later, after it has been created, if you so choose. The description is optional. Click "Continue" when you are done. The final step will be to review your selection.
If you are not satisfied with your settings, you can go back and change them, otherwise click "Create network". When completed, you will return to the main browse page.
Before you create a virtual machine, it is designated as "Allocated". The network you created and the public IP you acquired are displayed when done. The state will change to "Implemented" once your first virtual machine is assigned to the network.
Note: Virtual networks that have been allocated but not implemented can be deleted as indicated by the red X at the far right. Once implemented, however, virtual networks cannot be deleted until all instances associated with them have been terminated. They can be edited, as indicated by the pencil icon at the far right. Only the name can be changed. None of the other properties can be modified.