Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 2.6


Skip to end of metadata
Go to start of metadata

Introduction to Virtual Datacenter Networks

Abiquo offers the following types of virtual datacenter networks using VLANs:

Network typeDescriptionDatacentersPublic Datacenters
PrivateWith private IP addresses that are restricted to a single virtual datacenter(tick)(tick) Private Connect Network
ExternalAssigned to an enterprise and can be accessed by more than one virtual datacenter(tick) 
UnmanagedWith IP addresses assigned outside of Abiquo(tick)(tick) Elastic IPs
PublicWith Internet addressable public IP addresses(tick) 

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.

Virtual Datacenter Networks in Datacenters

You can define VLANs for private networks in your virtual datacenter until you reach:

  • VLAN allocation limits set for your:
    • virtual datacenter
    • enterprise in the datacenter
    • enterprise
  • the limits of the physical network infrastructure as defined for the rack

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. 

Virtual Datacenter Networks in Public Datacenters

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.

Hybrid Cloud Networking

Managing Virtual Datacenter Networks in Datacenters

API Features

Virtual datacenter networks are available in the Abiquo API. For example, see VirtualDatacenterResource and PrivateNetworksResource.

The network administrator of an enterprise is usually responsible for the private network configuration. The network administrator can

  • Create, edit and delete private VLANs for virtual datacenters, and set them as the default network for a virtual datacenter.
  • Edit private, public and external networks to set them as the default and override the enterprise-datacenter default network for a virtual datacenter.

To view the Networks of private, external and public VLANs in Virtual Datacenters view:

  1. Select your Virtual Datacenter in the VIRTUAL DATACENTER list. 
  2. Click the Network tab
  3. Click the Private, External or Public page.

In the Networks list, to view the pool and allocation of IPs:

  • to see all the IPs in the virtual datacenter, click the All button on the top of the list
  • to see the IPs in a VLAN, click the VLAN name 

You can then:

  • use the slider at the bottom of the list to move through the pages 
  • filter the list by entering text in the search box  The filter works with all the columns of the table:
    • IP Address
    • MAC address
    • VLAN name
    • Virtual appliance using the IP
    • Virtual machine using the IP

Default Virtual Datacenter Networks

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.

PrioritySetting levelWhen setDescription
1Virtual datacenterAfter VDC creationYou can override the default network set for you virtual datacenter by editing another network and setting it as the default
2Enterprise - datacenterBefore VDC creationAll 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
3Custom private networkAt VDC creationWhen you create a VDC, you can create a custom private VLAN.
4System defaultAt VDC creationT 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:

  • Auto-created Private Network
  • Custom Private Network
  • External Network
  • Unmanaged Network
  • Public Network

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). 

Setting a New Default Network for a Virtual Datacenter

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. 

Create a Private VLAN

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 the  button  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.

Edit a Private VLAN

In the list of private VLANs, when you select a VLAN, you will see the configuration button. 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. 

Delete a Private VLAN

Click the remove button to delete a private VLAN. However, you may not delete a private VLAN if:

  • A virtual machine is using an IP from the VLAN pool
  • The VLAN is set as the default

External, unmanaged and public VLANs cannot be deleted from this screen; they must be deleted in the network screen of Infrastructure view.

Configure Static Routes using DHCP for Private Networks

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 1.1.1.0/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 button beside the static route details.

Editing External or Unmanaged and Public Networks

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.

Set the Current External, Unmanaged or Public Network as the Default

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.

View Static Routes for the Current External, Unmanaged or Public Network

In Virtual Datacenters view, you can click the Manage button to view the static routes.

The VLAN Static Routes popup will display.

Obtain Public and External IP Addresses

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.

Managing Public IP Addresses

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:

  • IP Address
  • MAC Address
  • VLAN name
  • Virtual Appliance using the IP address
  • Virtual Machine using the IP address
Reserve Public IP Addresses

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:

  1. Click the button in the bottom left corner of the PUBLIC IPs page

    • A popup will open with the list of available Public IPs in the datacenter that houses your virtual datacenter
      • Use the slider to move up or down pages
      • Filter your search by entering an IP address or VLAN name in the filter box
  2. Click an IP address to purchase it 
  3. CTRL + click to  select multiple IP addresses
  4. Click Accept to finalize your purchase

The following screenshot shows three IP addresses selected. 

 

Release a Reserved Public IP Address

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 remove button.

  • No labels