[Olsr-dev] olsrd + bmf plugin

Vincent Nuttin (spam-protected)
Wed Mar 16 10:26:22 CET 2011


Hello :-)

No. The ping did not work.

(spam-protected) ~ # ping 224.0.0.1
PING 224.0.0.1 (224.0.0.1): 56 data bytes
^C
--- 224.0.0.1 ping statistics ---
45 packets transmitted, 0 packets received, 100% packet loss

The only way I found to make them work is to add these line :
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
(source : http://kerneltrap.org/node/16225)

Then, my ping is ok :

(spam-protected) ~ # ping 224.0.0.1
PING 224.0.0.1 (224.0.0.1): 56 data bytes
64 bytes from 10.0.0.3: seq=0 ttl=64 time=5.601 ms
64 bytes from 10.0.0.3: seq=1 ttl=64 time=1.900 ms
64 bytes from 10.0.0.1: seq=1 ttl=64 time=26.162 ms (DUP!)
64 bytes from 10.0.0.3: seq=2 ttl=64 time=1.728 ms
64 bytes from 10.0.0.3: seq=3 ttl=64 time=1.727 ms
64 bytes from 10.0.0.1: seq=3 ttl=64 time=36.413 ms (DUP!)
64 bytes from 10.0.0.3: seq=4 ttl=64 time=1.727 ms
64 bytes from 10.0.0.1: seq=4 ttl=64 time=16.251 ms (DUP!)
64 bytes from 10.0.0.3: seq=5 ttl=64 time=1.726 ms
64 bytes from 10.0.0.1: seq=5 ttl=64 time=36.783 ms (DUP!)
^C
--- 224.0.0.1 ping statistics ---
6 packets transmitted, 6 packets received, 4 duplicates, 0% packet loss
round-trip min/avg/max = 1.726/13.001/36.783 ms

Is it normal ?!? (It is not written in the doc of olsrd-bmf ... :-/)

Now, I will try with my UDP packets over my mesh network..
I will come back to you soon !

Thanks

2011/3/15 Erik Tromp <(spam-protected)>:
> Hi Vincent,
>
> Could you try to ping to 224.0.0.1 ? You should receive an answer from all
> your nodes, like this:
>
> (spam-protected):~# ping 224.0.0.1
> PING 224.0.0.1 (224.0.0.1) 56(84) bytes of data.
> 64 bytes from 192.168.151.50: icmp_seq=1 ttl=64 time=0.511 ms
> 64 bytes from 192.168.151.53: icmp_seq=1 ttl=64 time=4.67 ms (DUP!)
> 64 bytes from 192.168.151.55: icmp_seq=1 ttl=63 time=10.7 ms (DUP!)
> 64 bytes from 192.168.151.50: icmp_seq=2 ttl=64 time=0.076 ms
> 64 bytes from 192.168.151.53: icmp_seq=2 ttl=64 time=1.23 ms (DUP!)
> 64 bytes from 192.168.151.55: icmp_seq=2 ttl=63 time=1.23 ms (DUP!)
> . . .
>
> (your IP addresses will of course be different)
>
> Does that work? Could you send the output?
>
> --Erik
>
>
> -----Oorspronkelijk bericht-----
> Van: (spam-protected)
> [mailto:(spam-protected)] Namens Vincent Nuttin
> Verzonden: dinsdag 15 maart 2011 21:36
> Aan: (spam-protected)
> Onderwerp: [Olsr-dev] olsrd + bmf plugin
>
> Hi all !
>
> I'm running the version 0.6.0 of olsrd on multiple Neo FreeRunner...
> The "basics" of olsrd run fine; I mean, olsrd builds a network topology and
> so on. I can "ping" any device from all of them...
> everything is fine.
>
> Then, I want to use broadcast messages. I read in the documentation that the
> BMF plugin is fine for that. I installed it on my devices but, it does not
> forward anything... The best example is the one with three devices :
> "N1" can see "N2". "N2" can see "N3" but "N1" and "N3" have no direct route
> to each other (i.e they must use "N2" in the middle). When "N1"
> sends a broadcast UDP packet to 10.255.255.255, I want "N2" to receive it
> (this part is OK ;-) and I also want "N2" to forward it to "N3"...
>
> My olsrd.conf file is here :
> http://www.geosharing-project.org/files/public/olsrd.conf
>
> Do you have any idea ?
> Thanks a lot,
>
> Vincent
>
> --
> Olsr-dev mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-dev
>
>



-- 
Vincent Nuttin
+32 474 48 43 52




More information about the Olsr-dev mailing list