Marking UDP Data Packets using OpenVSwitch

21 views
Skip to first unread message

Daniel Joyner

unread,
Feb 9, 2014, 1:53:39 PM2/9/14
to geni-...@googlegroups.com
Can anyone offer any advice or know of a tutorial for; Marking UDP data packets using OpenVSwitch and then dropping the marked packets using Vswitch as well. 

Niky Riga

unread,
Feb 10, 2014, 11:43:24 AM2/10/14
to geni-...@googlegroups.com
Hi Daniel,

It depends on what do you mean by marking UDP packets. If you just want
to modify a specific piece of header so that you can recognize these
packets in your network then yes you can do that as long as you find the
appropriate field to modify.

You should read the OpenFlow 1.0 spec[1] to identify which field you
would like to use for this. If your network is all layer 2 IP TOS might
be a good option for this.

Later you can indeed have a rule that will drop such marked packets, if
I remember correctly drop is usually an output action with an empty list
of ports.

We don't have a tutorial that does exactly that, but our Intro to
OpenFlow tutorial has example of controllers of how to match on specific
fields and how to rewrite other parts of the packets (IP address,
transport ports):

http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS

Good luck,
Niky
> --
> GENI Users is a community supported mailing list, so please help by
> responding to questions you know the answer to.
>
> If this is your first time posting a question to this list, please
> review
> http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
> ---
> You received this message because you are subscribed to the Google
> Groups "GENI Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geni-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages