maybe he meant the dyngw plugin,..<div><br></div><div>Markus<br><br><div class="gmail_quote">On Sat, Feb 11, 2012 at 9:37 AM, Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@googlemail.com">hrogge@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The switch "smartgateway on/off" should have nothing to do with a node<br>
publishing HNAs. In fact, smartgateway just reads the incoming HNAs<br>
and modify outgoing <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> HNAs, it doesn't create one on its own.<br>
<br>
I am not sure what you mean with "smart_gw" plugin... the<br>
Smart-Gateway code is part of the core, it is not in a plugin at all.<br>
Can you maybe post your olsrd.conf file so we can see how you<br>
configured your mesh?<br>
<br>
Henning Rogge<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Feb 10, 2012 at 23:08, Arjun <<a href="mailto:akarjun@gmail.com">akarjun@gmail.com</a>> wrote:<br>
> Hi Markus,<br>
> Thanks for your reply. I did try setting only the HNA4 values in the<br>
> olsrd.conf file on my gateway node. However, it did not result in any HNA<br>
> messages being sent out as part of the OLSR packets. I verified this by<br>
> peering into the OLSR packet through wireshark. Using the smart_gw plugin<br>
> resulted in the HNA messages showing up inside the OLSR packets.<br>
> I have to use the NAT iptables rule on Node C, because Node D (192.168.1.1)<br>
> can only talk to 192.168.1.2, which is IF2 on Node C. So packets originating<br>
> from the OLSR mesh must have their source ips masqueraded to 192.168.1.2.<br>
> Now that I think of it, maybe I can nose around inside the linux box on Node<br>
> D (which is actually a commercial toy) and see if I can open it up to<br>
> connect to ip addresses other than 192.168.1.2.<br>
> I think the problems I have are most likely due to mobility, because the toy<br>
> moves reasonably fast, and leaky UDP streams. I will shorten the Hello/TC<br>
> intervals and see if that helps. Do let me know if any other suggestion<br>
> comes to mind.<br>
> Thanks again!<br>
> Arjun.<br>
><br>
><br>
> On Fri, Feb 10, 2012 at 2:46 PM, Markus Kittenberger<br>
> <<a href="mailto:Markus.Kittenberger@gmx.at">Markus.Kittenberger@gmx.at</a>> wrote:<br>
>><br>
>> afair smart-gateway does not do anything useful for your setup,.<br>
>> as its only for hna announcements of <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> (and useful only if u have<br>
>> multiple nodes announcing this)<br>
>><br>
>> anyways to simplify things, do not use smartgateway, hna alone is enough!<br>
>><br>
>> and if possible (to simplify more) also remove the NAT in your testcase,<br>
>> use a static route on your target towards the mesh inestead,..<br>
>><br>
>> or just try (and verify the amount of packetloss of) an udp stream to node<br>
>> C, and not the node behind C,.. (so you can leave away the hna too)<br>
>><br>
>> if this simplified setup works, you have issues with nat/hna,..<br>
>> if not, you have problems with mobility (which usually can causes "some"<br>
>> packetloss, and maybe just too much for your udp stream)<br>
>><br>
>> On Fri, Feb 10, 2012 at 7:07 PM, Arjun <<a href="mailto:akarjun@gmail.com">akarjun@gmail.com</a>> wrote:<br>
>>><br>
>>> However, when I move node B out of range from the gw, i.e. node C, so<br>
>>> that it is 2 hops away, which I confirmed from debug output from the txtinfo<br>
>>> plugin, it is not able maintain connectivity (tcp and udp streams) with node<br>
>>> D<br>
>><br>
>> and is it able to maintain conenctivtiy with C?<br>
>> or atleast with A?<br>
>>><br>
>>> and my application on node B breaks down. Are there any settings I am<br>
>>> forgetting,<br>
>><br>
>> if (and only if) u are moving out of range fast, u might need shorter<br>
>> hello/tc intervals,..<br>
>>><br>
>>> or is it that UDP data over OLSR is not a good idea.<br>
>><br>
>> as long as u do not expect no packetloss, udp works fine,..<br>
>><br>
>><br>
>> Markus<br>
>><br>
><br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<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>
<br>
--<br>
"Wo kämen wir hin, wenn alle sagten, wo kämem wir hin, und niemand<br>
ginge, um einmal zu schauen, wohin man käme, wenn man ginge." (Kurt<br>
Marti)<br>
</font></span></blockquote></div><br></div>