netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: Stephan von Krawczynski <skraw@ithnet.com>
Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org
Subject: Re: Can linux kernel bridge forward 802.1q tagged vlan packets?
Date: Thu, 22 Aug 2013 23:49:41 +0200	[thread overview]
Message-ID: <20130822234941.4affc863@catus> (raw)
In-Reply-To: <20130822224453.ca93782f.skraw@ithnet.com>

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

  reply	other threads:[~2013-08-22 21:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22 20:44 Can linux kernel bridge forward 802.1q tagged vlan packets? Stephan von Krawczynski
2013-08-22 21:49 ` Marek Kierdelewicz [this message]
2013-08-22 22:19   ` Stephen Hemminger
2013-08-23  4:22     ` [Bridge] " Stephan von Krawczynski
2013-08-23  4:58       ` Jeff Kirsher
2013-08-26 10:21         ` Stephan von Krawczynski

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=20130822234941.4affc863@catus \
    --to=marek@piasta.pl \
    --cc=bridge@lists.linux-foundation.org \
    --cc=netdev@vger.kernel.org \
    --cc=skraw@ithnet.com \
    /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;
as well as URLs for NNTP newsgroup(s).