Ads 468x60px

Monday, June 6, 2011

What is QinQ

In this section, we will see about Switching concept QinQ. In service provider networks, This is very important. Service provider use this Switching function to pass customer data from one end to other end with two vlan id’s in own switching network. 

Let’s see this concept in detail---

What is QinQ?

The QinQ technology is called VLAN dot1q tunnel, 802.1Q tunnel, VLAN Stacking technology. The standard comes from IEEE 802.1ad and it is the expansion of the 802.1Q protocol. QinQ adds one layer of 802.1Q tag (VLAN tag) based on the original 802.1Q packet head. With the double layers of tags, the VLAN quantity is increased to 802.1Q.

QinQ encapsulates the private network VLAN tag of the user in the public(service provider) network VLAN Tag to make the packet with double layers of VLAN Tags cross the backbone network (public network) of the operator. In the public network, the packet is passed according to the out layer of VLAN tag (that is the public network VLAN Tag) and the private network VLAN Tag of the user is shielded.

The formats of the common 802.1Q packet with one layer of VLAN TAG and the QinQ packet with two layers of VLAN TAGs are as follows:


The formats of common VLAN packet and QinQ packet


The formats of common VLAN packet and QinQ packet Two layers of VLAN tags can support 4K × 4K VLANs, meeting most of requirements ISP and overcoming limitation of VLANs.

QinQ features:
  1. Provide one simple L2 VPN tunnel for the user.
  2. Do not need the supporting of the protocol and signaling; be realized by the static configuration.

QinQ mainly solves the following problems:
  1. Shield the VLAN ID of the user, so as to save the public network VLAN ID resource of the service provider.
  2. The user can plan the private network VLAN ID, avoiding the confliction with the public network and other user VLAN IDs.
  3. Provide the simple L2 VLAN solution.


QinQ in Action



The upstream packet of the CE1 switch carries one layer of VLAN tag. The packet reaches the QinQ port of the PE1 switch. According to the configuration of the QinQ port, add one out layer of VLAN TAG to the packet. The packet with two layers of VLAN tags is forwarded to PE2 via the public network. On the QinQ port of PE2, the out layer of VLAN TAG is deleted, and the packet recovers to have one layer of VLAN Tag and is forwarded to CE2.

Realizing Modes of QinQ

QinQ is divided to two kinds, including basic QinQ and selective QinQ.

Basic QinQ: 
When receiving the packet, the QinQ port adds the VLAN TAG of the default VLAN of the port to the packet no matter whether the packet has the VLAN TAG. Before the packet is forwarded out from the QinQ port, delete the out layer of TAG and then forward it. The disadvantage of the method is that the encapsulated out layer of VLAN cannot be selected according to the VLAN TAG of the packet

Selective QinQ: 
The selective QinQ solves the disadvantage of the basic QinQ. When receiving the packet, the QinQ port adds the specified out layer of VLAN TAG to the packet according to the VLAN TAG of the packet. If the encapsulated out layer of VLAN TAG is not specified, add the VLAN TAG of the default VLAN of the port to the packet.

QinQ expansion: Configure the mapping entries on the QinQ port to replace the VLAN TAG of the packet with the specified VLAN TAG to realize the conversion of the VLAN TAG. The function is called VLAN Mapping.

TPID (Tag Protocol Identifier): It is one field in VLAN TAG, used to indicate the protocol type of VLAN TAG. IEEE 802.1Q protocol defines the value of the field as 0x8100 The default value of the out layer of TPID of QinQ is 0x8100. The TPID of the out VLAN TAG of the device QinQ packet of some manufacturer is 0x9100 or 0x9200. The user can modify the TPID of the port at the public network to realize the intercommunication of the devices of different manufacturers.

In next post we will see about configuration of Maipu Switches for QinQ, For Cisco QinQ configuration - Click here 

Hope this post will help you for understanding concepts of QinQ.

For any feedback and queries, Plz put comment with Mail id and Name. you can use Name/URL option in profile…

53 comments:

us vpn said...

Thank you for sharing this article about QinQ.

Uttamkumar said...

Thanks us vpn :)

Ecommerce service providers said...

Thanks for sharing your useful information.

MisYahd said...

The packet with two layers of VLAN tags is forwarded to PE2 via the public network. If your using selective QinQ, it add the specified out layer of VLAN tag.

Chicago Data Center

Uttamkumar said...

Yes MisYahd you are correct, In selective QinQ you can specify both Inner and Outer tag both.

Manuel said...

