[ovs-discuss] Doubt about openvswitch

Rafael Gomes rggg88 at hotmail.com
Wed Feb 13 11:50:20 UTC 2013














Hi again,
Sorry for bother you, but i have some doubts about my network configuration. 
A topology of my network, I send you in attachment, but it has three OVS and two host, the ovs are VMs.

Before I configure the ovs exist connection between the different networks, but after i configure the ovs, lost the conection between network and i don't know why? Can be something bad configured? The routing table are same before and after the configuration.

My version of ubuntu is 12.04, the version of openvswitch is 1.7.3 and  the version of floodlight is 0.85. I have followed respectives tutorial in oficial web sites to install, like that openvswitch and the floodlight.

My first experiencies had


My rule to OVS1:

flow1 = {
                        'switch':"00:00:fe:20:24:01:1b:4c",
                        "name":"flow-mod-1",
                        "cookie":"0",
                        "priority":"0",
                        "ingress-port":"5",
                        "active":"true",
                        "actions":"output=4"
        }

In the ovs you can see:

VM1:

root at rg1-virtual-machine:/home/rg1# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0xa000004039d1a6, duration=132.731s, table=0, n_packets=0, n_bytes=0, idle_age=132, priority=0,in_port=5 actions=output:4


My rules tou OVS2:

flow2 = {
                        'switch':"00:00:fa:8a:63:21:05:4f",
                        "name":"flow-mod-2",
                        "cookie":"0",
                        "priority":"0",
                        "ingress-port":"4",
                        "active":"true",
                        "actions":"output=2"
        }

flow4 = {
                        'switch':"00:00:fa:8a:63:21:05:4f",
                        "name":"flow-mod-4",
                        "cookie":"0",
                        "priority":"0",
                        "ingress-port":"2",
                        "active":"true",
                        "actions":"output=4"
                }

In the ovs you can see:

VM2:
root at rg1-virtual-machine:/home/rg1# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0xa000004039d1a7, duration=35.263s, table=0, n_packets=17, n_bytes=884, idle_age=2, priority=0,in_port=4 actions=output:2
 cookie=0xa000004039d1a9, duration=35.252s, table=0, n_packets=12, n_bytes=504, idle_age=9, priority=0,in_port=2 actions=output:4

Is normal the flag of table are same in the two different rules?


My rule to ovs3:
flow3 = {
                        'switch':"00:00:be:53:b7:7f:52:49",
                        "name":"flow-mod-3",
                        "cookie":"0",
                        "priority":"0",
                        "ingress-port":"5",
                        "active":"true",
                        "actions":"output=3"
                }


VM3:

root at rg1-virtual-machine:/home/rg1# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0xa000004039d1a8, duration=64.164s, table=0, n_packets=0, n_bytes=0, idle_age=64, priority=0,in_port=5 actions=output:3

My problem in this case is that when i tried ping between two host, the ovs fails my rule and there no propation of arp, i.e, the arp go by eth1 of VM1 and eth1 of VM3. Can you explain why the ovs fails my rules?

In the second case have a new two brides to exist conection between hosts, but after I configure the ovs, this conectivity is lost and again I don't know why :/. And my rules look fine in the ovs and the floodlight for that I don't know what am I doing wrong. 
In this case there no propagation of arp by host to the openflow network.


Thanks so much.




 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130213/8eb30436/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001.jpg
Type: image/jpeg
Size: 1046119 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130213/8eb30436/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.jpeg
Type: image/jpeg
Size: 228108 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130213/8eb30436/attachment-0002.jpeg>


More information about the discuss mailing list