All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gáspár Lajos" <swifty@freemail.hu>
To: Michael Robinson <mike@robinsonhome.org>
Cc: Jan Engelhardt <jengelh@medozas.de>, netfilter@vger.kernel.org
Subject: Re: Removing VLAN tag from outgoing broadcasts
Date: Wed, 19 Oct 2011 17:23:36 +0200	[thread overview]
Message-ID: <4E9EEB78.90304@freemail.hu> (raw)
In-Reply-To: <CA+JOZmOsUvB_Ly-1SScvDMecrOy7Dka3G+6fzaqyCOYzCfJAgg@mail.gmail.com>

Hi Mike,
> Now I need to connect eth2 directly to a (non-standard) device (don't
> ask :) that will take care of the broadcasts, but they must be
> untagged.  So I was hoping to create a rule that would essentially
> direct the outgoing VLAN-tagged broadcasts to the native VLAN
> (untagged).
>
>

As I mentioned before: (AFAIK) the switch WILL remove the VLAN tag on an 
Access Port...
If I understand you right you want to send ALL broadcast packets to this 
device...
If so then maybe you need the TEE target in the iptables/netfilter 
framework...
Jan Engelhardt can help you with that... :D

I would:
- set up a new VLAN (2051),
- put the other side (this non-standard device) on an Access Port,
- copy (with TEE) the traffic to this new VLAN...
(Or just forget the first two steps and use an other ethernet interface 
and a cross-link cable :D )

Hope that helps. :D

Swifty

  reply	other threads:[~2011-10-19 15:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17 19:16 Removing VLAN tag from outgoing broadcasts Michael Robinson
2011-10-19 13:20 ` Gáspár Lajos
2011-10-19 13:29   ` Michael Robinson
2011-10-19 14:15     ` Gáspár Lajos
2011-10-19 14:46       ` Michael Robinson
2011-10-19 15:23         ` Gáspár Lajos [this message]
2011-10-19 15:34           ` Michael Robinson

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=4E9EEB78.90304@freemail.hu \
    --to=swifty@freemail.hu \
    --cc=jengelh@medozas.de \
    --cc=mike@robinsonhome.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.