Hello thanks for the information...

I have some consultations obout Q in Q.

I'm going to implement Q in Q in nortel's switches (MESU 1850) and what I could find is that to configure one port for Q in Q I must to place it in uplink mode, there are 2 modes for the ports in this switch (uplink and access mode), also I could find that to create a vlan q in q in this switch I must be create a Super Vlan but this Svlan only can to have 2 ports (one uplink and another access, only these).

Do you have any information or comment about this type configuration?

The other issue that I have is about TPID, I need to change the TPID 0x8100 by a TPID 0X9100 because this switch works now inside a Base Station wimax which TPIDs are 0x9100 and other that I don't remember now, for this reason I need to know if I can to change this value.

Thanks.
Pdt. sorry for my English is not very good. :)

Uttamkumar said...

Hi Manuel,
Plz have a look : http://startnetworks.blogspot.in/2011/06/qinq-maipu-configurations.html
In this post, I explained configuration details.
For TPID, we need to change it manually.
Plz refer to Nortel configuration manual. I don't have much hands on Nortel Metro switches.

This configuration post will help you to understand concept. The QinQ port needs to be in Hybrid state.

Thanks..

Manuel said...

Ok, thanks por tu respuesta ...

Anonymous said...
This comment has been removed by a blog administrator.
Mr. B said...

Excellent article to explain Q in Q... Thanks a lot...

Shabeeribm said...

Nice article

Anonymous said...

Simple and best

Hariharan said...

Thank you for the post, this is very useful for me to understand the Qinq concept.

Unknown said...

2016-1-8 leilei
coach outlet
prada handbags
ralph lauren pas cher
jordan 3 white cenment
louis vuitton handbags
retro jordans 13
christian louboutin sale
coach outlet online
true religion sale
ugg outlet
north face jackets
mulberry uk
ralph lauren outlet
ugg boots
louis vuitton handbags
jordan 6s
montblanc pens
cheap ugg boots
louboutin pas cher
michael kors outlet
michael kors outlet
oakley vault
canada gooses outlet
coach outlet online
adidas uk
longchamp le pliage
burberry outlet
cheap uggs
gucci belt
louis vuitton outlet stores
adidas gazelle
jordan 3s
michael kors handbags
sac longchamp pliage
michael kors handbags
gucci handbags
ed hardy
kate spade
tory burch
air jordan homme

John said...

hollister clearance
official coach factory outlet
louis vuitton outlet
coach outlet store online clearance
coach outlet online
christian louboutin shoes
louis vuitton outlet
kobe 11
tiffany and co
louboutin femme
polo outlet
ralph lauren outlet
oakley sunglasses
ray ban sunglasses
ray ban outlet
concords 11
burberry scarf
pandora outlet
adidas originals shoes
tory burch shoes
louis vuitton outlet stores
fitflop clearance
oakley outlet
cheap air jordans
abercrombie outlet
nfl jerseys wholesale
fake oakley sunglasses
coach factory outlet
michael kors
kate spade handbags
louis vuitton
michael kors handbags
beats by dr dre
oakley outlet
micheael kors outlet
true religion jeans
michael kors outlet online sale
ralph lauren outlet
the north face jackets
sunglasses oakley
2016222yuanyuan

chenlili said...

chenlili20160617
louis vuitton outlet
abercrombie and fitch
michael kors outlet
cheap toms
polo ralph lauren
michael kors outlet
ray ban sunglasses
cheap toms
burberry handbags
louis vuitton handbags
louis vuitton
rolex watches
adidas wings
coach factory outlet online
ray ban sunglasses
adidas superstars
longchamp outlet
louis vuitton outlet online
louis vuitton purses
vans shoes
true religion sale
coach outlet store online
burberry outlet
toms wedges
tods outlet online
louis vuitton
ray ban sunglasses uk
adidas running shoes
nike air max uk
cheap jordans
lebron 12
louboutin femme
cheap basketball shoes
jordan retro 8
louboutin shoes
toms outlet
polo ralph kids
hollister jeans

Unknown said...

nike air max
louis vuitton
toms outlet
michael kors factory outlet
louis vuitton outlet
polo ralph lauren outlet
fitflops sale
asics
tory burch outlet
michael kors canada
20170214lck

Unknown said...

michael kors handbags
oakley outlet
michael kors outlet
birkenstock shoes
fitflops sale
nike air max
michael kors handbags
mbt outlet
coach outlet store online clearances
coach outlet
2017.3.16chenlixiang

Unknown said...

