This question already has an answer here:

I'm wondering how I would go about emulating how a standard vswitch works in KVM.

In VMware you have the following: vmnic -> vswitch(tagged) -> port group (untagged)

So all traffic going to the standard vswitch is tagged and the tags are stripped at each port group.

The configuration on the port group is flexible in the sense that I can modify the untagged vlan on the port group without having to impact networking or restart services for changes to take effect. Additionally the config remains persistent across host reboots (this is important)

How can I implement similar functionality on KVM So that it exhibits similar behavior?

marked as duplicate by dyasny, mdpc, MichelZ, Ward, Scott Pack Apr 3 '14 at 0:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


If you can't do what you need with vlan tags on the bridges then maybe http://openvswitch.org/ although it seems a little overkill

  • Does openvswitch allow the ability to run simple commands against it like "set this port to untagged on vlan 5" and then commit it to memory? Is there anyway to achieve this with bridges? – rainereality Apr 1 '14 at 13:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.