On 01/21/2010 06:12 AM, "Juha Ylönen" wrote:
[snip]
> ---IN ARM DEVICE---
> ##> route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 10.0.1.0        *               255.255.255.0   U     0      0        0 eth1
> 10.0.0.0        *               255.0.0.0       U     0      0        0 bat0
> 224.0.0.0       *               240.0.0.0       U     0      0        0 eth1
[snip]


In the laptop you have:

> y...@ylo-laptop:~$ route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 10.0.1.0        *               255.255.255.0   U     0      0        0 wlan0
> 10.10.10.0      *               255.255.255.0   U     0      0        0 eth0
> link-local      *               255.255.0.0     U     1000   0        0 eth0
> 10.0.0.0        *               255.0.0.0       U     0      0        0 bat0
> default         10.10.10.1      0.0.0.0         UG    100    0        0 eth0

Your routes are all messed up. You have class C addresses subsumed
inside class A address space, which causes undefined behavior.

Give your routes different address spaces, something like one in the
192.168.xx.xx, another 172.16.xx.xx, and the 10.xx.xx.xx so the routes
can be sorted out properly.

Also, why does the laptop wlan0 have an IP address? If it is part of the
mesh through bat0 it should not have an IP address, only add it as an
interface to bat0.

Gus

Reply via email to