packets pass always in the queue 0

50 views
Skip to first unread message

Bruce

unread,
Mar 6, 2021, 11:36:42 PM3/6/21
to mininet-wifi-discuss

I have a network with 2 host that are connected via an access point. I use linux tc tools to create prio qdisc dev ap1-mp1 in ap xterm. But all packets pass always in the queue 0 no matter what tos_value is.(Prio qdisc use tos_value to filter packets to different classes)
I've already verified the rules and it's all okay. Can you tell me if is something from the mininet-wifi ?

By the way, I use Ryu as the controller, ofsoftswitch as the ap(user ap) and openflow1.3

Thank you for your help!

Ramon Fontes

unread,
Mar 7, 2021, 5:57:17 AM3/7/21
to Bruce, mininet-wifi-discuss
Can you confirm that your rules work with ofsoftswitch13 switches? How can I reproduce the issue?

Sent from my android

--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mininet-wifi-discuss/2ef7f7da-6b0a-4df3-8742-aad771226ee4n%40googlegroups.com.

Ramon Fontes

unread,
Mar 7, 2021, 6:02:06 AM3/7/21
to Bruce, mininet-wifi-discuss
I hope you have looked at issues like this https://github.com/CPqD/ofsoftswitch13/issues/107

Sent from my android

Bruce

unread,
Mar 7, 2021, 7:06:10 AM3/7/21
to mininet-wifi-discuss
Thank you. The issue is easy to reproduce. This is a simple example to show the problem: 
1. I use "sudo mn" to create a topo
2. Then "xterm s1" and in the s1 xterm input "tc qdisc add dev s1-eth1 root prio"
3. Then use "tc class show dev s1-eth1" we can see three classes are created, they use tos_value as the filter
4. Now use "h1 ping -Q 0x12 -c 3 h2" in Mininet-wifi CLI or other tos_value, or choose iperf, after this, type "tc -s class show dev s1-eth1" in s1 xterm, we can see that all packets are pass the class 2, but packet that tos_value is 0x12 should go to class 1

Moreover, when I apply tc prio qdisc on hosts like h1 instead of on s1, packets are well filtered to class 1.

I use ryu+ofsoftwitch is the same case.

Ramon Fontes

unread,
Mar 7, 2021, 8:57:40 AM3/7/21
to Bruce, mininet-wifi-discuss
"sudo mn" doesn't reproduce the issue, right? You are using ofsoftswitch13 and sudo mn doesn't run ofsoftswitch13. Please share all the steps I have to follow and the expected results.

Sent from my android

Bruce

unread,
Mar 7, 2021, 9:07:05 AM3/7/21
to mininet-wifi-discuss
sorry, I mean use ofsoftswitch or not doesn't matter, I also meet this problem with "sudo mn", these steps already show my confusion.
Thanks you very much!
Reply all
Reply to author
Forward
0 new messages