From: Henrik Nordstrom Subject: Re: Iptables and vlan interfaces Date: Mon, 3 Oct 2005 14:18:10 +0200 (CEST) Message-ID: References: <20050930112129.19898.qmail@focomunicatii.ro> <20050930125427.28160.qmail@focomunicatii.ro> <200509300839.15330.rob0@gmx.co.uk> <4340D42B.2070106@india.tejasnetworks.com> <43410257.1090200@india.tejasnetworks.com> Mime-Version: 1.0 Return-path: In-Reply-To: <43410257.1090200@india.tejasnetworks.com> 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: Aseem Rastogi Cc: netfilter@lists.netfilter.org On Mon, 3 Oct 2005, Aseem Rastogi wrote: > Does it mean that if I connect my machine ethernet port to another > machine and configure a vlan interface with that port as physical port > and then add route to another machine through that vlan interface (I > need to do this to use vlan interface right ? ), then all packets sent > out of it will be tagged by whatever tag i mention in vconfig? Yes. Any packets sent out on that virtual interface will be sent tagged with the vlan tag. This is done in L2 and not protocol dependent in any manner. Regards Henrik