Contents
Table of Contents | ||
---|---|---|
|
Related pages
Basic concepts of Abiquo networking: Networking
Configuration of network infrastructure: Networks
Manage datacenter networks in the UI: Network
...
number-format | custom |
---|---|
h1 | [h1.decimal]. |
h2 | [h1.decimal].[h2.decimal]. |
h3 | [h1.decimal].[h2.decimal].[h3.decimal]. |
h4 | [h1.decimal].[h2.decimal].[h3.decimal].[h4.decimal]. |
An external network enables you to define IP ranges and a VLAN tag, to allow the virtual datacenters to connect directly to each other, or to other networks outside of the virtual infrastructure. For an external network, the administrator should configure the same VLAN tags on all switches in the Abiquo environment. Check that IP addresses for use outside Abiquo are reserved inside Abiquo. An unmanaged network is an external network with IPs managed outside of the Abiquo platform, for example, by a corporate DHCP server.
Some external network configuration examples:
...
Unmanaged networking scenario
Further example of External Networking with MPLS Tunnel
External networks can be used:
- Adhoc - create and use in existing virtual datacenters, connected to VMs in virtual datacenters.
- Default for virtual datacenter - assign as the default network for a virtual datacenter when it is created (instead of the default private VLAN). When you deploy a new VM in the virtual datacenter with no network configuration, it will be automatically assigned a VNIC attached to the external network.
- Default for enterprise -assign as the default network for an enterprise for a specific datacenter. When you create a new virtual datacenter for the enterprise in this datacenter, the external network will be the default. But you can override this at virtual datacenter level.
...
Info |
---|
This page describes how to configure an external network as the default for an Abiquo enterprise with the UI and the API. For an explanation of external networks, see |
The sections below provide GUI and API workflows to create external networks as the default for an enterprise and links to the User's Guide and Developer's Guide for the external network functions
...
to use.
...
Two users can perform the tasks in the
...
workflow. Typically, a cloud administrator would perform the first group of tasks
...
, and
...
a cloud administrator or an enterprise administrator could perform the second group of tasks.
GUI
...
workflow for creating default external networks
This section describes a basic GUI workflow for creating default external networks. This section is designed to give an introductory outline of the process.
Create a new enterprise, assigning it to a datacenter
When you
...
create an enterprise in Abiquo, you must give it access to a datacenter.
If you are creating the enterprise in the API, remember that you must add an enterprise-datacenter limit for each datacenter your enterprise will access.
When you set the default network for this enterprise, it will only apply to VMs that are created after the default network is set.
...
Allow the new enterprise to access the datacenter.
...
See Manage enterprises in the section Allow enterprise users to deploy VMs.
Create the external network in each physical datacenter
Go to Infrastructure View, open your datacenter and click the Network tab. Click on the External page and click the +
...
add button to add a new network.
It is important to check the VLAN tag availability in the datacenter where this tag will be used. If you share the VLAN tag across more than one network, the check indicator will be yellow. If it is reserved in Abiquo, the check indicator will be red.
Enter the network details and select the new enterprise that will use the external network, then click Save. Remember that this VLAN tag should not be available to the Rack for creating private networks, which means it should be excluded when you edit the Rack.
...
Create IP addresses and click Accept.
...
Next click the Available IPs link and make unavailable any of the IP addresses that you wish to use for administrative purposes, for example, the gateway address.
...
...
For each physical datacenter enabled for the enterprise configure a default external network
Note |
---|
When to change the default networkYou can change the default network at any time, but the new default network will only be applied to new VMs created after you change it. |
Edit the enterprise, then edit the Allowed datacenter, and go to the Default
...
network tab. Select the external network.
...
See Configure an enterprise in a cloud location in the section "Set the default network".
Create a virtual datacenter
The new virtual datacenter will get the default settings but these can be modified if required.
Note |
---|
Set the default network for new virtual appliancesThe new default network will only be assigned to VMs that you create after you change the default network. |
...
See Manage virtual datacenters
API
...
workflow for creating default external networks
This section describes a basic API workflow for creating default external networks. This section is designed to give an introductory outline of the process.
Check VLAN tag availability
The first step in creating a new external network is to check the VLAN tag availability in the datacenter where it will be used.
Create the external network in each physical datacenter
Supply an external network data entity. This requires an enterprise
Create a new enterprise, assigning it to specific datacenter
This example assumes that your enterprise was not created yet. It is also possible to use an existing enterprise, but when you set the default network for this enterprise, it will only apply to VMs that are created after the default network is set.
https://wiki.abiquo.com/api/latest/EnterprisesResource.html#create-an-enterprise
For each physical datacenter enabled for the enterprise configure a default external network
Note |
---|
When to change the default networkYou can change the default network at any time, but the new default network will only be applied to new VMs created after you change it. |
Create a virtual datacenter
The new virtual datacenter will get the default settings but these can be modified if required.
Note |
---|
Set the default network for new virtual appliancesThe new default network will only be assigned to VMs that you create after you change the default network. |
https://wiki.abiquo.com/api/latest/VirtualDatacentersResource.html#create-a-virtual-datacenter
Create IP addresses on the external network
You can create a single IP address or multiple IP addresses.