[ovs-discuss] how to enable vlan?
박종석
etlars at gmail.com
Fri Jul 27 04:41:29 UTC 2012
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?*
*
*
*Please tell me the way to resolve my problem. *
*Thanks. *
--
===================================
Stay Hungry Stay Foolish
Joseph Park
===================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120727/33e67c7c/attachment.html>
More information about the discuss
mailing list