<div dir="ltr"><div><div>I'll try to explain with my words, ping the address must be a reachable address outside the network, preferably the Internet, a known site or dns, it ensures that the node has internet, HNA understand to be the network where the olsr will flood with your posts, this would be the network where the working olsr. If you are traveling to pull my ear, (laughs).<br>
<br></div>Att.<br></div>Anderson Junior<br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-08 16:20 GMT-04:00 Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you sure you understand what the ping address and the HNA prefix is about?<br>
<br>
Henning Rogge<br>
<br>
On Tue, Apr 8, 2014 at 10:14 PM, ANDERSON JUNIOR GADO DA SILVA<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:andersonscinfo@gmail.com">andersonscinfo@gmail.com</a>> wrote:<br>
> hello, actually did so because it was like I saw in the readme file of the<br>
> plugin, but I'll change for <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> 0.0.0.0 / 0 right now to see if it<br>
> will make a difference, then come back here to post the result of the change<br>
><br>
> Att<br>
> Anderson Junior<br>
><br>
><br>
> 2014-04-08 15:40 GMT-04:00 Teco Boot <<a href="mailto:teco@inf-net.nl">teco@inf-net.nl</a>>:<br>
><br>
>> Why is <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> HNA *and* the MANET subnet?<br>
>><br>
>> Why not use dyn_gw with <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>, to be advertised with HNA if (<br>
>> <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> is present in routing table ) and ( ping to host via <a href="http://0.0.0.0/24" target="_blank">0.0.0.0/24</a> is<br>
>> reachable) ?<br>
>><br>
>> Teco<br>
>><br>
>> Op 8 apr. 2014, om 18:07 heeft ANDERSON JUNIOR GADO DA SILVA<br>
>> <<a href="mailto:andersonscinfo@gmail.com">andersonscinfo@gmail.com</a>> het volgende geschreven:<br>
>><br>
>> > hello, I will show the outputs of the commands of the 3 nodes before and<br>
>> > after cutting off the internet from one of the gw below:<br>
>> ><br>
>> > before<br>
>> ><br>
>> > Node 1 gw:<br>
>> > echo '/all' | nc localhost 2006<br>
>> > HTTP/1.0 200 OK<br>
>> > Content-type: text/plain<br>
>> ><br>
>> > Table: Links<br>
>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.6 0.00 1.000 1.000 1.000<br>
>> > 10.5.0.5 10.5.0.4 0.00 1.000 1.000 1.000<br>
>> ><br>
>> > Table: Neighbors<br>
>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
>> > 10.5.0.4 YES NO NO 3 1<br>
>> > 10.5.0.6 YES NO NO 3 1<br>
>> ><br>
>> > Table: Topology<br>
>> > Dest. IP Last hop IP LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.4 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.4 0.831 1.000 1.202<br>
>> > 10.5.0.4 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.4 10.5.0.6 1.000 0.831 1.202<br>
>> > 10.5.0.5 10.5.0.6 1.000 1.000 1.000<br>
>> ><br>
>> > Table: HNA<br>
>> > Destination Gateway<br>
>> > <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> 10.5.0.5<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.5<br>
>> ><br>
>> > Table: MID<br>
>> > IP address Aliases<br>
>> ><br>
>> > Table: Routes<br>
>> > Destination Gateway IP Metric ETX Interface<br>
>> > <a href="http://10.5.0.4/32" target="_blank">10.5.0.4/32</a> 10.5.0.4 1 1.000 wlan0<br>
>> > <a href="http://10.5.0.6/32" target="_blank">10.5.0.6/32</a> 10.5.0.6 1 1.000 wlan0<br>
>> ><br>
>> > ======================================<br>
>> > route<br>
>> > Kernel IP routing table<br>
>> > Destination Gateway Genmask Flags Metric Ref Use<br>
>> > Iface<br>
>> > default 172.16.0.1 0.0.0.0 UG 0 0 0<br>
>> > eth1<br>
>> > 10.5.0.0 * 255.255.0.0 U 0 0 0<br>
>> > wlan0<br>
>> > 10.5.0.4 10.5.0.4 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.6 10.5.0.6 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 172.16.0.0 * 255.255.255.0 U 0 0 0<br>
>> > eth1<br>
>> ><br>
>> > Node 2 gw:<br>
>> > echo '/all' | nc localhost 2006<br>
>> > HTTP/1.0 200 OK<br>
>> > Content-type: text/plain<br>
>> ><br>
>> > Table: Links<br>
>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>
>> > 10.5.0.6 10.5.0.5 0.00 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.4 0.00 1.000 0.713 1.400<br>
>> ><br>
>> > Table: Neighbors<br>
>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
>> > 10.5.0.4 YES NO NO 3 1<br>
>> > 10.5.0.5 YES NO NO 3 1<br>
>> ><br>
>> > Table: Topology<br>
>> > Dest. IP Last hop IP LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.4 0.940 1.000 1.063<br>
>> > 10.5.0.6 10.5.0.4 0.713 1.000 1.400<br>
>> > 10.5.0.4 10.5.0.5 1.000 0.886 1.128<br>
>> > 10.5.0.6 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.4 10.5.0.6 1.000 0.713 1.400<br>
>> > 10.5.0.5 10.5.0.6 1.000 1.000 1.000<br>
>> ><br>
>> > Table: HNA<br>
>> > Destination Gateway<br>
>> > <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> 10.5.0.6<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.6<br>
>> ><br>
>> > Table: MID<br>
>> > IP address Aliases<br>
>> ><br>
>> > Table: Routes<br>
>> > Destination Gateway IP Metric ETX Interface<br>
>> > <a href="http://10.5.0.4/32" target="_blank">10.5.0.4/32</a> 10.5.0.4 1 1.400 wlan0<br>
>> > <a href="http://10.5.0.5/32" target="_blank">10.5.0.5/32</a> 10.5.0.5 1 1.000 wlan0<br>
>> ><br>
>> > ===============================================<br>
>> > route<br>
>> > Kernel IP routing table<br>
>> > Destination Gateway Genmask Flags Metric Ref Use<br>
>> > Iface<br>
>> > default 172.16.0.1 0.0.0.0 UG 0 0 0<br>
>> > eth1<br>
>> > 10.5.0.0 * 255.255.0.0 U 0 0 0<br>
>> > wlan0<br>
>> > 10.5.0.4 10.5.0.4 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.5 10.5.0.5 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 172.16.0.0 * 255.255.255.0 U 0 0 0<br>
>> > eth1<br>
>> ><br>
>> ><br>
>> > 3 client node:<br>
>> > echo '/all' | nc localhost 2006<br>
>> > HTTP/1.0 200 OK<br>
>> > Content-type: text/plain<br>
>> ><br>
>> > Table: Links<br>
>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>
>> > 10.5.0.4 10.5.0.6 0.00 0.761 1.000 1.313<br>
>> > 10.5.0.4 10.5.0.5 0.00 1.000 1.000 1.000<br>
>> ><br>
>> > Table: Neighbors<br>
>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
>> > 10.5.0.5 YES NO NO 3 1<br>
>> > 10.5.0.6 YES NO NO 3 1<br>
>> ><br>
>> > Table: Topology<br>
>> > Dest. IP Last hop IP LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.4 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.4 0.761 1.000 1.313<br>
>> > 10.5.0.4 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.4 10.5.0.6 1.000 0.643 1.555<br>
>> > 10.5.0.5 10.5.0.6 1.000 1.000 1.000<br>
>> ><br>
>> > Table: HNA<br>
>> > Destination Gateway<br>
>> > <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> 10.5.0.4<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.5<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.6<br>
>> ><br>
>> > Table: MID<br>
>> > IP address Aliases<br>
>> ><br>
>> > Table: Routes<br>
>> > Destination Gateway IP Metric ETX Interface<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.5 1 1.000 wlan0<br>
>> > <a href="http://10.5.0.5/32" target="_blank">10.5.0.5/32</a> 10.5.0.5 1 1.000 wlan0<br>
>> > <a href="http://10.5.0.6/32" target="_blank">10.5.0.6/32</a> 10.5.0.6 1 1.313 wlan0<br>
>> ><br>
>> > ==========================================<br>
>> > route<br>
>> > Kernel IP routing table<br>
>> > Destination Gateway Genmask Flags Metric Ref Use<br>
>> > Iface<br>
>> > default 10.5.0.5 0.0.0.0 UG 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.0 * 255.255.0.0 U 0 0 0<br>
>> > wlan0<br>
>> > 10.5.0.5 10.5.0.5 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.6 10.5.0.6 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 192.168.1.0 * 255.255.255.0 U 0 0 0<br>
>> > eth0<br>
>> ><br>
>> > after disconnecting the internet from node 1 gw<br>
>> ><br>
>> > Node 1 gw:<br>
>> > echo '/all' | nc localhost 2006<br>
>> > HTTP/1.0 200 OK<br>
>> > Content-type: text/plain<br>
>> ><br>
>> > Table: Links<br>
>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.6 0.00 1.000 1.000 1.000<br>
>> > 10.5.0.5 10.5.0.4 0.00 1.000 1.000 1.000<br>
>> ><br>
>> > Table: Neighbors<br>
>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
>> > 10.5.0.4 YES NO NO 3 1<br>
>> > 10.5.0.6 YES NO NO 3 1<br>
>> ><br>
>> > Table: Topology<br>
>> > Dest. IP Last hop IP LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.4 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.4 0.721 1.000 1.386<br>
>> > 10.5.0.4 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.4 10.5.0.6 1.000 0.721 1.386<br>
>> > 10.5.0.5 10.5.0.6 1.000 1.000 1.000<br>
>> ><br>
>> > Table: HNA<br>
>> > Destination Gateway<br>
>> > <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> 10.5.0.5<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.6<br>
>> ><br>
>> > Table: MID<br>
>> > IP address Aliases<br>
>> ><br>
>> > Table: Routes<br>
>> > Destination Gateway IP Metric ETX Interface<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.6 1 1.000 wlan0<br>
>> > <a href="http://10.5.0.4/32" target="_blank">10.5.0.4/32</a> 10.5.0.4 1 1.000 wlan0<br>
>> > <a href="http://10.5.0.6/32" target="_blank">10.5.0.6/32</a> 10.5.0.6 1 1.000 wlan0<br>
>> ><br>
>> > ==============================================<br>
>> > route<br>
>> > Kernel IP routing table<br>
>> > Destination Gateway Genmask Flags Metric Ref Use<br>
>> > Iface<br>
>> > default 172.16.0.1 0.0.0.0 UG 0 0 0<br>
>> > eth1<br>
>> > default 10.5.0.6 0.0.0.0 UG 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.0 * 255.255.0.0 U 0 0 0<br>
>> > wlan0<br>
>> > 10.5.0.4 10.5.0.4 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.6 10.5.0.6 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 172.16.0.0 * 255.255.255.0 U 0 0 0<br>
>> > eth1<br>
>> ><br>
>> > Node 2 gw:<br>
>> > echo '/all' | nc localhost 2006<br>
>> > HTTP/1.0 200 OK<br>
>> > Content-type: text/plain<br>
>> ><br>
>> > Table: Links<br>
>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>
>> > 10.5.0.6 10.5.0.5 0.00 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.4 0.00 1.000 0.732 1.363<br>
>> ><br>
>> > Table: Neighbors<br>
>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
>> > 10.5.0.4 YES NO NO 3 1<br>
>> > 10.5.0.5 YES NO NO 3 1<br>
>> ><br>
>> > Table: Topology<br>
>> > Dest. IP Last hop IP LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.4 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.4 0.732 1.000 1.363<br>
>> > 10.5.0.4 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.4 10.5.0.6 1.000 0.732 1.363<br>
>> > 10.5.0.5 10.5.0.6 1.000 1.000 1.000<br>
>> ><br>
>> > Table: HNA<br>
>> > Destination Gateway<br>
>> > <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> 10.5.0.6<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.6<br>
>> ><br>
>> > Table: MID<br>
>> > IP address Aliases<br>
>> ><br>
>> > Table: Routes<br>
>> > Destination Gateway IP Metric ETX Interface<br>
>> > <a href="http://10.5.0.4/32" target="_blank">10.5.0.4/32</a> 10.5.0.4 1 1.363 wlan0<br>
>> > <a href="http://10.5.0.5/32" target="_blank">10.5.0.5/32</a> 10.5.0.5 1 1.000 wlan0<br>
>> ><br>
>> > ======================================================<br>
>> > route<br>
>> > Kernel IP routing table<br>
>> > Destination Gateway Genmask Flags Metric Ref Use<br>
>> > Iface<br>
>> > default 172.16.0.1 0.0.0.0 UG 0 0 0<br>
>> > eth1<br>
>> > 10.5.0.0 * 255.255.0.0 U 0 0 0<br>
>> > wlan0<br>
>> > 10.5.0.4 10.5.0.4 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.5 10.5.0.5 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 172.16.0.0 * 255.255.255.0 U 0 0 0<br>
>> > eth1<br>
>> ><br>
>> > 3 client node:<br>
>> > echo '/all' | nc localhost 2006<br>
>> > HTTP/1.0 200 OK<br>
>> > Content-type: text/plain<br>
>> ><br>
>> > Table: Links<br>
>> > Local IP Remote IP Hyst. LQ NLQ Cost<br>
>> > 10.5.0.4 10.5.0.6 0.00 0.831 1.000 1.202<br>
>> > 10.5.0.4 10.5.0.5 0.00 1.000 1.000 1.000<br>
>> ><br>
>> > Table: Neighbors<br>
>> > IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
>> > 10.5.0.5 YES NO NO 3 1<br>
>> > 10.5.0.6 YES NO NO 3 1<br>
>> ><br>
>> > Table: Topology<br>
>> > Dest. IP Last hop IP LQ NLQ Cost<br>
>> > 10.5.0.5 10.5.0.4 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.4 0.831 1.000 1.202<br>
>> > 10.5.0.4 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.6 10.5.0.5 1.000 1.000 1.000<br>
>> > 10.5.0.4 10.5.0.6 1.000 0.831 1.202<br>
>> > 10.5.0.5 10.5.0.6 1.000 1.000 1.000<br>
>> ><br>
>> > Table: HNA<br>
>> > Destination Gateway<br>
>> > <a href="http://10.5.0.0/16" target="_blank">10.5.0.0/16</a> 10.5.0.4<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.5<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.6<br>
>> ><br>
>> > Table: MID<br>
>> > IP address Aliases<br>
>> ><br>
>> > Table: Routes<br>
>> > Destination Gateway IP Metric ETX Interface<br>
>> > <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> 10.5.0.5 1 1.000 wlan0<br>
>> > <a href="http://10.5.0.5/32" target="_blank">10.5.0.5/32</a> 10.5.0.5 1 1.000 wlan0<br>
>> > <a href="http://10.5.0.6/32" target="_blank">10.5.0.6/32</a> 10.5.0.6 1 1.202 wlan0<br>
>> ><br>
>> > ===============================================<br>
>> > route<br>
>> > Kernel IP routing table<br>
>> > Destination Gateway Genmask Flags Metric Ref Use<br>
>> > Iface<br>
>> > default 10.5.0.5 0.0.0.0 UG 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.0 * 255.255.0.0 U 0 0 0<br>
>> > wlan0<br>
>> > 10.5.0.5 10.5.0.5 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 10.5.0.6 10.5.0.6 255.255.255.255 UGH 2 0 0<br>
>> > wlan0<br>
>> > 192.168.1.0 * 255.255.255.0 U 0 0 0<br>
>> > eth0<br>
>> ><br>
>> > end<br>
>> ><br>
>> > at node 1 gw, may notice that it added the new default "default 10.5.0.6<br>
>> > 0.0.0.0 UG 2 0 0 wlan0" route but both the client node 2 when node 1 gw are<br>
>> > without internet connection, I do not know why he did not remove the first<br>
>> > route that is not more being achieved. Maybe it's because the wan node 1 gw<br>
>> > this set of static and not in dhcp mode.<br>
>> ><br>
>> > Att<br>
>> > Anderson Junior<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > 2014-04-08 5:32 GMT-04:00 Henning Rogge <<a href="mailto:hrogge@gmail.com">hrogge@gmail.com</a>>:<br>
>> > On Tue, Apr 8, 2014 at 3:53 AM, ANDERSON JUNIOR GADO DA SILVA<br>
>> > <<a href="mailto:andersonscinfo@gmail.com">andersonscinfo@gmail.com</a>> wrote:<br>
>> > Hi, I spent the weekend and all day today trying to understand where<br>
>> > this my mistake, but so far no concegui find, I'll try clearly explain my<br>
>> > test environment, reduce to 3 the number of routers, let's go:<br>
>> ><br>
>> > Node 1 gw<br>
>> > Node 2 gw<br>
>> > 3 client node<br>
>> ><br>
>> > the 2 nodes that are gw, I configured the wan interfaces with fixed ip,<br>
>> > catching internet switch, all routers are close, the node 3 cable I have<br>
>> > connected my computer to test the internet, so I'll call the 3 routers, logo<br>
>> > node 3 chooses a wheel, sometimes the node 1 node 2 times.<br>
>> ><br>
>> > everything working fine I will do some testing, I see that this pointed<br>
>> > to the the route to node 1, then it will switch and lock the internet from<br>
>> > node 1 to see if the node 3 will change the route to node 2 that still has<br>
>> > internet but this does not happen, then I see this as the routing table and<br>
>> > it has not changed, still pointing to node 1, only works if I restart olsr<br>
>> > (/ etc / init.d / olsrd restart), when I do that it points to route to node<br>
>> > 2, I wonder if I have to make a script and put it in cron will clear this<br>
>> > route table from time to time, or how to make it update routes when a change<br>
>> > occurs in the topology below follows like this now my olsr.conf<br>
>> ><br>
>> > You should see the HNA (Host and Network Association) of node one<br>
>> > vanishing (you can check with the txtinfo output on node 3).<br>
>> ><br>
>> > If it does not vanish your usage/configuration of the dyn_gw plugin<br>
>> > doesn't work, which makes olsr not to detect your internet loss.<br>
>> ><br>
>> > Henning Rogge<br>
>> ><br>
>> ><br>
>> > --<br>
>> > Olsr-users mailing list<br>
>> > <a href="mailto:Olsr-users@lists.olsr.org">Olsr-users@lists.olsr.org</a><br>
>> > <a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a><br>
>><br>
><br>
</div></div></blockquote></div><br><br></div></div>