On Thu, Sep 19, 2013 at 5:23 AM, nisha goyal <nisha.goyal1...@gmail.com> wrote: > Hi all, > > I am working on a project where we create multiple vms on a host machine. > There are multiple hosts of this kind. These hosts are connected to a single > LAN and the VMs are created using KVM. Qemu and libvirt are used alongwith. > There is a requirement where I need to create multiple VLANs such that some > VMs on a host can be a part of one VLAN and the rest could be a part of > another VLAN. These VLANs are also spread across multiple hosts.
For a simplistic scenario wherein your two KVM servers are connected directly to each other and you have your physical interface trunk VLANs, this should work. But if your KVM servers are connected through a physical switch, then the switch should be VLAN aware too (i.e., it should allow VLAN tagged packets to pass-through to the appropriate physical ports) > > I was trying to achieve this using openvswitch but failed to succeed. I have > followed many solutions available online but I am left in a confused state. > Please help me. > > I am not clear if openvswitch creates the VLANs or we need to create the > VLANs at our end and openvswitch just helps in configuring those with the > VMS? > > If openvswitch creates the VLANs then what is the way to go?All the > configuration that I have tried gives me an error at some point or the > other. Please point me to the right direction. The FAQs in OVS website answer many questions about VLANs. There are also a few very good tutorials about VLANs elsewhere which you should be able to search. > > Regards, > Nisha > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss