Hello Marek,
we used rev718 ... from yesterday evening ... and all facts you mentioned are right ... we disabled anything that enables batman to set or announce default routes ... thats why we completely don't understand whats happening there. and because the same things happens on a slackware/i386 node AND on an openWRT_post7.09/ixp4xx but not on an openWRT_pre7.06/i386 the failure is not likely to be in the operating system.
in the evening i'll post what you asked for ... atm i am not in reach of the equipment ...
greets dennis bartsch
From: lindner_marek@yahoo.de To: b.a.t.m.a.n@open-mesh.net Subject: Re: [B.A.T.M.A.N.] strange default routes Date: Mon, 15 Oct 2007 16:08:47 +0200
Hi,
root@OpenWrt:/etc/init.d# route -n Destination Gateway Genmask Flags Metric Ref Use Iface [...] 0.0.0.0 0.0.0.0 0.0.0.0 ! 0 0 0 * [...]
batmand has been started with the following parameters: /usr/sbin/batmand -g 0 -r 0 eth2
as Antonio said you disabled all internet traffic via batman. Furthermore, default routes created by batman are found in table 68 (use "ip route ls table 68" to see its content) but "route -n" shows you table 254.
root@OpenWrt:/etc/init.d# /usr/sbin/batmand -g 0 -r 0 eth2:0 -d 4 WARNING: You are using the unstable batman branch. If you are interested in [ 0] Error - can't add rule to 105.0.0.0/8: Invalid argument [ 0] Error - can't add rule to 105.0.0.0/8: Invalid argument Using interface eth2:0 with address 105.13.0.54 and broadcast address 105.255.255.255 B.A.T.M.A.N. 0.3-beta (compatibility version 4) [ 0] Error - can't add rule to 0.0.0.0/0: Invalid argument [ 10] Error - can't add rule to 0.0.0.0/0: Invalid argument
Here batman tries to set the policy routing rules and not routing table entries. It would be interesting to know the revision you use and could you please add the output of (while batmand is running) "ip rule".
Regards, Marek _______________________________________________ B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
_________________________________________________________________ Windows Live Writer Beta - Veröffentlichen Sie Multimediainhalte in Ihrem Blog! http://get.live.com/betas/writer_betas