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