[ovs-discuss] Can't get ping replies for new tunneling protocol

Arthur BONI aboni at live.fr
Tue Jul 22 09:46:47 UTC 2014


Hi,
I added a support for GTP, an UDP based tunneling protocol, using generic tunnel functions in Open vSwitch 1.11.

I tried to test communication through the tunnel with the mininet topology below :  

[h1] ---- [OvS1] ====(GTP tunnel)==== [OvS2] ---- [h2]
h1 and OvS1 are in the same VM. (h2 and OvS2 are in the same VM too).

When I ping h1 -> h2, i can see in wireshark ARP requests, ARP repplies and ICMP echo requests in GTP but I can't see the ICMP echo replies.

The ping messages are received by eth0 in the second VM but the switch doesn't forward it to the tunnel port.
I used debug messages to locate the problem and it seems to be the function ovs_dp_process_received_packet in datapath.c : "flow = ovs_flow_lookup(rcu_dereference(dp->table), &key);
     if (unlikely(!flow)) {...}"

I added the flow rules to forward messages to the right ports but the flow lookup doesn't .

Can anyone help me to solve this problem?

Thanks,
Arthur
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140722/72b6ebd0/attachment-0002.html>


More information about the discuss mailing list