From: Robert Sander <r.sander@heinlein-support.de>
To: netfilter <netfilter@vger.kernel.org>
Subject: iptables mangle PREROUTING on br0.17
Date: Mon, 14 Dec 2015 17:10:37 +0100 [thread overview]
Message-ID: <566EE9FD.6020508@heinlein-support.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]
Hi,
I need to add a connection mark on packets that enter the system on a
bridge interface with a VLAN tag.
The network setup looks like:
eth0-\
eth1--\ /-br0.15
eth2----bond0--\ /--br0.16
eth2--/ --br0-----br0.17
tap0--/ \--br0.18
The rule
iptables -t mangle -A PREROUTING -i br0.17 -j CONNMARK --set-xmark 0x11
does not match the packets incoming on br0.17, no connection mark is
applied. tcpdump -i br0.17 shows incoming packets.
Is it even possible to match which such a nested setup for the interfaces?
Regards
--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin
http://www.heinlein-support.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
reply other threads:[~2015-12-14 16:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=566EE9FD.6020508@heinlein-support.de \
--to=r.sander@heinlein-support.de \
--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.