[Olsr-users] OLSR between different networks

Breno Silva (spam-protected)
Fri May 10 15:10:09 CEST 2013


All computer has one ethernet interface with the Radio and the Radio will
comunicate each other with another Wireless interface.

So a node for me is a group of computer+radio


On Fri, May 10, 2013 at 10:07 AM, Henning Rogge <(spam-protected)>wrote:

> How many wireless interfaces does computer 2 have? One or two?
>
> Henning
>
> On Fri, May 10, 2013 at 3:05 PM, Breno Silva <(spam-protected)>
> wrote:
> > Right so let's suppose we have this env
> >
> > computer1  <->  computer2 <->  computer3
> >
> > - Computer1 sends hello msgs to Computer2
> > - Computer2 sends hello msgs to Computer1 and Computer3
> > - Computer3 send hello msgs to Computer2
> >
> > I suppose all nodes will know theirs neighbors. This is not true ?
> >
> > Thanks
> >
> >
> > On Fri, May 10, 2013 at 9:57 AM, Henning Rogge <(spam-protected)>
> > wrote:
> >>
> >> That would only work if you have exactly two nodes on an interface,
> >> the local one and the "other one". In this case you could set the
> >> broadcast address to the unicast address.
> >>
> >> With more nodes it would not work, because the routing protocol learns
> >> about the neighbors by listening to the multicast/broadcast packets.
> >>
> >> Henning
> >>
> >> On Fri, May 10, 2013 at 2:54 PM, Breno Silva <(spam-protected)>
> >> wrote:
> >> > i mean If(dst_addr == broadcast)
> >> >
> >> > thanks
> >> >
> >> >
> >> > On Fri, May 10, 2013 at 9:51 AM, Breno Silva <(spam-protected)>
> >> > wrote:
> >> >>
> >> >> Hello guys,
> >> >>
> >> >> There is a limitation. Looks like the Radio does not work with
> >> >> broadcast
> >> >> address. So maybe i can change the function olsr_sento() function to
> >> >> detect
> >> >> when the destination addr is broadcast and change it to the unicast
> >> >> addrs:
> >> >>
> >> >> If(src_addr == broadcast)
> >> >>    for(all unicasts)
> >> >>      sendto(unicast[i])
> >> >> endif
> >> >>
> >> >> Do you think this hack will work ?
> >> >>
> >> >> Thanks
> >> >>
> >> >> Breno
> >> >>
> >> >>
> >> >> On Thu, May 9, 2013 at 12:26 PM, Breno Silva <(spam-protected)>
> >> >> wrote:
> >> >>>
> >> >>> Thanks Henning,
> >> >>>
> >> >>> I will be able to test it soon. Then i can give a feedback.
> >> >>>
> >> >>> Breno
> >> >>>
> >> >>>
> >> >>> On Thu, May 9, 2013 at 9:32 AM, Henning Rogge <
> (spam-protected)>
> >> >>> wrote:
> >> >>>>
> >> >>>> As long as you do not reuse the same address, OLSR will work.
> >> >>>>
> >> >>>> It will set up a host-route (a /32 route) to each of the mesh
> nodes,
> >> >>>> which means the different networks do not really matter for OLSR.
> >> >>>>
> >> >>>> Henning Rogge
> >> >>>>
> >> >>>> On Thu, May 9, 2013 at 2:21 PM, Breno Silva <(spam-protected)
> >
> >> >>>> wrote:
> >> >>>> > Hello,
> >> >>>> >
> >> >>>> > I would like to setup OLSR between some computers, however each
> >> >>>> > computer is
> >> >>>> > connected in a Radio (ethernet interface) and they transmit data
> to
> >> >>>> > each
> >> >>>> > other using a wireless radio interface.
> >> >>>> >
> >> >>>> > The radio is Half-Duplex and i already com send IP/UDP data to
> each
> >> >>>> > other.
> >> >>>> > This is a common flow to send/recv data
> >> >>>> >
> >> >>>> > COMPUTER1 (10.1.1.2)  <-> (10.1.1.1) RADIO1 ( 192.168.0.1)
> >> >>>> > <------------------>              (192.168.0.2) RADIO2 (10.1.2.1)
> >> >>>> > <->
> >> >>>> > COMPUTER2 (10.1.2.2).
> >> >>>> >
> >> >>>> > So each computer is a member of different network. I would like
> to
> >> >>>> > know if
> >> >>>> > the OLSRD will work with this environment.
> >> >>>> >
> >> >>>> > Thanks
> >> >>>> >
> >> >>>> > Breno
> >> >>>> >
> >> >>>> > --
> >> >>>> > Olsr-users mailing list
> >> >>>> > (spam-protected)
> >> >>>> > https://lists.olsr.org/mailman/listinfo/olsr-users
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> --
> >> >>>> We began as wanderers, and we are wanderers still. We have lingured
> >> >>>> long enough on the shores of the cosmic ocean. We are ready at last
> >> >>>> to
> >> >>>> set sail for the stars - Carl Sagan
> >> >>>
> >> >>>
> >> >>
> >> >
> >>
> >>
> >>
> >> --
> >> We began as wanderers, and we are wanderers still. We have lingured
> >> long enough on the shores of the cosmic ocean. We are ready at last to
> >> set sail for the stars - Carl Sagan
> >
> >
>
>
>
> --
> We began as wanderers, and we are wanderers still. We have lingured
> long enough on the shores of the cosmic ocean. We are ready at last to
> set sail for the stars - Carl Sagan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20130510/5147a021/attachment.html>


More information about the Olsr-users mailing list