[Olsr-users] OLSR between different networks
Henning Rogge
(spam-protected)
Fri May 10 14:57:07 CEST 2013
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
More information about the Olsr-users
mailing list