how to run test 80211s

Francesco francesco.cappuccio at gmail.com
Fri Feb 27 18:38:53 EST 2009


Hi Javier,

those commands you suggested do not really accomplish what i have in mind.
Let's say i have all nodes up in my lab so they do see each other.
Now i want to simulate a node that goes far in distance: it happens that
packets routed through the node but destined to other destinations have to
follow a new path on the mesh tree.
I want to see the changes in packet routing on the mesh when a node goes
far, or metric on plinks change.

So I tought to simulate node movement by mean of ip/ebtables.

But i am facing issues both in creating correct rules and even if rules are
correct, $ mpath dump always shows nodes as directly connected (they do are
in visibility) even if traffic follow multi hop path..



On Fri, Feb 27, 2009 at 8:54 PM, Javier Cardona <javier at cozybit.com> wrote:

> Francesco,
>
> 2009/2/27 Francesco <francesco.cappuccio at gmail.com>:
> > I want to run some tests, forcing various logical topology over the mesh
> > network, and take a look on how 80211s react to network topology changes.
> > I thogut it was a good idea (e.g.) to kill conectivity between adjacent
> mesh
> > nodes simply discarding (somehow) packets between those nodes to force
> the
> > mesh to reconfigure paths.
>
> What about deleting or blocking peer links?
>
> # iw dev mesh station $HW_ADDR set plink_action [open|block]
> # iw dev mesh station del $HW_ADDR
>
> Documented here:
>
> http://o11s.org/trac/wiki/HOWTO#AdvancedTinkering
>
> Cheers,
>
> Javier
>
>
> > At first I tried using ebtables, to force packet-drop upon mac addresses
> > rules, with no luck, mesh nodes still see full mesh connections.
> >
> > I am trying iptables now, but can't still find a working set of rules.
> >
> > [Let's say i work with three nodes A---B---C and want to kill mesh
> > connection between A and C:
> > $ iptables -t mangle -A PREROUTNIG -m mac -mac-source xx:xx:xx:xx:xx -j
> DROP
> > on node A where xx is C mac address]
> >
> > I am wondering if any of you can share any ideas on how i can manage to
> run
> > these tests.
> >
> > I know there are working commands (iw ...) but those commands work
> directly
> > on 80211s mpath, and this is not what i want.
> >
> > Hope i made myself clear, thanks in advance for your time.
> >
> >
> >
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at lists.open80211s.org
> > http://open80211s.com/mailman/listinfo/devel
> >
> >
>
>
>
> --
> Javier Cardona
> cozybit Inc.
> _______________________________________________
> Devel mailing list
> Devel at lists.open80211s.org
> http://open80211s.com/mailman/listinfo/devel
>



-- 
Francesco Cappuccio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://open80211s.com/pipermail/devel/attachments/20090228/d6333bd5/attachment.html 


More information about the Devel mailing list