From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: ebtables VLAN filtering
Date: Sun, 06 Feb 2011 22:43:24 -0600 [thread overview]
Message-ID: <4D4F786C.6080806@riverviewtech.net> (raw)
In-Reply-To: <4D4F4E43.6090000@abpni.co.uk>
On 2/6/2011 7:43 PM, Jonathan Tripathy wrote:
> 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
Yes it is.
(I am currently doing exactly that on a system with 30+ VLAN interfaces.)
It is my (mis)understanding that the --vlan-id is used to match traffic
to/from a specific tagged VLAN on the /raw/ interface. (I don't know
for sure b/c I never match on the raw interface. I always use the VLAN
sub-interface.)
Grant. . . .
next prev parent reply other threads:[~2011-02-07 4:43 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 [this message]
2011-02-07 9:24 ` Pascal Hambourg
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=4D4F786C.6080806@riverviewtech.net \
--to=gtaylor@riverviewtech.net \
--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