David,

On Tue, Oct 18, 2011 at 1:52 PM, David Fulgham
<[email protected]> wrote:
> It would be great if there was a network test tool like ping for o11s.
> something like a "mping" (mesh ping)  or "tracepath" (traceroute for layer2)
> it could use a increasing mesh_ttl value as long as the last node would
> reply pack to the source when it drops a packet do to mesh_ttl being
> surpassed. this is how traceroute works at layer 3, it ICMP pings a host
> with a ttl of 0 to find the first hop, then a ttl of 1 to find the next,
> etc.   A mesh ping could do the same with a mesh_ttl watching for the mesh
> node to reply that it has dropped the packet at each increase of mesh_ttl.

At that layer we don't have the error report you get with ICMP.  At
some point we had a script that would do ssh into each intermediate
node and use iw to obtain the next hop. A bit cumbersome but worked.
There may be other ways to do this using monitor interfaces to monitor
mesh traffic.  With that approach we could detect incoming frames that
would be forwarded if the mesh ttl was >1 and send an ICMP-like error
report back. That would not require ssh credentials in intermediate
nodes, just a daemon that opens a monitor interface.

Maybe is worth tracking this as an opportunity in http://o11s.org/trac/report ?

> I would like to be able to get a reply from each node along a path, to test
> and determine exactly the path through the network from one node to another
> without having to log into each consecutive node manually and look at the
> mpath table.

As I said, not ideal, but you don't have to do this manually.
In fact, I just dusted off the script we used in the past and it still
works, with a bunch of caveats.
See here:  http://o11s.org/trac/wiki/tools/tracempath
Hope it helps.

Cheers,

Javier




> David Fulgham
> _______________________________________________
> Devel mailing list
> [email protected]
> http://open80211s.com/mailman/listinfo/devel
>
>



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

Reply via email to