[ovs-discuss] Problem with "Isolating VM traffic using VLANs" cookbook recipe

Alexey I. Froloff raorn at altlinux.org
Wed Sep 22 10:45:58 UTC 2010


I am trying to test recipe described in
http://openvswitch.org/?page_id=146

My hardware is IBM BladeCenter with two blades and internal
network switch.  RHEL 5.5 with openvswitch 1.0.1.

eth1 is a physical network interface, connected to network
switch.  For each port there's list of allowed vlans and default
vlan tag.

Now I'm executing commands on two hosts:

(1) ovs-vsctl -- --may-exist add-br vnetbr
(2) ovs-vsctl -- --may-exist add-port vnetbr eth1
(3) ip li set vnetbr up
(4) ovs-vsctl -- --may-exist add-port vnetbr vnetbr3140 tag=3140 \
              -- set Interface vnetbr3140 type=internal
(5) ip li set vnetbr3140 up
(6.1) ip ad add 10.192.254.1/24 dev vnetbr3140
(6.2) ip ad add 10.192.254.2/24 dev vnetbr3140

Now, on host 1 I start tcpdump on interface vnetbr3140 and on
host 2 I start ping 10.192.254.1.  Packets doesn't reach host 1.

Tried to replace command (4) with

ovs-vsctl -- --may-exist add-br vnetbr3140 vnetbr 3140 \
          -- set Interface vnetbr3140 type=internal

No effect either.  Everything works fine if I create VLANS with
vconfig.

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100922/116a416e/attachment.sig>


More information about the discuss mailing list