Physical Rack Setup
The following architecture has been used to test and deploy Abiquo 1.6:
Physical Hardware Requirements
1. Top-of-Rack switch
Every hypervisor host in the rack is connected to a trunk port in the top-of-rack switch. The described scenario uses a Cisco Catalyst 2960 as the top-of-rack switch.
One port of the switch is tagged with the public VLAN ID (VLAN ID 2 by default). Every other port is configured as a trunk port.
2. Hypervisor Hosts
Every hypervisor in the rack is connected to a trunk port in the top-of-rack switch. All the VMs created in the hypervisors will have it's VMs Virtual NICs connected to the Virtual Switch created over the NIC wired to the top-rack-switch trunk port. Abiquo will create the necesary VLANs/VNICs as required in this Virtual Switch.
Physical scenario diagram

Virtual scenario diagram

Configure switches
You have to configure all ports in trunk and one port for Public VLAN (in the example, vlan 2). Public VLAN must be the same for all the switches involved in Abiquo platform.
As example, here are the steps to configure a Cisco Catalyst 2960:
Configure Virtual Infraestructure
Virtual Gateway: http://www.abiquo.org/display/ABI16/How+to+create+a+VM+inside+your+Virtual+Datacenter+to+act+as+an+Internet+Gateway
Virtual Datacenters Diagram: http://www.abiquo.org/display
Configure Hypervisors
http://www.abiquo.org/display/ABI16/Hypervisors
Additional Notes
- Multiple "Public VLANs are allowed". They are all tagged with the same VLAN ID, so they are not really VLANs but IP Networks on the same VLAN (VLAN 2 by default)
- Same IP Network can span multiple VLANs, i.e. Every customer can create it's own network name (VLAN) with newtwork address 192.168.0.0/24. This will create a different VLANs but same IP Network. Example:
-----------------------
Enterprise/Customer 1 -> VirtualDC 1
Network C1 -> 192.168.0.0/24, will be in VLAN5
Enterprise/Customer 2 -> VirtualDC 2
Network C2 -> 192.168.0.0/24, will be in VLAN8
-----------------------
Beware that this can create some routing issues.
Some related discussions on the topic:
http://www.velocityreviews.com/forums/t34256-vlans-on-a-single-subnet.html
https://supportforums.cisco.com/thread/2023949
http://forums.whirlpool.net.au/forum-replies-archive.cfm/931842.html

