FAQ
I am running KVM guests under Redhat 6. I tried to setup a bridge
device to an interface with a vlan trunk connected to a Juniper switch.
On the KVM host, I am able to define vlans and access them via the vlan
trunk. I was not able to access a vlan from the kvm guest connected to
the bridged interface. I believe this would be what is commonly called
QinQ or 802.1ad. Is this possible to do? I am using virtio drivers.

If I can't do this, I guess I will end up with alot of bridged vlans. I
tried doing this a while back under the vmware server and it did not
work either. I think the reason that it did not work had something to
do with arp resolution. I believe I read some where that it may be
possible under ESXi.

Thanks,
Nataraj

Search Discussions

  • Nataraj at Mar 27, 2011 at 7:36 pm

    On 03/27/2011 04:09 PM, Nataraj wrote:
    I am running KVM guests under Redhat 6. I tried to setup a bridge
    device to an interface with a vlan trunk connected to a Juniper switch.
    On the KVM host, I am able to define vlans and access them via the vlan
    trunk. I was not able to access a vlan from the kvm guest connected to
    the bridged interface. I believe this would be what is commonly called
    QinQ or 802.1ad. Is this possible to do? I am using virtio drivers.

    If I can't do this, I guess I will end up with alot of bridged vlans. I
    tried doing this a while back under the vmware server and it did not
    work either. I think the reason that it did not work had something to
    do with arp resolution. I believe I read some where that it may be
    possible under ESXi.

    Thanks,
    Nataraj

    _______________________________________________
    CentOS-virt mailing list
    CentOS-virt at centos.org
    http://lists.centos.org/mailman/listinfo/centos-virt
    After thinking about this further I guess it would look like somehow
    being able to configure a "port" (the one connected to the kvm VM) on
    the linux bridge as being a vlan trunk. Alternatively, if the guest
    (also running linux) were able to support QinQ I think I could configure
    QinQ on the guest as well as on the port on the Juniper switch, though
    that would only work with 1 guest, so the first solution would be preferred.

    Nataraj
  • AemNet at Mar 28, 2011 at 9:26 am
    I'm not sure I'm understanding your problem, but generally I create the
    vlan interface inside the guests machine. Notice that we use *ONLY*
    tagged vlan so we can use different vlan in each switch port.

    B.
  • Nataraj at Mar 31, 2011 at 4:19 am

    On 03/28/2011 06:26 AM, AemNet wrote:
    I'm not sure I'm understanding your problem, but generally I create the
    vlan interface inside the guests machine. Notice that we use *ONLY*
    tagged vlan so we can use different vlan in each switch port.

    B.
    _______________________________________________
    CentOS-virt mailing list
    CentOS-virt at centos.org
    http://lists.centos.org/mailman/listinfo/centos-virt
    Thank You. I got it working now. I'm not sure why it didn't work the
    first time I tried.


    Nataraj
  • Arun Khan at Apr 4, 2011 at 1:45 am

    On Thu, Mar 31, 2011 at 1:49 PM, Nataraj wrote:
    On 03/28/2011 06:26 AM, AemNet wrote:
    I'm not sure I'm understanding your problem, but generally I create the
    vlan interface inside the guests machine. Notice that we use *ONLY*
    tagged vlan so we can use different vlan in each switch port.
    Thank You. ?I got it working now. ? I'm not sure why it didn't work the
    first time I tried.
    Please share how you got it working. Regarding VLAN tagging, my
    understanding is that each interface through which the frames pass
    must support tagging. Thus if the frame passes through a device that
    does not support tagging then the tag information is lost.

    I am also using KVM for my virtual appliances and in one of the
    appliance scenario, I will have to use 2 VLANs on one the 'guest' VM's
    NIC.

    Thanks,

    -- Arun Khan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos-virt @
categoriescentos
postedMar 27, '11 at 7:09p
activeApr 4, '11 at 1:45a
posts5
users3
websitecentos.org
irc#centos

3 users in discussion

Nataraj: 3 posts AemNet: 1 post Arun Khan: 1 post

People

Translate

site design / logo © 2022 Grokbase