Hello,

the OVS in my mininet environment is losing packets of a flow which sends packets to the SDN controller:

I have a linear topology consisting of: Host1 <-> OVS1 <-> OVS2 <-> Host2. Both switches are connected to an SDN controller outside of the virtual machine where mininet is running. Both OVS have rules installed for two flows: 1) Packets from Host1 destined to Host2 are forwarding through the corresponding port and 2) another flow for probe-packets from the Controller to OVS1, where they are forwarded to the port where OVS2 is connected. OVS2 forwards these packets based on the dummy destination IP address again to the controller (/ip,nw_dst=10.0.0.99 actions=CONTROLLER/).

Flow 1 forwards are packets perfectly from Host1 to Host2 at high rates. However, probing packets sent from the Controller to OVS1 are forwarded to OVS2, through investigations using Wireshark i found that all of them are received on the port at OVS2 which is connected to OVS1. However, only a fraction of them are forwarded through the port to the controller (as Wireshark showed). This holds true for very slow packet rates of 10pps, so that i don't think the userspace-handling is responsible for this. Thus, they never leave the switch. The received packets are NOT included in the OpenFlow counter as well.

Has anyone an idea why this is happening or knows how i can debug this situation?

Thanks in advance!



/ovs-appctl ofproto/trace s2 ip,nw_dst=10.0.0.99
Bridge: s2
Flow: ip,in_port=ANY,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,nw_src=0.0.0.0,nw_dst=10.0.0.99,nw_proto=0,nw_tos=0,nw_ecn=0,nw_ttl=0

Rule: table=0 cookie=0x1447 ip,nw_dst=10.0.0.99
OpenFlow actions=CONTROLLER:65535

Final flow: ip,in_port=ANY,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,nw_src=0.0.0.0,nw_dst=10.0.0.99,nw_proto=0,nw_tos=0,nw_ecn=0,nw_ttl=0
Megaflow: recirc_id=0,ip,in_port=ANY,nw_dst=10.0.0.99,nw_frag=no
Datapath actions: drop
This flow is handled by the userspace slow path because it:
        - Sends "packet-in" messages to the OpenFlow controller/
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to