Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mark Mastandrea <denmmas@dim.com>
To: netfilter@vger.kernel.org
Subject: can ebtables be used to add/remove vlan tags
Date: Thu, 22 Sep 2011 10:27:38 -0600	[thread overview]
Message-ID: <4E7B61FA.7010403@dim.com> (raw)

Hi,

Sorry if this is a duplicate post , I tried to post ebtables mail group 
and it pointed me here.

I created a vlan 0 interface using the vlan package and vconfig under 
linux . I'm just wanting to set the 8021p tags not segregate traffic. 
However I noticed that untagged traffic is is not being allowed thru the 
interface that I configured( in this case eth0.0). This seems like a bug 
in the VLAN module since VLAN 0 is a reserved id used to indicate 
priority tagged traffic so I would expect it to accept traffic tagged 
with VLAN 0 and untagged traffic.

In any case I'm trying to see if I can create a bridge with eth0.0 
interface associated with the bridge and then use ebtables to add a VLAN 
priority tag to an incoming untagged packet so the packet will get 
processed. I also want to strip off the VLAN 0 traffic with priority 0 
on outgoing traffic.

Based on my research this isn't possible and I would just like someone 
to confirm.


Thanks
Mark

             reply	other threads:[~2011-09-22 16:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 16:27 Mark Mastandrea [this message]
2011-09-22 22:03 ` can ebtables be used to add/remove vlan tags Stephen Hemminger
2011-09-23  0:50   ` Mark Mastandrea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E7B61FA.7010403@dim.com \
    --to=denmmas@dim.com \
    --cc=mark@themastandreas.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox