Sorry, I figured this out myself. Changing the value of /sys/class/net/bat0/mesh/hop_penalty allows me to create artificially "desirable" nodes. So, I have set the hop_penalty as: A=10 B=1 C=5 D=10
________________________________________ From: b.a.t.m.a.n-bounces@lists.open-mesh.org [b.a.t.m.a.n-bounces@lists.open-mesh.org] On Behalf Of Bouterse, Robert [robert.bouterse@dmh-global.com] Sent: Wednesday, January 18, 2012 12:59 PM To: b.a.t.m.a.n@lists.open-mesh.org Subject: [B.A.T.M.A.N.] Manual route manipulation
Hi, I am new to the BATMAN list, and I need some help, I am running some feasibility tests on batman-adv for our use. I need to test how well it reroutes traffic when an intermediate node goes away. I need to set up a mesh in a diamond pattern, like:
|---->B<----| A<--{ }--->D |---->C<----|
Then find out if traffic is being routed through the B node, shutdown the B node, and see that the route "heals" to using node C instead.
I was able to do this on open80211s by using the "iw station set plink_action block" command to force the A node to never communicate directly with the D node, and wireshark to verify the communications.
Does anyone know of a way of doing these types of path manipulations with batman-adv? I didn't see anything in batctl that looked like it would work. Maybe there are /sys or /proc entries?
/*----------------------------------------*/ Bob Bouterse Senior Software Engineer Multimedia Development Center D&M Holdings Inc. http://www.dm-holdings.com