Ask Your Question
0

Is it possible to match a flow on a range of ports?

asked 2014-12-03 05:14:53 -0700

Lorunification gravatar image

updated 2014-12-03 05:15:38 -0700

I would like to install a flow that matches on TPSRC and/or TPDST on a range of ports like 1 - 80. Is this possible with a single flow or would i have to install a single flow for each port?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-03 16:05:01 -0700

Colin Dixon gravatar image

OpenFlow does not allow for "range matches" in that sense.

It does allow for "masked matching" on some fields where you can specify wildcards for specific bits in a given field. However, port is not one of those fields in OpenFlow 1.0. In OpenFlow 1.3, you can (at least in theory) do a masked match on a port. This would allow you to match on ports where the 10th bit is one, e.g., ports >= 1024.

See section 7.2.3.2 on page 50 of the OpenFlow 1.3.3 spec here: https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.3.3.pdf

edit flag offensive delete publish link more

Comments

Are you perhaps able to provide an example of how to achieve this from the Opendaylight GUI (localhost:8080) or how to achieve this via java code?

Lorunification ( 2014-12-04 06:25:09 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-12-03 05:14:53 -0700

Seen: 388 times

Last updated: Dec 03 '14