<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi Song,</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thank you for the suggestion. I will try to create a blocking with iptables, when I have the results I will communicate.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Best regards,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Ricardo.</div><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 6:07 PM, Song Gao <span dir="ltr"><<a href="mailto:song@gao.io" target="_blank">song@gao.io</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div style="font-family:Helvetica;font-size:13px">Hi Ricardo,<div><br></div><div>Multiple hops are done by OLSRd automatically. It might because all of your wireless devices are placed close to each other. If OLSRd sense they are reachable, it won't set up multiple hops.</div>
<div><br></div><div>You can either use iptables to block certain nodes based on mac address, or place your laptops far from each other. If, e.g., placed like this:</div><div>A ---- B ---- C</div><div>, where A and B can communicate, B and C can communicate, but A and C cannot hear from each other, then OLSRd will definitely set multi-hops for you.</div>
<div><br></div><div>You can use "ip route" to get the routing table, or use traceroute command to get hops on each node.</div></div><div class="im HOEnZb">
                <div><div><br></div><div>-- </div><div>Song Gao<br></div><div><a href="http://song.gao.io/" target="_blank">http://song.gao.io/</a></div><div><br></div></div>
                 
                </div><div class="HOEnZb"><div class="h5"><p style="color:#a0a0a8">On Thursday, October 11, 2012 at 3:47 PM, Ricardo T. Macedo wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div>Hi Song,<div><br></div><div>   Thanks for your help, but I would like to know how to enable the multi-hop (just like in <a href="http://www.olsr.org/docs/report_html/node27.html" target="_blank">http://www.olsr.org/docs/report_html/node27.html</a>).</div>

<div><br></div><div>Do you have any idea how I can enable this functionality?</div><div><br></div><div>Best regards,</div><div>Ricardo.</div><div><br><div>On Thu, Oct 11, 2012 at 5:28 PM, Song Gao <span dir="ltr"><<a href="mailto:song.gao.beta@gmail.com" target="_blank">song.gao.beta@gmail.com</a>></span> wrote:<br>
<blockquote type="cite"><div>It's possible to use block certain node at link layer by using<br>
iptables with --mac option. Check this page out:<br>
<a href="http://www.cyberciti.biz/tips/iptables-mac-address-filtering.html" target="_blank">http://www.cyberciti.biz/tips/iptables-mac-address-filtering.html</a><br>
<br>
By blocking certain nodes from one node based on mac address, OLSRd<br>
control messages are also blocked, as a result, OLSRd would consider<br>
the blocked nodes not reachable, and build multi-hop routing tables.<br>
<br>
Kind regards,<br>
<span><font color="#888888">--<br>
Song Gao<br>
<a href="http://song.gao.io/" target="_blank">http://song.gao.io/</a><br>
</font></span><div><div><br>
On Thu, Oct 11, 2012 at 3:09 PM, Ben West <<a href="mailto:me@benwest.name" target="_blank">me@benwest.name</a>> wrote:<br>
> How are the laptops actually building the connections w/ each other?  I.e.<br>
> over their wifi adapters, or over a wired LAN?<br>
><br>
> Also, how are you ensuring the route N1 -> N2 -> N3?  If the laptops are<br>
> meshing wirelessly, it may be difficult to ensure OLSR actually choses your<br>
> desired route, due to transient fluctuations in wifi signal quality.<br>
><br>
> If you are not already doing so, I would recommend using the LinkQualityMult<br>
> parameter on each node specify negative biases for the node(s) you do not<br>
> want to be that node's next hop.<br>
><br>
> On Thu, Oct 11, 2012 at 9:36 PM, Ricardo T. Macedo <<a href="mailto:rmacedo1987@gmail.com" target="_blank">rmacedo1987@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I've been working with OLSR protocol and I want to reproduce a scenario<br>
>> with multi-hops. I'm using iperf to generate traffic data packet in the<br>
>> network.<br>
>> In my tests, I'm using three notebooks with backtrack linux (backtrack 5<br>
>> R2). Every notebook (nodes), I labeled by N1, N2 or N3. N1 can communicate<br>
>> with N3 only through N2, in multiple hop way. Every node is running OLSR<br>
>> protocol. I try to run the iperf as a server in N1 ($ iperf -u -s -p 5000).<br>
>> In N3, I run the iperf as a client ($ iperf -u -c <IP_address_N1> -p 5000).<br>
>> In the node N3, I just run the OLSR protocol. In a single hop, I have no<br>
>> problem, but in multi-hop it doesn't work. OLSR is finding the multi-hop<br>
>> correctly, but when I try to send the data packet I get the "WARNING: did<br>
>> not receive ack of last datagram after 10 tries" error.<br>
>><br>
>> Does anyone have any idea about what could be wrong?<br>
>><br>
>> Thanks,<br>
>> Ricardo<br>
>><br>
>> --<br>
>> Olsr-users mailing list<br>
>> <a href="mailto:Olsr-users@lists.olsr.org" target="_blank">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>
> --<br>
> Ben West<br>
> <a href="mailto:me@benwest.name" target="_blank">me@benwest.name</a><br>
><br>
><br>
> --<br>
> Olsr-users mailing list<br>
> <a href="mailto:Olsr-users@lists.olsr.org" target="_blank">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>
</div></div></div></blockquote></div><br></div>
</div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            </div></div></blockquote></div><br>