From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: ebtables VLAN filtering
Date: Mon, 07 Feb 2011 10:24:13 +0100 [thread overview]
Message-ID: <4D4FBA3D.6000500@plouf.fr.eu.org> (raw)
In-Reply-To: <4D4F4E43.6090000@abpni.co.uk>
Hello,
Jonathan Tripathy a écrit :
>
> With ebtables, is it possible to filter via the VLAN interface (e.g.
> eth0.3 for VLAN3) using the normal -i and -o parameters? I'd like to
> filter via the interface rather than using the tag with --vlan-id if
> possible
It depends whether you added the raw interface eth0 or the VLAN
interface eth0.3 to the bridge. If you added the raw interface eth0,
then the bridge and ebtables should see tagged frames in all VLANs
from/to eth0. If you added the VLAN interface eth0.3, then the bridge
and ebtables should see untagged frames in VLAN 3 from/to eth0.3.
prev parent reply other threads:[~2011-02-07 9:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 1:43 ebtables VLAN filtering Jonathan Tripathy
2011-02-07 4:43 ` Grant Taylor
2011-02-07 9:24 ` Pascal Hambourg [this message]
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=4D4FBA3D.6000500@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox