Re: tun/tap and Vlans

Avi Kivity
2009-05-19T07:45:36Z

Lukas Kolbe wrote:
>> Right, I guess you'd see this with a real switch as well? Maybe have
>> your guest send a packet out once in a while so the bridge can learn its
>> MAC address (we do this after migration, for example).
>>
>
> Does this mean that it is not possible for having each tun device in a
> seperate bridge that serves a seperate Vlan? We have experienced a
> strange problem that we couldn't yet explain. Given this setup:
>
> Guest Host
> kvm1 --- eth0 -+- bridge0 --- vlan1 \
> | +-- eth0
> kvm2 -+- eth0 -/ /
> \- eth1 --- bridge1 --- vlan2 +
>
> When sending packets through kvm2/eth0, they appear on both bridges and
> also vlans, also when sending packets through kvm2/eth1. When the guest
> has only one interface, the packets only appear on one bridge and one
> vlan as it's supposed to be.
>
> Can this be worked around?
>

This is strange. Can you post the command line you used to start kvm2?

--
error compiling committee.c: too many arguments to function