Hi Francesco,

2009/2/27 Francesco <[email protected]>:
> 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.

Destroying plinks will have the effect that you want.  New paths will be created
in the mesh.

Cheers,

Javier

> 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 <[email protected]> wrote:
>>
>> Francesco,
>>
>> 2009/2/27 Francesco <[email protected]>:
>> > 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
>> > [email protected]
>> > http://open80211s.com/mailman/listinfo/devel
>> >
>> >
>>
>>
>>
>> --
>> Javier Cardona
>> cozybit Inc.
>> _______________________________________________
>> Devel mailing list
>> [email protected]
>> http://open80211s.com/mailman/listinfo/devel
>
>
>
> --
> Francesco Cappuccio
>
>
> _______________________________________________
> Devel mailing list
> [email protected]
> http://open80211s.com/mailman/listinfo/devel
>
>



-- 
Javier Cardona
cozybit Inc.
_______________________________________________
Devel mailing list
[email protected]
http://open80211s.com/mailman/listinfo/devel

Reply via email to