rolex watches,rolex watches,swiss watches,watches for men,watches for women,omega watches,replica watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex
swarovski jewelry
cartier watches for sale
hollister
mulberry outlet
oakley sunglasses
michael kors outlet
louis vuitton
coach outlet online
ray ban sunglasses
20170317caihuali

Unknown said...

kobe 9
nike store uk
nike store
coach factory outlet online
oakley sunglasses
cartier watches for women
oakley sunglasses
christian louboutin shoes
true religion sale
fitflops sale clearance
chanyuan2017.03.24

Anonymous said...

Can I just say whаt a relief to discover an individual whho tгuly knows ѡhat tһey're discussing ߋn thhe internet.
Y᧐u aϲtually realize h᧐w to Ьгing a problem to light
and mаke іt imрortant. Morе people have to check this out
and understand thiѕ ѕide of yоur story. Ι was surprised that yօu're
not more popular gіven thazt you certainly possess thе gift.

Anonymous said...

Thank yoս, I һave just been ⅼooking foг
informatіon apprоximately tһis topic for a long time and yoսrs is the best I habe came up᧐n toll
now. Ᏼut, ѡhɑt сoncerning the bⲟttom line?
Are you positive ⅽoncerning the supply?

Anonymous said...

Some genuinely intеresting details you have wrіtten.Aided mе
a lot, justt ԝhаt I wɑs ⅼooking for :D.

Anonymous said...

If you ɑre going for finewst contents like myseⅼf, only visit this site eνery daʏ becaսѕe it offers
quality ⅽontents, thanks

Anonymous said...

Ƭhank yоu for shgaring уоur info. Ӏ really appreciate youг effortts and
I am waіting for your next wrіte upss thɑnk you once agaіn.

Anonymous said...

Post writing іѕ also a fun, іf yoᥙ know
afterward yyou can wrte or elѕe itt іs complex tо write.

Games Boy said...

Blogs and Websites are great way to communicate with world. Keep Updating infomration is the key to success in blogging
||Play happy wheels Are you ready||Now Free Happywheels happywheels.in
||Fireboy and watergirl game 4 online at fireboywatergirl.co||
||total Jerkface happy wheels game||

chenlili said...

nfl jerseys
beats headphones
nike trainers
stephen curry shoes
nike shoes
polo ralph lauren
supreme
coach outlet
ray ban sunglasses
louboutin
20186.25chenjinyan

Unknown said...

air force 1
polo ralph lauren
gucci shoes
new balance outlet
burberry outlet online
adidas superstar
nike factory store
dansko shoes
adidas outlet
goyard handbags
2018.7.12linying

chenlili said...

uggs outlet
coach factory outlet
cheap nfl jerseys
nike trainers
polo ralph lauren
adidas shoes
polo ralph lauren
uggs outlet
mulberry handbags
cheap nfl jerseys
yaoxuemei20180810

Health Supplement Care said...

https://femaletomalebodymassagecenter.in/

Snail Secret said...


Gone are the days for profound Link Buildings. Clients are requesting stages where they can share their perspectives and surveys on items and administrations. What's more, our confided in SEO benefits in India causes them in conveying those stages. Which empowers us to convey unrivaled outcomes and monstrous online incomes for our customers and an extraordinary brand encounters to their clients.
search engine optimization

Payal Rani said...

If you are planning to modular kitchen cost calculator.Then you need to visit Infurgo Interiors designers in Delhi NCR, for complete solution at affordable cost.
Interior designers in Delhi NCR
modular kitchen cost calculator
modular kitchen cost estimation
wardrobe cost calculator
Interior design Cost calculator
Interior designers cost calculator

modular kitchen price
modular kitchen cost
cost of modular kitchen
price of modular kitchen
simple modular kitchen design
cheap modular kitchen designs
modular kitchen cost per square feet
modular kitchen cost per sq ft
Modular Kitchen Design With Price and Material
Modular Kitchen manufacturers

vai said...

It is an organic procedure that human begins to lose the nature of their skin as their age. It for the most part begins at 35 years old or above. There is no particular age where we can state that maturing begins happening in people since everybody has diverse hereditary qualities. Be that as it may, we are in this period where there is heaps of skin improving creams, and it is protected to stat

dermavix

WeTheCoders said...

Wethecoders is one of the leading online assignment help services. wethecoders always take step towards your satisfaction. We work hard so that you can get good grades. Our prime motto is to help you to get good grades in your assignment, project and homework. Our team is professional and knowledgeable. We are here to help you 24/7. Try once to take the advantage of our services and we assure you that you will get surely the best result.

