1. Introduction to QinQ The VLAN ID field defined by IEEE 802.1Q has 12 bits, which can provide up to 4094 VLANs. However, in practical applications, especially in metropolitan area networks, a large number of VLANs are needed to isolate users, and 4094 VLANs are far from meeting the demand. QinQ enables the entire network to provide up to 4094×4094 VLANs, meeting the metropolitan area network's demand for the number of VLANs. QinQ is the abbreviation of 802.1Q in 802.1Q, which is a relatively simple Layer 2 VPN protocol based on IEEE 802.1Q technology. By encapsulating a layer of VLAN Tag into the private network message, it carries two layers of VLAN Tags and passes through the operator's backbone network (also known as the public network), allowing the operator to use one VLAN to provide services for user networks containing multiple VLANs. QinQ has the following advantages:
2. Working Principle of QinQ QinQ packets are transmitted in the carrier network with double VLAN tags:
During the transmission process on the public network, the device only forwards the message according to the outer VLAN Tag, and the inner VLAN Tag will be transmitted as the data part of the message. 3. QinQ Network Topology The private VLANs of user networks A and B are VLAN 1 to 10 and VLAN 1 to 20 respectively. The public VLANs allocated by the operator to user networks A and B are VLAN 3 and VLAN 4 respectively.
How QinQ is implemented When the QinQ function is configured on a port, the device will add the default VLAN tag of the port to the message, regardless of whether the message received from the port has a VLAN tag or not:
|
<<: With the advent of 5G networks, will 4G phones become obsolete? Not necessarily
>>: After the holidays, I return to work and upgrade my home router to welcome the New Year.
[51CTO.com original article] At present, the digi...
2017 is known as the first year of 5G standards. ...
With the rapid development of the Internet, vario...
From November 25th to 27th, Fanruan's 4th Sma...
[[261093]] Usually a web site opens HTTPS. Taking...
[51CTO.com original article] On May 20, 2020, F5,...
On June 2, it was reported that the technical sta...
When we need to set up a wireless router, we need...
[[347744]] Few technologies have been in the spot...
1. TCP Knowledge System We analyze the TCP knowle...
I have read some information about the working pr...
[51CTO.com original article] Recently, the recurr...
Liu Yulin said that General Secretary Xi Jinping ...
During World War II, Motorola's SCR series wa...
Recently, Jimmy Yu, vice president and analyst at...