Abiquo offers the following types of virtual datacenter networks using VLANs:
|Network type||Description||Datacenters||Public Datacenters|
|Private||With private IP addresses that are restricted to a single virtual datacenter||Private Connect Network|
|External||Assigned to an enterprise and can be accessed by more than one virtual datacenter|
|Unmanaged||With IP addresses assigned outside of Abiquo||Elastic IPs|
|Public||With Internet addressable public IP addresses|
For full definitions of these networks, see Cloud Tenant Networks in the Getting Started section of this wiki.
Abiquo uses VLANs to isolate different networks. Addresses on the same IP network but on different VLANs do not see each other, which guarantees a significant level of network isolation and security.
You can define VLANs for private networks in your virtual datacenter until you reach:
When you create a virtual datacenter, Abiquo will always create a private network (default or custom) and set a default VLAN (enterprise-datacenter configuration). See #Default Virtual Datacenter Networks. You can edit the virtual datacenter and change the default network to any other network available in the virtual datacenter.
When you create virtual machines in your virtual appliances, you can add NICs on virtual datacenter networks. If you deploy a machine that does not have a NIC, one with the next available IP address from the default VLAN will be assigned. You can later add NIC(s) and remove NIC(s) as required. A deployed virtual machine must always have at least one IP address, but the IP address may be in any of the available networks.
Public datacenters only use private networks and unmanaged networks. In a public datacenter, the default network is always a private network. The private network will always be a Virtual Private Connect network, with a name in the format vpc-XXXXXXXX:subnet-XXXXXXXXXX.
When you create a virtual datacenter, you can choose the default private network configuration or a custom configuration. Abiquo will create the private network and set it as the default. After Abiquo creates this network, you cannot change it.
You can assign NICs with Elastic IPs to virtual machines. Abiquo will create an unmanaged network for each enterprise, named Abiquo-ElasticIPs. NICs with Elastic IPs will be registered as part of this network. You cannot modify the unmanaged network or create any new unmanaged networks in a public datacenter.
The private network is automatically deleted by Abiquo when the virtual datacenter is deleted. The unmanaged network is automatically deleted when the last virtual datacenter in a public datacenter is deleted.
The network administrator of an enterprise is usually responsible for the private network configuration. The network administrator can
To view the Networks of private, external and public VLANs in Virtual Datacenters view:
In the Networks list, to view the pool and allocation of IPs:
You can then:
On the Network tab pages, the default network is highlighted in bold and italic . If you create a virtual machine and do not assign it an IP address, then when you deploy the machine, Abiquo will assign it an IP address in the default network. A virtual datacenter always has at least one network, and if there is only one network, this network is the default.
Default networks are set at the following levels in the order of priority given in this table.
|Priority||Setting level||When set||Description|
|1||Virtual datacenter||After VDC creation||You can override the default network set for you virtual datacenter by editing another network and setting it as the default|
|2||Enterprise - datacenter||Before VDC creation||All networks except public networks can be set as the default for an enterprise. This default network will be set when the virtual datacenter is created|
|3||Custom private network||At VDC creation||When you create a VDC, you can create a custom private VLAN.|
|4||System default||At VDC creation||T he system default network is an auto-created private VLAN. It is called " default_private_network ".|
So the default network set for a virtual datacenter will override the default network set for an enterprise, and so on.
When you create a virtual datacenter in a datacenter, Abiquo always creates a private network. This private network is counted as part of your VLAN allocation. You can choose t he system default network, which is an auto-created private VLAN. It is called " default_private_network ", as shown in the following screenshot. Or you can create a custom private network.
The default VLAN for a virtual datacenter can be any of the following network types:
If the default VLAN is a private VLAN, when a user deploys the first virtual machine on this network, Abiquo will create VLAN in the network infrastructure (port group or virtual bridge).
There must always be a default network, so you cannot unselect the default network. Instead, replace the current default network by setting a new default network. The new default network will apply to all virtual machines deployed after it is set as default.
To set a private network as the default, when you create or edit it, mark the Default network checkbox.
To set an existing external, unmanaged or public network, select it in the virtual datacenter network list and click the configuration button to edit the network. Then click the Default network checkbox.
If you set a public network as the default, you must remember to obtain IP addresses for your virtual machines before you deploy!
In the following screenshot, Public Network 2 will be the new default, replacing the existing default Public Network 3.
A private VLAN can be either an auto-created default private VLAN or a custom private VLAN. To add more private VLANs to your virtual datacenter, click thebutton and complete the form below.
You may repeat the same IP addresses and other values in all your VLANs because each VLAN tag will be different at deploy time, so there will be no collisions between the networks; however, Abiquo does not recommend this configuration.
External, unmanaged and public VLANs are created and managed in Infrastructure view on the datacenter's network screen.
In the list of private VLANs, when you select a VLAN, you will see the configurationbutton. Click to change the configuration:
You can change the name of the network and its gateway, and you can select the Default checkbox to make the network the new default network for this virtual datacenter.
After making changes, click Accept.
Click theremove button to delete a private VLAN. However, you may not delete a private VLAN if:
External, unmanaged and public VLANs cannot be deleted from this screen; they must be deleted in the network screen of Infrastructure view.
Abiquo allows you to configure Static Routes in the DHCP Server when you create or edit a VLAN. Static Routes allow you to configure a path to a second network apart from the default route, for example, in this way you can allow access to both the private network and the Internet. Virtual machines will obtain the static routes from the DHCP server when they are deployed and started up. Changes to static routes will be received by the virtual machines after they are restarted, for example.
To add a Static Route, click the Manage button. The Static Routes popup will open. For each static route, enter the details. For example, to add 184.108.40.206/24 via 192.168.0.250, you would enter the details in the table below.
Abiquo will add the static routes to the DHCP server leases as option 249 for the Microsoft Classless Static Route Option and option 121 for the Classless Static Route Option in RFC3442. For information about how the DHCP server is configured by Abiquo and client configuration (CentOS or Windows), see DHCP RFC3442 Classless Static Route Configuration.
To delete a static route, click the red delete buttonbeside the static route details.
Public, external and unmanaged networks are datacenter networks, so they are managed in Infrastructure view from the Networks tab . If you select an external, unmanaged or public VLAN in the virtual datacenter in the Networks list and click the configuration button to edit it, you can only set the current network as the default and view static routes. You cannot change any of the network details.
In Virtual Datacenters view, click the Default Network checkbox to set the current network as the default for all virtual machines created in the virtual datacenter. For more information, see #Default Virtual Datacenter Networks.
In Virtual Datacenters view, you can click the Manage button to view the static routes.
The VLAN Static Routes popup will display.
The network administrator of an enterprise usually creates VLANs with private IP addresses in the virtual datacenter and the cloud administrator usually creates public, unmanaged and external networks in the datacenter infrastructure. The cloud administrator will make available some or all of the public and external IPs for virtual datacenters. The enterprise network administrator can reserve or purchase public IP addresses for the enterprise's virtual machines. External networks are always assigned to one enterprise only, so you do not need to reserve or purchase IP addresses of these networks, and they are not counted in the accounting system.
To manage access to public IPs, select your virtual datacenter and click the Networking tab. Then click the Public tab to display the list of public IPs reserved for your virtual datacenter. Reserved IPs may be counted in the platform's Accounting system from the time they are reserved until they are released, even if they are not used in virtual machines.
Public IP addresses Available in a Datacenter
The Public IP list contains the IP addresses configured in Infrastructure view as explained in the Manage network configuration page.
To view the pool of IPs and IP assignments, you can filter the search by entering text in the box beside the search button. The filter works in all the columns:
Reserved public IP addresses may be counted in the platform's Accounting system, even if they are not used on any virtual machines
To reserve or purchase new public IP addresses:
The following screenshot shows three IP addresses selected.
To release a public IP that you do not need any more, first check if it is assigned to a virtual machine. If it is assigned, you must remove it from the virtual machine before you can release it.
Then select the IP in the list and click the removebutton.