Q-in-Q
Q-in-Q is a technology that allows you to create multiple isolated segments within a single VLAN by adding an additional tag to the Ethernet packet header.
With Q-in-Q enabled on a Servercore network, you can pass your VLAN IDs on a port and tags will be delivered over the LAN between your servers.
Q-in-Q customization is needed:
-
for Direct Connect service operation when a trunk port is configured on the operator's side;
-
To configure a trunk port in VMware ESXi on a dedicated server with VMware;
-
to use different VLAN segments on a dedicated server on which virtual servers are deployed. In this case, the dedicated server is privately networked with the virtual server by using global router and tagged traffic with your VLAN IDs is terminated on the global router and routed to the virtual server.
Customize Q-in-Q
Enable Q-in-Q on the switch port
Q-in-Q can only be enabled for a private network.
When Q-in-Q is enabled, there may be a brief private network down time for servers on the selected VLAN.
-
Create a ticket with a request to include Q-in-Q. Specify:
-
VLAN numbers can be viewed in control panels under Servers and hardware → Network → tab VLAN → column VLAN;
-
The pools in which the VLANs are located can be viewed in the control panels under Servers and hardware → Network → tab VLAN → column Pool.
-
-
In the ticket created, wait for a Servercore employee to respond that Q-in-Q is enabled.
Select a private subnet
Select an unoccupied subnet whose IP addresses will be used to configure network connectivity. For details, refer to the subsection Standard ranges of private IP addresses.
configure the network interfaces on the server
Ubuntu
Debian
CentOS
Windows
-
Connect to the server via SSH or through KVM console.
-
Open the utility configuration file
netplan
word processorvi
:vi /etc/netplan/01-netcfg.yaml
-
Add Q-in-Q settings for the network interface of the private network:
...
vlans:
<eth_name>.<id>:
id: <id>
link: <eth_name>
mtu: 1400
addresses:
- <ip_address>/<mask>Specify:
<eth_name>
— name of the network interface of the private network;<id>
— Q-in-Q tag, you can specify a number from 2 to 4094;<ip_address>/<mask>