[Olsr-users] OLSR between different networks

Breno Silva (spam-protected)
Fri May 10 14:51:32 CEST 2013


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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20130510/29844a39/attachment.html>


More information about the Olsr-users mailing list