From: Changli Gao <xiaosuo@gmail.com>
To: michele.de_candia@alcatel-lucent.com
Cc: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>
Subject: Re: VLAN ebtables target
Date: Fri, 10 Sep 2010 19:21:50 +0800 [thread overview]
Message-ID: <AANLkTingKBq46n-tM-guNSwxDeaegSCfkW7KNYuiEMjb@mail.gmail.com> (raw)
In-Reply-To: <1284111698.3072.2.camel@nbmichele>
On Fri, Sep 10, 2010 at 5:41 PM, Michele Jr De Candia
<michele.de_candia@alcatel-lucent.com> wrote:
> On Fri, 2010-09-10 at 04:33 +0200, Changli Gao wrote:
>> On Thu, Sep 9, 2010 at 6:02 PM, Michele Jr De Candia
>> <michele.de_candia@alcatel-lucent.com> wrote:
>> > Hi all,
>> > I read on ebtable-devel mailing list that somebody has tried to do a new
>> > target module to add or remove the VLAN tag with ebtables.
>> >
>> > There were some patches or references about previous developments?
>> >
>>
>> What is the requirement which needs this VLAN target? Most of
>> requirement can be satisfied with ebtables and vlan network devices.
>
> Supposing that the requirement is to get a VLAN tagged L2 frame coming
> from an interface and routing it untagged to another interface, how
> would you do that?
>
>>
Supposing the VLAN tagged L2 frame conming from eth0, the VLAN ID is
2, and the other interface is eth1.
vconfig add eth0 2
vconfig set_flag eth0.2 1
brctl addbr br0
brctl addif br0 eth0.2
brctl addif br0 eth1
--
Regards,
Changli Gao(xiaosuo@gmail.com)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-09-10 11:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-09 10:02 VLAN ebtables target Michele Jr De Candia
2010-09-10 2:33 ` Changli Gao
2010-09-10 9:41 ` Michele Jr De Candia
2010-09-10 11:21 ` Changli Gao [this message]
2010-09-10 11:30 ` Michele Jr De Candia
2010-09-10 11:38 ` Changli Gao
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=AANLkTingKBq46n-tM-guNSwxDeaegSCfkW7KNYuiEMjb@mail.gmail.com \
--to=xiaosuo@gmail.com \
--cc=michele.de_candia@alcatel-lucent.com \
--cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).