Marking IP Tos Field in Openflow

Asked

Viewed 210 times

21

I’m a beginner in all this, so I have a question.

Considering a video call app DASH IF (Dash.js) which is executed (emulated) in a mesh network characteristically SDN (Software Defined Network).

I want the field marked on the package You (Type of Service) so that the Openflow switch on the network, know that it is a special package and should be sent to the controller.

How can I make this mark? Or would it be the implementation of this? It is itself switch who does or should be implemented something in the application?

Thank you all from now on!

  • use the powerful LINUX iptables

2 answers

1

I have little knowledge in the area, but from what I know, it is the controller that defines all the intelligence of the switch. So if you have any package checks before it is routed, this will be set in the implementation of that switch on the controller that is developed in Python.

In this case, in my view and complementing what Mr lstonon mentioned, the marking should be performed by the first switch that receives these packages. This would require a rule that identifies the origin of the package and modifies that field. In order for that rule to make such a change, it should receive the action = set. The only problem is that this change of Tos is only available on Openflow version 1.0.

So from what I’ve researched, it would be something along those lines:

add-flow s1(nome do switch) tcp,nw_src=ip.do.servidor,tp_src=porta_origem,actions=set,tos=dash

As I no longer have an SDN environment, I could not validate whether the rule is complete or not. I believe it will need adjustments. But I hope it helps.

1

Hello! I have little knowledge in the area, but as far as I know, it is the controller that defines all the intelligence of the switch. So if you have any package checks before it is routed, this will be set in the implementation of that switch on the controller that is developed in Python.

Marking of some package in the field You, causes each packet to be analyzed before being routed. I believe that it would be better to indicate the origin of the package, or port, or ip or etc so that it would be more effective and then send somewhere.

I hope I’ve helped

Browser other questions tagged

You are not signed in. Login or sign up in order to post.