Read More : http://www.wethecoders.com/

jan said...


غسيل خزانات بالمدينة المنورة

Benson said...

calvin klein outlet
vapormax
fila shoes
air max 97
michael kors outlet
kobe 11
jordan shoes
yeezy shoes
timberland
jordan sneakers

123456 said...

I want to know more about American eagle credit card login

koyetechnology said...

Thanks for your knowledge sharing.

Aparna said...


It is a very helpful data. It will help to improve my knowledge about this topic. Thank you for this awesome post.
Thanks for sharing a piece of valuable information.
Corporate Training in Chennai
Corporate Training Companies in Chennai
Soft Skills Training in Chennai
JMeter Training in Chennai
Pega Training in Chennai
Appium Training in Chennai
Advanced Excel Training in Chennai
Oracle Training in Chennai
Social Media Marketing Courses in Chennai
Tableau Training in Chennai

pinoytambayan said...

Very nice information is shared to us by you. thanks for sharing.
Pinoytvtambayanreplay.com

Xersizer said...
This comment has been removed by the author.
healthy body said...

FoliCall
FoliCall
FoliCall
FoliCall
FoliCall
FoliCall

Neha Sharma said...

I truly expanded some outstanding experiences looking over your article. I found this as a basic and spellbinding post, so I think it is huge and knowledgeable. this is an awesome blog article. Much thanks again. Stunning.

अजय कुमार वर्मा said...

DivatrimKeto
DivatrimKeto
DivatrimKeto
DivatrimKeto
DivatrimKeto

ve may bay tet said...

Liên hệ Aivivu và mua vé máy bay, tham khảo

vé máy bay đi Mỹ

giá vé máy bay mỹ về việt nam

chuyến bay thương mại từ nhật về việt nam

lịch bay từ canada về việt nam

Hatta tour said...

An audacious Desert safari Dubai expedition is incomplete while not sand dune bashing as this can be the foremost attraction of urban center culture for many years and centuries. sand dune bashing was ab initio a diversion for the native Emirati folks that later evolved as a brilliant recreation tour program for folks coming back everywhere the globe.

Dunes area unit hillocks of loose sand particles that occur in numerous shapes and sizes shaped thanks to the swift movement of the wind. Dunes area unit largely found in beaches and deserts. sand dune bashing may be a main desert sports activity as an enormous 4X4 sports utility vehicle (SUV) just like the Toyota Land Cruiser or Fortuner is employed for riding of Desert safari

strength said...

Do you experience the ill effects of hypertension, high glucose, or low blood dissemination? Indeed, CeraCare Blood Sugar Advanced Formula Pills are here to help you control the common method of doing all that.
CeraCare Blood Sugar
CeraCare Blood Sugar
CeraCare Blood Sugar
CeraCare Blood Sugar
CeraCare Blood Sugar
CeraCare Blood Sugar
CeraCare Blood Sugar

borav said...

This brilliant site really has the entirety of the data I needed concerning this subject and didn't live have a clue who to inquire.

pinoy teleserye said...

i like your blog thanks for sharing nice post. keep it up.Pinoy Tambayan Tv

hatta Mountains UAE tour said...

We are the Desert safari Dubai tour ​operator in Dubai with 15 years of experience. Our safari tour includes quad biking, red dunes, horses and camel rides with very small bikes in the Dubai desert.
If you are a resident of Dubai or United Arab Emirates, you will need to go on this trip. It brings adventure and peace of mind and get the ticket of morning desert safari in dubai.
morning desert safari in dubai
,evening desert tours and overnight desert safaris are the best-selling tours

Desert Adventure said...

A Dubai desert safari offers should be a great experience for you. Every year millions of visitors plan to travel with their loved ones and enjoy this wonderful travel experience.

With the Desert safari Dubai offers,turn your company's taste into a comfortable land cruiser so you have enough power to push the dune edges with more standards and safety features to ensure your safety. Dune Drive plays a major role in the Dubai Desert Safari campaign.

Desert Adventure said...

A Dubai desert safari offers should be a great experience for you. Every year millions of visitors plan to travel with their loved ones and enjoy this wonderful travel experience.

With the Desert safari Dubai offers,turn your company's taste into a comfortable land cruiser so you have enough power to push the dune edges with more standards and safety features to ensure your safety. Dune Drive plays a major role in the Dubai Desert Safari campaign.

Post a Comment

Related Posts Plugin for WordPress, Blogger...