From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 22 Aug 2013 23:49:41 +0200 From: Marek Kierdelewicz Message-ID: <20130822234941.4affc863@catus> In-Reply-To: <20130822224453.ca93782f.skraw@ithnet.com> References: <20130822224453.ca93782f.skraw@ithnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] Can linux kernel bridge forward 802.1q tagged vlan packets? List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephan von Krawczynski Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org Hi, >My general idea is to bridge tagged vlan packets from a physical >interface (intel) to a virtual interface (virtio in qemu) and not >losing the tags, so the qemu guest can use vconfig and friends to get >some vlan interfaces. Is this possible and are there any additional >steps necessary besides the usual bridge configuration? I'm using this setup with KVM virtualization (Qemu's successor). It didn't work with default nic type for guest (realtek I think) as 802.1q tags were not preserved properly in one of the directions. I don't remember specifics. Anyway using e1000 driver instead of default fixed it. Works like a charm. Best regards, Marek Kierdelewicz From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Kierdelewicz Subject: Re: Can linux kernel bridge forward 802.1q tagged vlan packets? Date: Thu, 22 Aug 2013 23:49:41 +0200 Message-ID: <20130822234941.4affc863@catus> References: <20130822224453.ca93782f.skraw@ithnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org To: Stephan von Krawczynski Return-path: In-Reply-To: <20130822224453.ca93782f.skraw@ithnet.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bridge-bounces@lists.linux-foundation.org Errors-To: bridge-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org Hi, >My general idea is to bridge tagged vlan packets from a physical >interface (intel) to a virtual interface (virtio in qemu) and not >losing the tags, so the qemu guest can use vconfig and friends to get >some vlan interfaces. Is this possible and are there any additional >steps necessary besides the usual bridge configuration? I'm using this setup with KVM virtualization (Qemu's successor). It didn't work with default nic type for guest (realtek I think) as 802.1q tags were not preserved properly in one of the directions. I don't remember specifics. Anyway using e1000 driver instead of default fixed it. Works like a charm. Best regards, Marek Kierdelewicz