VirtualBox and GNS3
This section describes how to install and set up Cumulus VX with VirtualBox and GNS3 to create the two leaf and one spine topology shown below.
These steps were tested with Cumulus VX 4.2, VirtualBox version 6.1.12, and GNS3 version 2.2.11 on macOS version 10.14.6.
Create and Configure the VMs
The following procedure creates leaf01, leaf02, and spine01 and the network connections between them. This section assumes you have VirtualBox and GNS3 experience.
Download and Install the Software
Create VMs in VirtualBox
The Cumulus VX OVA image defines the CPU, memory, and disk requirements. Cumulus VX requires at least 768MB of RAM and 6GB of disk space.
CumulusVX versions 4.3 and later requires 2 vCPUs.
Follow these steps for each VM (leaf01, leaf02, and spine01)
Open the GNS3 application and create a new project.
From the GNS3 menu, select Preferences.
From the left pane of the Preferences dialog, select VirtualBox. Then, in the Path to VBoxManage field, enter the location where VBoxManage is installed. For example:
From the left pane, select VirtualBox VMs, then click New. The VM list shows the VirtualBox VMs you set up earlier.
From the VM list, select leaf01, then click Finish. The VM you selected appears in the center pane. Repeat this step for leaf02 and spine01.
Enable GNS3 to work with the network interfaces of the VirtualBox VMs:
In the center pane, select leaf01 then click Edit.
In the VirtualBox VM template configuration dialog, click the Network tab.
Increase the number of Adapters to 4.
From the Type dropdown, select Paravirtualized Network.
Select Allow GNS3 to use any configured VirtualBox adapter.
Click OK to save your settings and close the dialog.
Repeat these steps for leaf02 and spine01, then click OK to close the Preferences dialog.
Create Network Connections
Create the network connections between leaf01, leaf02, and spine01, as shown in the two leaf, one spine topology above.
- Click (Browse all Devices button), then from the
End Devicespanel, drag leaf01, leaf02, and spine01 to the console.
- Click the (cable icon), then connect the leafs and spine by selecting the network interfaces, as shown in the Topology Summary below:
e1in GNS3 corresponds to
swp1in Cumulus VX
e2in GNS3 corresponds to
swp2in Cumulus VX
e3in GNS3 corresponds to
swp3in Cumulus VX
- Start the VMs.