Re: [B.A.T.M.A.N.] batman-adv: Force line topology

Carlos Meralto
2015-06-13T18:15:09Z

Thanks for the answer Sven.

You can patch the driver to allow this (it is just a simple check which
disallows it in most drivers... or actually in wireless core [1]). But you
should make sure that you still use the same mac addresses for vif + bridge
and don't end up with 4 address packets.

Can you explain how I can apply this "patch”? I saw the file attached
but i don't know what parameters must change.

There is already a way to force a topology in batman-adv?

No. There were only different solutions (not acceptable for the linux kernel)
which did this directly in batman-adv. A very prominent (and easy to find)
solution was from Martin [2]

The idea behind batman-adv is that it finds paths and thus automatically
creates a good virtual topologies.

If you can not use ebtables I will try to use the patch that Martin did.

I'm blocked with no solution.

Thanks in advance.

I don't know why you want to use wlan and you also don't explain it in your
mail. You could for example also use emulation + vde2 [3] since you already
try to emulate a setup which is not there in reality.

The first task of my thesis is to make a comparison between
open802.11s and batman-adv for node discovery time and througput, in
function of hops and recovery in case of failure. So i want make this
tests in a real scenario...

Thanks in advance.

Best Regards,
Carlos Meralto