Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by dyasny, mdpc, MichelZ, Ward, Scott Pack Apr 3 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.

    
Not to repeat myself, I just typed an answer to this yesterday: serverfault.com/questions/585774/… –  dyasny Apr 2 at 3:50

1 Answer 1

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

share|improve this answer
    
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 at 13:40

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