Provide Layer 2 Access to a Tenant
Key Points
- These instructions pertain to environments with specific requirements for tenant layer 2 connectivity (e.g. utilizing existing non-virtualized network infrastructure or tenant customers with direct MPLS lines, etc.)
- Virtual Wires (virtual network uplinks) are used.
High-Level Steps#
- Prepare the physical network: verify VLANs are configured on the appropriate physical switch ports so that they are accessible within the VergeOS environment.
Warning
VLANs 1 & 100-102 cannot be used in a virtual wire capacity. These VLANs are reserved for internal traffic. These IDs can, however, be remapped to other VLAN IDs for tenant consumption.
- Create the Virtual Wire Determine whether the tenant will need access to a single VLAN or multiple VLANs. This will determine the virtual wire configuration:
- To pass a single VLAN, use the Creating a 1:1 Virtual Wire instructions for each VLAN.
- If the tenant requires access to more than 1 or 2 VLANs, it is typically best to use the Creating a Trunk Mode Virtual Wire directions.
Virtual Wire Host Placement
When using a virtual wire, both networks participating in that virtual wire must be on the same host. Failure to meet this requirement can lead to network connectivity issues.
Creating a 1:1 Virtual Wire#
- Ensure the VLAN(s) have been configured in the VergeOS UI. If not, follow the steps to create VLAN(s) here.
- From the Main Dashboard, select Networks in the left menu to open the Networks Dashboard.
- Select Virtual Wires in the left menu to view all virtual wires in the environment.
-
Select New to create the first half of the virtual wire:
-
Submit your changes and return to the virtual wires list view.
-
Select New to create the second half of the virtual wire:
-
Submit your changes.
- Navigate to the Networks Dashboard, select Networks, and Apply Rules for both networks connected by the virtual wires.
Creating a Trunk Mode Virtual Wire#
Bridge Mode Required
To use trunk mode virtual wires, the corresponding physical network (tied to node NICs) must be set to Bridge mode.
Set the Physical Network to Bridge Mode#
- Navigate to Networks in the left menu to access the Networks Dashboard.
- Select Networks again to view all networks in the environment.
- Double-click the Physical Network (NIC) that the VLANs are trunked to on the physical switch.
Tip
A physical Network typically has "Switch" appended to the name and represents a physical NIC on a node.
- Select Edit to enter the network configuration page.
- In the configuration page, enable Physical Bridged to activate Bridge Mode. It is best to set the On Power Loss setting to Power On so that the network starts up automatically after a system power loss.
- Submit your changes.
- Reboot the necessary nodes for Bridge Mode to become active.
Follow proper Maintenance Mode procedures when rebooting a node to avoid workload disruptions.
Configuring a Trunk Mode Virtual Wire#
- Ensure the physical network is set to Bridged Mode and is powered on.
- From the Main Dashboard, navigate to Networks > Virtual Wires.
-
Select New to create the first half of the virtual wire.
-
Submit your configuration.
-
Select New to create the second half of the virtual wire.
-
Submit your changes.
- Navigate to the Networks Dashboard, select Networks, and Apply Rules for both networks connected by the virtual wires.
Add VLANs Inside the Tenant#
- Navigate to the tenant UI and log in.
- From the Main Dashboard, navigate to Networks, then select New External.
- Configure settings:
Leave other fields at default settings unless specific configuration needed. For information about additional external network options, see: How to Create an External Network
- Submit your configuration.
- Attach workloads to the network for Layer 2 access to networks outside VergeOS.
Troubleshooting Steps#
Traffic is not reaching the virtual machine#
- Confirm firewall rules related to the virtual wire have been applied.
- Verify the destination tenant network and VLAN network are in the "Running" state and reside on the same physical node.
- Ensure VLANs are trunked to the correct physical node ports.
Document Information
- Last Updated: 2024-09-03
- VergeOS Version: 4.12.6