[B.A.T.M.A.N.] Traffic Control in batman-adv

gtolon
2012-04-25T20:27:03Z

Hi,

We are doing some tests with Traffic Control (tc) in routers with
Openwrt running batman-adv, want to be able to share the bandwidth with
some degree of fairness between users, so we think that SFQ could help,
differentiating the flows depending on ip addresses and ports.

The problem is that when adding the SFQ qdisc to the wireless interface
managed by batman it doesn't work as expected. We tested the SFQ in
other configurations and it worked fine, in full queues, the dropped
packets affected the big flows, allowing the others to pass, but in the
interface managed by batman-adv when packets are dropped, the result
affects all flows almost equally. We thought this could be related with
the bridge we use to connect the batman with the non-batman interfaces,
but in a wireless Acces Point bridged to bat0 it also worked fine. Maybe
it's related with the way bat0 works with it's managed interface? We'd
appreciate any advices. Thanks in advance!

Gabriel