Okay, so I'm putting aside my concerns about running batman side-by-side with something else. The WBMv3 script looks like a pretty good guide to that. I'm having more basic problems right now.
I don't seem to understand how to set up the gateway.
I'm using bmx6 right now (is that on-topic for this list? I assume the same things apply to batmand).
I started the node that has the gateway (node1) with: bmxd -g 5mbit/1024kbit dev=wlan0
and the one without the gateway (node2) with: bmxd -r 3 dev=wlan0
node2 is aware of node1's gateway, as evidenced by bmxd -c -d 2:
Originator bestNextHop # preferred gateway: 0.0.0.0 => 10.0.1.1 10.0.1.1 94, gw_class 49 - 4MBit/1024KBit, reliability: 0, supported tunnel types 2WT, 1WT
but I am unable to ping out to the internet from node2.
Is this a firewall problem? What should I be doing differently with the firewall? I think I have node1's firewall forwarding (and masquerading) from the tunnel interface to my lan interface (where the gateway is plugged in). batmand documentation refers to the tunnel interface as gate0, but bmxd calls this interface bat0.
I attached my /etc/config/firewall.
Also, here is a little snippet from iftop -i bat0 run on node1 while node2 was trying to ping 141.1.1.1. It shows that the pings make it as far as node1, but don't make it out. That's why I'm thinking firewall.
169.254.0.0 => 169.254.0.132 896b 896b 896b <= 0b 0b 0b 169.254.0.132 => cns1.cw.net 672b 672b 672b <= 0b 0b 0b
Is there some other step I'm supposed to do? bridging the tunnel interface with my lan interface? (I doubt it).
Thanks. --Ryan
On Monday 11 April 2011 17:35:29 Ryan Hughes wrote:
I don't seem to understand how to set up the gateway.
I'm using bmx6 right now (is that on-topic for this list? I assume the same things apply to batmand).
The bmx project has its own website / resources: http://www.bmx6.net Axel (its developer) tends to not read this list.
Regards, Marek
b.a.t.m.a.n@lists.open-mesh.org