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

Mon Apr 4 05:45:20 UTC 2011
Arun Khan <knura9 at gmail.com>

On Thu, Mar 31, 2011 at 1:49 PM, Nataraj <incoming-centos at rjl.com> 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