[Olsr-users] Strange Ping Problem

Markus Kittenberger (spam-protected)
Fri May 20 14:33:06 CEST 2011


On Fri, May 20, 2011 at 1:46 PM, Sven Schindler <(spam-protected)>wrote:

> Hey guys,
>
> I'm really desperate and maybe you can help me with my strange (and I
> hope little) problem.:
>
> -> I have a nokia N810 running (192.168.2.11) and a Notebook
>  (192.168.2.10) in a ad-hoc network


> -> as soon as I start olsrd (i need to run version 0.5.6-r7) the
> notebook and the nokia device start sending hello messages and
> adapting their routes as expected
>
who/what forces you to do so?

(any fix we might do, or already did to you problem will require u too use a
never version,..)

>
> -> I have still no problems pinging the nokia from the notebook... but,
> I can't ping the notebook from the nokia anymore... except with a
> broadcast ping. Can anybody tell me what the reason for that problem
> is?

no, u have to find out yourself, as this is definetly nothing that usually
happens,..
or which has a single/simple reason,..


> The hello message exchange is still working fine... I guess that
> explains why a broadcast ping is possible.
>
hmm can u run tcpdump on your nokia?

>
> These are the computed routes on my notebook:
>
they look good,..

>
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.2.11    *               255.255.255.255 UH    2      0        0
> wlan0
> 192.168.2.0     *               255.255.255.0   U     0      0        0
> wlan0
>
>
> and here the routes of my nokia:
>
same here

>
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.2.10    *               255.255.255.255 UH    2      0        0
> wlan0
> 192.168.2.0     *               255.255.255.0   U     0      0        0
> wlan0
> 169.254.0.0     *               255.255.0.0     U     0      0        0
> wlan0
> 224.0.0.0       *               240.0.0.0       U     0      0        0
> wlan0
>
> The problem seems to be the first route of the nokia. As soon as I
> remove it the ping works again. But why? There is no difference to the
> Notebook routes and the notebook is still able to ping the nokia
> device.
>
the first route is the only route that olsrd creates, it might change the
source ip the nokia chooses, or other things,..

do you have smae problem if u do this instead of running olsrd

(should fail like olsrd's route)
ip route add 192.168.2.10 dev wlan0 metric 2

or alternatively (might work)
ip route add 192.168.2.10 via 192.168.2.10 dev wlan0 metric 2

if possible use tcpdump (it might be enough to use it on the notebook if not
possible on nokia) to find out what different icmp/arp packets the nokia
sends (if it still sends any) as soon as this route is there/gone

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20110520/610b31c5/attachment.html>


More information about the Olsr-users mailing list