On Sat, May 21, 2011 at 06:55:16PM +0100, manel med wrote:
> i have a problem with configuration of vlan in openvswitch.
> I have 2 vms running in the same host and i want to isolate them by put in
> each one in a different vlan and i want to know witch configuration should i
> apply.
> I do this configuration but vm1 still ping vm 2:
>
> ovs-vsctl add-port br0 vlan10 tag=10 -- set Interface vlan10 type=internal
>
> ovs-vsctl add-port br0 vlan10 tag=20 -- set Interface vlan10 type=internal
>
> ovs-vsctl add-port br0 vnet0 tag=10
> ovs-vsctl add-port br0 vnet1 tag=20
The usual way to do this would be something like this:
ovs-vsctl add-port br0 tap0 tag=10
ovs-vsctl add-port br0 tap1 tag=20
if tap0 and tap1 are the network devices for VM 1 and VM 2,
respectively. I tried it just now with the 1.1 branch and it worked
OK for me.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss