Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

flow is added but I can not ping

asked 2015-06-23 07:46:22 -0800

adibrastegarnia gravatar image

updated 2015-06-23 07:47:05 -0800

I have added end to end flow between two hosts and I can see the flows in the switches (flow table) but my problem is that I can not ping two hosts from each other. In other words there is end to end path between two hosts but I can not ping them. How can I debug this kind of issue ? I have used following template for the flow

{ "flow": [ { "id": "4015", "match": { "in-port": "4", "ethernet-match": { "ethernet-type": { "type": "0x800" } }, "ipv4-source": "10.1.1.1/32", "ipv4-destination": "10.1.1.2/32" }, "instructions": { "instruction": [ { "order": "0", "apply-actions": { "action": [ { "order": "0", "output-action": { "output-node-connector": "2" } } ] } } ] }, "priority": "6000", "table_id": "100", "idle-timeout": "1000" } ] }

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-23 23:35:33 -0800

updated 2015-06-23 23:36:27 -0800

Few things I would like to point out here:

  • Why flows are added to table_id 100 (is it the first table in pipeline ?), add the flow to the table 0 (first table in pipeline).

  • Where are the flows for ARP packets, host need to resolve the ARP query before sending the ping packets. So add the bidirectional flow for resolving the ARP request.

  • Ensure that flows for the IP match criteria are present in the switch and it provides the bidirectional communication.

edit flag offensive delete publish link more
Login/Signup to Answer

Stats

Asked: 2015-06-23 07:46:22 -0800

Seen: 91 times

Last updated: Jun 23 '15