Project

General

Profile

Actions

Feature #13340

closed
MM MM

Option to change QinQ ethertype to Service VLAN Tag

Feature #13340: Option to change QinQ ethertype to Service VLAN Tag

Added by Marcos M about 4 years ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.11
Release Notes:
Default

Description

Currently, pfSense uses C-Tags (ethertype 0x8100) for QinQ interfaces. Ideally, it should keep C-Tags on existing configuration but default to and provide the option to use S-Tags (ethertype 0x88A8).

https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml


Files

clipboard-202510081922-yoxlw.png (63.4 KB) clipboard-202510081922-yoxlw.png Alhusein Zawi, 10/09/2025 02:22 AM

Related issues 1 (0 open1 closed)

Related to Regression #13622: Retain previous QinQ VLAN tag type value for existing entries on upgradeResolvedMarcos M

Actions

SW Updated by Steve Wheeler almost 4 years ago Actions #1

In 23.01/2.7 the QinQ is handled by if_vlan directly and not netgraph. It now uses s-tags by default.

Since that's a change from the previous config it may fail for some setups making a setting there more important.

It is trivial to set at the command line though:

[23.01-DEVELOPMENT][admin@7100.stevew.lan]/root: ifconfig lagg0.4080 vlanproto 802.1Q
[23.01-DEVELOPMENT][admin@7100.stevew.lan]/root: ifconfig lagg0.4080
lagg0.4080: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=4600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
    ether 00:08:a2:0e:a5:93
    inet6 fe80::208:a2ff:fe0e:a593%lagg0.4080 prefixlen 64 scopeid 0x17
    groups: vlan
    vlan: 4080 vlanproto: 802.1q vlanpcp: 0 parent interface: lagg0
    media: Ethernet autoselect
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

MM Updated by Marcos M almost 4 years ago Actions #2

  • Description updated (diff)

YS Updated by Yif Swery almost 3 years ago Actions #3

Steve Wheeler wrote in #note-1:

In 23.01/2.7 the QinQ is handled by if_vlan directly and not netgraph. It now uses s-tags by default.

Since that's a change from the previous config it may fail for some setups making a setting there more important.

It is trivial to set at the command line though:
[...]

We faced this issue in our recent 2.6 -> 2.7 upgrade and thank you for posting this! Saved our butts. Whats the most elegant way to make this persistent across reboots and even better yet done in UI ?

GE Updated by Grant Emsley over 2 years ago Actions #4

We faced this issue in our recent 2.6 -> 2.7 upgrade and thank you for posting this! Saved our butts. Whats the most elegant way to make this persistent across reboots and even better yet done in UI ?

Well, this issue just bit me too. My provider doesn't support ethertype 0x88A8 on their QinQ service, so upgrading broke all of my QinQ connections.

The command line fix worked, for now. But now every reboot will break everything.

Installing the shellcmd package and adding that command to run on boot makes things work. Not an elegant solution but at least we're back up and running.

MM Updated by Marcos M 12 months ago Actions #5

  • Status changed from New to In Progress
  • Assignee set to Marcos M
  • Target version set to 2.9.0
  • Plus Target Version set to 25.11

MM Updated by Marcos M 12 months ago Actions #6

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:682b0eb2ee68bf207bbb40de92c383ff8ffcf2f6.

AZ Updated by Alhusein Zawi 11 months ago Actions #7

VLAN Tag Type is added to QinQ Configuration

25.11.b.20251006.0600

DZ Updated by Danilo Zrenjanin 11 months ago Actions #8

  • Status changed from Feedback to Resolved

Tested against:

26.03-DEVELOPMENT (amd64)
built on Tue Oct 14 13:59:00 UTC 2025
FreeBSD 16.0-CURRENT

I can confirm it's been added.

MM Updated by Marcos M 10 months ago Actions #9

  • Related to Regression #13622: Retain previous QinQ VLAN tag type value for existing entries on upgrade added

JP Updated by Jim Pingle 10 months ago Actions #10

  • Category changed from Operating System to Interfaces
Actions

Also available in: Atom