Navigate
VyOS
Phone +1 323 488 2459
menu Close
  • Knowledgebase
  • News
  • Downloads
  • Contact Us
  • Register

  • or
  • Login
    Need a password reminder?
  • English
    Español
or
  • Portal
  • Knowledgebase
  • Interfaces
  • Ethernet
  • QinQ
  • Knowledgebase Read help articles
  • News News & updates
  • Downloads Browse our downloads
  • Contact Us We are here to help

QinQ

Dmitriy Eshenko
2019-09-19
0 Comments
in Ethernet
Subscribe Download PDF

QinQ — allows multiple VLAN tags to be inserted into a single frame.

QinQ can be used to tunnel vlans in a vlan.

vif-s and vif-c stand for the ethertype tags that get set:
The inner tag is the tag which is closest to the payload portion of the frame; it is officially called C-TAG (Customer tag, with ethertype 0x8100).
The outer tag is the one closer/closest to the Ethernet header; its name is S-TAG (Service tag, ethertype 0x88a8). Ethertype for service tag might be redefined by cli command.


Example:

[email protected]:~$ configure
[email protected]#set interfaces ethernet eth0 vif-s 333
[email protected]#set interfaces ethernet eth0 vif-s 333 address 192.0.2.10/32
[email protected]#set interfaces ethernet eth0 vif-s 333 vif-c 777
[email protected]#set interfaces ethernet eth0 vif-s 333 vif-c 777 address 10.10.10.10/24

Configuration commands:

interfaces
    ethernet <eth[0-999]>
        address <ipv4>
        address <ipv6>
        description <txt>
        disable
        ip
            <usual IP options>
        ipv6
            <usual IPv6 options>
        vif-s <[0-4096]>
            address <ipv4>
            address <ipv6>
            description <txt>
            disable
            ip
                <usual IP options>
            ipv6
                <usual IPv6 options>
            vif-c <[0-4096]>
                address <ipv4>
                address <ipv6>
                description <txt>
                disable
                ip
                    <usual IP options>
                ipv6
                    <usual IPv6 options>



Quick Jump
  • Knowledgebase
  • News
  • Downloads
  • Contact Us
Top
Helpdesk software provided by Deskpro