Hello!
I’m running some slicing experiments in Mininet-WiFi using tc (htb).
I’ve set up a simple topology with 4 stations and 1 access point. On the AP interface (ap1-wlan1), I configured a root qdisc with two slices:
1:30 → the default slice
1:20 → a slice where the other three stations should send traffic (based on IP filters)
Then, I started an iperf test:
However, when checking the class statistics on ap1, I noticed that no packets go through class 1:20, and all traffic is going through the default slice 1:30, as shown here:
Here is the full script I used to configure the slices and filters:
Any idea what I might be missing?
Thanks in advance for your help!
Best regards,
Elena
--
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 visit https://groups.google.com/d/msgid/mininet-wifi-discuss/597534f3-d48f-4db3-80cc-84f5cf629c1en%40googlegroups.com.
Thank you for your previous reply.
Sorry to bother you, but I’m trying to fully understand a behavior I encountered while working with tc in Mininet-WiFi.
I’ve already read about IFB and I understand it’s useful to manage ingress shaping (since tc normally works only on egress). However, my current issue seems different.
In my setup, I have an AP with HTB configured with two classes:
1:30 → default slice (limited to 512Kbit)
1:20 → target slice for selected stations (limited to 2Mbit)
I’ve installed u32 filters to direct traffic to class 1:20 based on IP source/destination. However, all traffic always ends up in the default slice (1:30). The shaping works there — packets are limited correctly — but they never get matched by the filters and never go through 1:20.
From what I can tell, the filters should be correct. Yet, once a flow fails to match any filter, it’s sent to the default class, and it never tries to match any other slice.
Could it be that a single mismatch (e.g. one direction not matching) causes the entire bidirectional flow to be handled by the default class?
Or is there something deeper I may be missing in how tc handles packet classification?
Thanks so much for your time and for all the amazing work on Mininet-WiFi.
Best regards,
Elena
To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/c58be58d-6cbd-4857-8c3b-0743ded743f6n%40googlegroups.com.
I'm trying to enable IFB (Intermediate Functional Block) support in Mininet-WiFi to handle ingress traffic shaping, as suggested in previous discussions in this group.
In my script I use:
But I get the following error:
I installed Mininet-WiFi from the official GitHub repo about 4 months ago, but it seems the useIFB() method is not defined in my net.py file. I also checked using grep and confirmed the method is missing.
Has this method been removed?
Or is it only available in a specific branch or fork?
I'm currently working on bandwidth slicing experiments using tc and would really like to handle ingress shaping properly. If anyone has an updated version of the code with working useIFB() or knows how to enable it manually, I'd really appreciate your help.
To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/e7305697-3a70-4752-b277-cdb985f448c9n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/57e76c95-c7f8-4bed-8e89-2032f00c1234n%40googlegroups.com.