OpenVswitch UDP Issue

Andrea89ita

New Member
May 6, 2016
1
0
1
36
Hello, I'm making a research about onos potential in Hybrid SDN/IP network:

This is my configuration:[Network Configuration][1]


This is the inside of single node:
[Node Configuration][2]
I've used Open vSwitch to create virtual Bridge, according to the following configuration:

The standard route with IP traditional rules forward packets across this path:
(node1)--->(node2)---->(node3)
Obviously in each node, there are ovs switches that forward packets.

I'd like to discriminate UDP packets according this path:
(node1)--->(node1)

I used this ovs rules to send packets from Br-P2P1(node1) to br-int(node1), and from br-int (node1) to br-p1p2 (node1):

***rules of br-p2p1

sudo ovs-ofctl add-flow br-p2p1 in_port=LOCAL,actions=output:'PORT_LINK_TO_p2p1'

sudo ovs-ofctl add-flow br-p2p1 in_port='PORT_LINK_TO_p2p1',actions=LOCAL

sudo ovs-ofctl add-flow br-p2p1 ip,udp,nw_dst='IP_DESTINATION',in_port=1,actions:output:''PORT_LINK_TO_br-int'

***rules of br-int

sudo ovs-ofctl add-flow br-int in_port='PORT_PATCH_A',actions=output:'PORT_PATCH_B'

Unfortunally br-int doesn't "see" any packets, I think rule is
not applied. I try to send UDP packet with traceroute from source to destination hosts.


[1]: http://i.stack.imgur.com/1qyAO.png
[2]: http://i.stack.imgur.com/ImmxZ.png