[Olsr-users] Multi-hop OLSR

Ricardo T. Macedo (spam-protected)
Thu Oct 11 22:47:17 CEST 2012


Hi Song,

   Thanks for your help, but I would like to know how to enable the
multi-hop (just like in http://www.olsr.org/docs/report_html/node27.html).

Do you have any idea how I can enable this functionality?

Best regards,
Ricardo.

On Thu, Oct 11, 2012 at 5:28 PM, Song Gao <(spam-protected)> wrote:

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


More information about the Olsr-users mailing list