[Olsr-users] Where am I going wrong in the settings.

ANDERSON JUNIOR GADO DA SILVA (spam-protected)
Fri Apr 11 02:24:23 CEST 2014


hi, I HAVE the tcpdump below output of the commands you asked me:

tcpdump -ni eth1 icmp and host 8.8.8.8
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
00:11:38.171525 IP 172.16.0.3 > 8.8.8.8: ICMP echo request, id 1858, seq 0,
length 64
00:11:38.826194 IP 8.8.8.8 > 172.16.0.3: ICMP echo reply, id 1858, seq 0,
length 64
00:11:43.840599 IP 172.16.0.3 > 8.8.8.8: ICMP echo request, id 1872, seq 0,
length 64
00:11:44.644610 IP 8.8.8.8 > 172.16.0.3: ICMP echo reply, id 1872, seq 0,
length 64
00:11:49.659004 IP 172.16.0.3 > 8.8.8.8: ICMP echo request, id 1884, seq 0,
length 64
00:11:49.954502 IP 8.8.8.8 > 172.16.0.3: ICMP echo reply, id 1884, seq 0,
length 64
00:11:54.970072 IP 172.16.0.3 > 8.8.8.8: ICMP echo request, id 1898, seq 0,
length 64
00:11:55.506449 IP 8.8.8.8 > 172.16.0.3: ICMP echo reply, id 1898, seq 0,
length 64
00:12:00.523495 IP 172.16.0.3 > 8.8.8.8: ICMP echo request, id 1910, seq 0,
length 64
00:12:00.893792 IP 8.8.8.8 > 172.16.0.3: ICMP echo reply, id 1910, seq 0,
length 64
^C
10 packets captured
10 packets received by filter
0 packets dropped by kernel


echo "/hna" | nc 127.0.0.1 2006
HTTP/1.0 200 OK
Content-type: text/plain

Table: HNA
Destination     Gateway
0.0.0.0/0       10.5.0.5

====================================================

tcpdump -ni eth1 icmp and host 11.8.8.8
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
00:15:32.739254 IP 172.16.0.3 > 11.8.8.8: ICMP echo request, id 2422, seq
0, length 64
00:15:47.754629 IP 172.16.0.3 > 11.8.8.8: ICMP echo request, id 2454, seq
0, length 64
00:16:02.769669 IP 172.16.0.3 > 11.8.8.8: ICMP echo request, id 2486, seq
0, length 64
^C
3 packets captured
3 packets received by filter
0 packets dropped by kernel

echo "/hna" | nc 127.0.0.1 2006
HTTP/1.0 200 OK
Content-type: text/plain

Table: HNA
Destination     Gateway



thank you for the efforts to help me

Att
Anderson Junior


2014-04-10 16:30 GMT-04:00 Teco Boot <(spam-protected)>:

> So we have two issues.
>
>
> 1. interface up and not running, static routes are still in routing table.
> I cannot help you here, I asked someone to assist.
> Henning?
>
>
> 2. dyn_gw with ping check doesn't work.
> Long ago I helped Caspar to repair this plugin. I tested, it worked. Let's
> see what we can do.
> I tested, below my results. It works.
> Please verify with same configuration and show your results.
> Do you have tcpdump?
>
>
> Teco
>
>
>
>
> LoadPlugin "olsrd_dyn_gw.so.0.5"
> {
>   PlParam "HNA"    "0.0.0.0 0.0.0.0"
>   PlParam "Ping"   "8.8.8.8"
> }
>
> Here the probing traffic:
>
> (spam-protected):~# tcpdump -ni eth1 icmp and host 8.8.8.8
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
> 20:17:50.718596 IP 192.168.222.180 > 8.8.8.8: ICMP echo request, id
> 26342, seq 1, length 64
> 20:17:50.898479 IP 8.8.8.8 > 192.168.222.180: ICMP echo reply, id 26342,
> seq 1, length 64
> 20:17:55.904213 IP 192.168.222.180 > 8.8.8.8: ICMP echo request, id
> 26426, seq 1, length 64
> 20:17:55.924200 IP 8.8.8.8 > 192.168.222.180: ICMP echo reply, id 26426,
> seq 1, length 64
> 20:18:00.927936 IP 192.168.222.180 > 8.8.8.8: ICMP echo request, id
> 26483, seq 1, length 64
> 20:18:00.945924 IP 8.8.8.8 > 192.168.222.180: ICMP echo reply, id 26483,
> seq 1, length 64
> ^C
> 6 packets captured
> 6 packets received by filter
> 0 packets dropped by kernel
> (spam-protected):~#
>
>
> And the HNA entry:
>
> (spam-protected):~# echo "/hna" | nc 127.0.0.1 2006
> HTTP/1.0 200 OK
> Content-type: text/plain
>
> Table: HNA
> Destination     Gateway
> 0.0.0.0/0       172.31.1.1
>
> (spam-protected):~#
>
>
>
> Now probe to host that is not on the internet.
>
>
> LoadPlugin "olsrd_dyn_gw.so.0.5"
> {
>   PlParam "HNA"                            "0.0.0.0 0.0.0.0"
>   PlParam "Ping" "11.8.8.8"
>
> }
>
>
> (spam-protected):~# tcpdump -ni eth1 icmp and host 11.8.8.8
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
> 20:24:54.291247 IP 192.168.222.180 > 11.8.8.8: ICMP echo request, id
> 32628, seq 1, length 64
> 20:25:09.296457 IP 192.168.222.180 > 11.8.8.8: ICMP echo request, id 347,
> seq 1, length 64
> 20:25:24.301667 IP 192.168.222.180 > 11.8.8.8: ICMP echo request, id 553,
> seq 1, length 64
> ^C
> 3 packets captured
> 4 packets received by filter
> 0 packets dropped by kernel
> (spam-protected):~#
>
>
> (spam-protected):~# echo "/hna" | nc 127.0.0.1 2006
> HTTP/1.0 200 OK
> Content-type: text/plain
>
> Table: HNA
> Destination     Gateway
>
> (spam-protected):~#
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20140410/b9a94ce9/attachment.html>


More information about the Olsr-users mailing list