Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Sascha Reissner <sascha.reissner@toxicnet.de>
To: sebastian.ionita@focomunicatii.ro
Cc: netfilter@lists.netfilter.org
Subject: Re: Iptables and vlan interfaces
Date: Fri, 30 Sep 2005 13:34:01 +0200	[thread overview]
Message-ID: <433D22A9.1060504@toxicnet.de> (raw)
In-Reply-To: <20050930112129.19898.qmail@focomunicatii.ro>

sebastian.ionita@focomunicatii.ro wrote:
> Why doesn't iptables works with vlans interfaces?
> iptables -t mangle -A FORWARD -i eth0 -o eth1.11 -j MARK --set-mark 4
> Gives me the error:
> host/network eth1.11 not found.
> I'm running kernel version 2.4.27. with iptables 1.2.9
> The eth1.11 exists works perfectly.
> Seby,
> 
> 
> 

eth1.11 is the same physical device as eth1. use eth1 in your rule and 
you are fine. netfiler does IMHO not support filtering by logical interface.


  reply	other threads:[~2005-09-30 11:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 11:21 Iptables and vlan interfaces sebastian.ionita
2005-09-30 11:34 ` Sascha Reissner [this message]
2005-09-30 11:37   ` Marc Haber
2005-09-30 11:56   ` Marcin Giedz
2005-09-30 12:44 ` Henrik Nordstrom
2005-09-30 12:54   ` sebastian.ionita
2005-09-30 13:39     ` /dev/rob0
2005-09-30 13:41       ` Marc Haber
2005-09-30 13:55         ` /dev/rob0
2005-09-30 14:14           ` Marc Haber
2005-09-30 15:21       ` Henrik Nordstrom
2005-10-03  6:48         ` Aseem Rastogi
2005-10-03  7:44           ` Marc Haber
2005-10-03  8:55             ` Aseem Rastogi
2005-10-03  8:59               ` Marc Haber
2005-10-03  9:16           ` Henrik Nordstrom
2005-10-03  9:24             ` Marc Haber
2005-10-03 12:46               ` Henrik Nordstrom
2005-10-03  9:27             ` Aseem Rastogi
2005-10-03 10:05             ` Aseem Rastogi
2005-10-03 10:02               ` Marc Haber
2005-10-03 12:18               ` Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2005-09-30 12:04 Baake, Matthias
2005-09-30 12:53 Baake, Matthias

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=433D22A9.1060504@toxicnet.de \
    --to=sascha.reissner@toxicnet.de \
    --cc=netfilter@lists.netfilter.org \
    --cc=sebastian.ionita@focomunicatii.ro \
    /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