From: Henrik Nordstrom Subject: Re: Iptables and vlan interfaces Date: Fri, 30 Sep 2005 14:44:32 +0200 (CEST) Message-ID: References: <20050930112129.19898.qmail@focomunicatii.ro> Mime-Version: 1.0 Return-path: In-Reply-To: <20050930112129.19898.qmail@focomunicatii.ro> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: TEXT/PLAIN; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: sebastian.ionita@focomunicatii.ro Cc: netfilter@lists.netfilter.org On Fri, 30 Sep 2005 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. Sounds like there may be a bug in your iptables command. Are you sure the command line given above is what you tried to use? The error seems to suggest a -s/-d option was used instead of -o. Regards Henrik