[ovs-discuss] Re : Is open vswitch a distributed virtual switch?

DarkBls darkbls at yahoo.com
Wed Jul 28 06:36:05 UTC 2010


According to me :

An OvS bridge br0 on host0 with ports:

  * tap0 of vm0 and tap1 of vm1

An OvS bridge br0 on host1 with ports :

  * tap0 of vm2 and tap1 of vm3

On host0:br0:

  * port tap0 type tag vlan0
  * port tap1 type tag vlan1
  * port gr0 type trunk [vlan0, vlan1] remote host1

On host1:br0:

  * port tap0 type tag vlan0
  * port tap1 type tag vlan1
  * port gr0 type trunk [vlan0, vlan1] remote host0

Hope it makes sense.




________________________________
De : 陈文龙 <qzchenwl at gmail.com>
À : discuss at openvswitch.org
Envoyé le : Mer 28 juillet 2010, 6h 25min 08s
Objet : [ovs-discuss] Is open vswitch a distributed virtual switch?

For example
Two hosts, host0, host1.
Four VMs, vm0, vm1, vm2, vm3.
vm0,vm1 run on host0.
vm2,vm3 run on host1.

I want to create two VLANs, vlan0, vlan1.
vm0,vm2 in vlan0.
vm1,vm3 in vlan1.

Is that possible?


+-------------+     +--------------+
| vm0    vm1  |     |  vm2    vm3  |
|  |      |   |     |   |      |   |
|vlan0  vlan1 |     | vlan0  vlan1 |
|             |     |              |
|     host0   |     |    host1     |
+-------------+     +--------------+

vm0 & vm2 think they are in a LAN.
If vm0 broadcast a packet, vm2 will receive, vm1 will not.

How to construct a network topology like that using open vswitch?


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100728/9eb06642/attachment-0001.html>


More information about the discuss mailing list