On Mon, Jan 26, 2009 at 1:41 PM, Marek Lindner lindner_marek@yahoo.de wrote:
On Tuesday 27 January 2009 01:34:16 Gargi Purohit wrote:
I hope other than setting the interface "ath0" in /proc/net/batman-advanced/interfaces - i dont need any other configuration changes.
Since I can batping between the two routers i guess the layer 2 connectivity is established between these guys - am just wondering if they should be able to forward requests like dhcp over multiple hop (1 hop and above)....
Yes, a working batping indicates that the connection between both modules is given. The DHCP request should be forwarded without problems. Your setup is misconfigured somewhere.
Could you please show the output of "brctl show br0" and "cat /proc/net/batman-adv/interfaces" on both nodes. You can check where the dhcp request dies by using tcpdump or batdump.
On node 1 (Which is wired) ---------------------------------------
root@open-mesh:~# brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.00180a0145b0 no bat0 ath1 ath2 eth0 root@open-mesh:~# cat /proc/net/batman-adv/interfaces ath0
root@open-mesh:~# cat /proc/net/batman-adv/originators Originator (#/255) Nexthop [outgoingIF]: Potential nexthops ... [B.A.T.M.A.N. Adv 0.1-beta rv1103, MainIF/MAC: ath0/00:18:0a:01:45:b0] 00:18:0a:01:44:d0 (255) 00:18:0a:01:44:d0 [ ath0]: 00:18:0a:01:44:d0 (255)
On node 2 (Which is connected wirelessly to node 1 - eth0 is down) -------------------------------------------------------------------------------------------------- root@open-mesh:/proc/net# brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.00ff678aa75f no ath1 bat0 ath2 root@open-mesh:/proc/net# cat /proc/net/batman-adv/interfaces ath0
root@open-mesh:/proc/net# cat /proc/net/batman-adv/originators Originator (#/255) Nexthop [outgoingIF]: Potential nexthops .. . [B.A.T.M.A.N. Adv 0.1-beta rv1103, MainIF/MAC: ath0/00:18:0a:01:44:d0] 00:18:0a:01:45:b0 (255) 00:18:0a:01:45:b0 [ ath0]: 00:18:0a:01:45:b0 (255)
root@open-mesh:/proc/net#
Regards, Marek
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n