<div dir="ltr">All computer has one ethernet interface with the Radio and the Radio will comunicate each other with another Wireless interface.<div><br></div><div style>So a node for me is a group of computer+radio</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 10:07 AM, Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@googlemail.com" target="_blank">hrogge@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How many wireless interfaces does computer 2 have? One or two?<br>
<span class="HOEnZb"><font color="#888888"><br>
Henning<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, May 10, 2013 at 3:05 PM, Breno Silva <<a href="mailto:breno.silva@gmail.com">breno.silva@gmail.com</a>> wrote:<br>
> Right so let's suppose we have this env<br>
><br>
> computer1 <-> computer2 <-> computer3<br>
><br>
> - Computer1 sends hello msgs to Computer2<br>
> - Computer2 sends hello msgs to Computer1 and Computer3<br>
> - Computer3 send hello msgs to Computer2<br>
><br>
> I suppose all nodes will know theirs neighbors. This is not true ?<br>
><br>
> Thanks<br>
><br>
><br>
> On Fri, May 10, 2013 at 9:57 AM, Henning Rogge <<a href="mailto:hrogge@googlemail.com">hrogge@googlemail.com</a>><br>
> wrote:<br>
>><br>
>> That would only work if you have exactly two nodes on an interface,<br>
>> the local one and the "other one". In this case you could set the<br>
>> broadcast address to the unicast address.<br>
>><br>
>> With more nodes it would not work, because the routing protocol learns<br>
>> about the neighbors by listening to the multicast/broadcast packets.<br>
>><br>
>> Henning<br>
>><br>
>> On Fri, May 10, 2013 at 2:54 PM, Breno Silva <<a href="mailto:breno.silva@gmail.com">breno.silva@gmail.com</a>><br>
>> wrote:<br>
>> > i mean If(dst_addr == broadcast)<br>
>> ><br>
>> > thanks<br>
>> ><br>
>> ><br>
>> > On Fri, May 10, 2013 at 9:51 AM, Breno Silva <<a href="mailto:breno.silva@gmail.com">breno.silva@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Hello guys,<br>
>> >><br>
>> >> There is a limitation. Looks like the Radio does not work with<br>
>> >> broadcast<br>
>> >> address. So maybe i can change the function olsr_sento() function to<br>
>> >> detect<br>
>> >> when the destination addr is broadcast and change it to the unicast<br>
>> >> addrs:<br>
>> >><br>
>> >> If(src_addr == broadcast)<br>
>> >> for(all unicasts)<br>
>> >> sendto(unicast[i])<br>
>> >> endif<br>
>> >><br>
>> >> Do you think this hack will work ?<br>
>> >><br>
>> >> Thanks<br>
>> >><br>
>> >> Breno<br>
>> >><br>
>> >><br>
>> >> On Thu, May 9, 2013 at 12:26 PM, Breno Silva <<a href="mailto:breno.silva@gmail.com">breno.silva@gmail.com</a>><br>
>> >> wrote:<br>
>> >>><br>
>> >>> Thanks Henning,<br>
>> >>><br>
>> >>> I will be able to test it soon. Then i can give a feedback.<br>
>> >>><br>
>> >>> Breno<br>
>> >>><br>
>> >>><br>
>> >>> On Thu, May 9, 2013 at 9:32 AM, Henning Rogge <<a href="mailto:hrogge@googlemail.com">hrogge@googlemail.com</a>><br>
>> >>> wrote:<br>
>> >>>><br>
>> >>>> As long as you do not reuse the same address, OLSR will work.<br>
>> >>>><br>
>> >>>> It will set up a host-route (a /32 route) to each of the mesh nodes,<br>
>> >>>> which means the different networks do not really matter for OLSR.<br>
>> >>>><br>
>> >>>> Henning Rogge<br>
>> >>>><br>
>> >>>> On Thu, May 9, 2013 at 2:21 PM, Breno Silva <<a href="mailto:breno.silva@gmail.com">breno.silva@gmail.com</a>><br>
>> >>>> wrote:<br>
>> >>>> > Hello,<br>
>> >>>> ><br>
>> >>>> > I would like to setup OLSR between some computers, however each<br>
>> >>>> > computer is<br>
>> >>>> > connected in a Radio (ethernet interface) and they transmit data to<br>
>> >>>> > each<br>
>> >>>> > other using a wireless radio interface.<br>
>> >>>> ><br>
>> >>>> > The radio is Half-Duplex and i already com send IP/UDP data to each<br>
>> >>>> > other.<br>
>> >>>> > This is a common flow to send/recv data<br>
>> >>>> ><br>
>> >>>> > COMPUTER1 (10.1.1.2) <-> (10.1.1.1) RADIO1 ( 192.168.0.1)<br>
>> >>>> > <------------------> (192.168.0.2) RADIO2 (10.1.2.1)<br>
>> >>>> > <-><br>
>> >>>> > COMPUTER2 (10.1.2.2).<br>
>> >>>> ><br>
>> >>>> > So each computer is a member of different network. I would like to<br>
>> >>>> > know if<br>
>> >>>> > the OLSRD will work with this environment.<br>
>> >>>> ><br>
>> >>>> > Thanks<br>
>> >>>> ><br>
>> >>>> > Breno<br>
>> >>>> ><br>
>> >>>> > --<br>
>> >>>> > Olsr-users mailing list<br>
>> >>>> > <a href="mailto:Olsr-users@lists.olsr.org">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>
>> >>>> We began as wanderers, and we are wanderers still. We have lingured<br>
>> >>>> long enough on the shores of the cosmic ocean. We are ready at last<br>
>> >>>> to<br>
>> >>>> set sail for the stars - Carl Sagan<br>
>> >>><br>
>> >>><br>
>> >><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> We began as wanderers, and we are wanderers still. We have lingured<br>
>> long enough on the shores of the cosmic ocean. We are ready at last to<br>
>> set sail for the stars - Carl Sagan<br>
><br>
><br>
<br>
<br>
<br>
--<br>
We began as wanderers, and we are wanderers still. We have lingured<br>
long enough on the shores of the cosmic ocean. We are ready at last to<br>
set sail for the stars - Carl Sagan<br>
</div></div></blockquote></div><br></div>