[CentOS-virt] Vlan trunk/QinQ connected to KVM guest

Sun Mar 27 23:36:00 UTC 2011
Nataraj <incoming-centos at rjl.com>

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