On Thu, Jul 26, 2012 at 9:41 PM, 박종석 <[email protected]> wrote:
> Hi all
>
> I have a problem to ask you to resolve my problem.
>
> On my ubuntu 12.04 desktop, I set up ovs and 3 vms.
> And I made ports and interfaces as below:
>
> $ ovs-vsctl show
> c535b99d-d61c-46bd-b55c-8d7e6764de6a
>    Bridge br-int
>        Controller "tcp:70.5.30.88:6633"
>            is_connected: true
>        Port "tap1"
>            Interface "tap1"
>        Port "tap2"
>            Interface "tap2"
>        Port "tap0"
>            Interface "tap0"
>        Port "eth0"
>            Interface "eth0"
>        Port br-int
>            Interface br-int
>                type: internal
>    Bridge "virbr0"
>        Port "vnet0"
>            Interface "vnet0"
>        Port "virbr0"
>            Interface "virbr0"
>                type: internal
>    ovs_version: "1.4.0+build0"
>
>
>
> I can check all vns can communicate each other with ping cmd.
>
> And now I want to enable vlans to seperate vms into 2 group.
> So I set as below:
> $ ovs-vsctl set port tap0 tag=1
> $ ovs-vsctl set port tap1 tag=2
> $ ovs-vsctl set port tap2 tag=1
>
> As you can guess, I want to group vm1(tap0) and vm3(tap2).
> And new bride interfaces can be shown as below:
>
> c535b99d-d61c-46bd-b55c-8d7e6764de6a
>   Bridge br-int
>       Controller "tcp:70.5.30.88:6633"
>           is_connected: true
>       Port "tap1"
>           tag: 1
>           Interface "tap1"
>       Port "tap2"
>           tag: 2
>           Interface "tap2"
>       Port "tap0"
>           tag: 1
>           Interface "tap0"
>       Port "eth0"
>           Interface "eth0"
>       Port br-int
>           Interface br-int
>               type: internal
>   Bridge "virbr0"
>       Port "vnet0"
>           Interface "vnet0"
>       Port "virbr0"
>           Interface "virbr0"
>               type: internal
>   ovs_version: "1.4.0+build0"
>
>
> But my vms are not separated! they can ping each other!
> How can I engage my vlan setting?

You have a controller connected.  Did you read the VLAN section of the FAQ?

http://openvswitch.org/faq/
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to