[Olsr-users] OLSR Gateway & HNA Question

Alexander Morlang (spam-protected)
Fri Jan 16 15:19:27 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bhat, Ishwara schrieb:
> Hi,
> 
> I am continuing an old thread. Please answer my question below on HNA
> configuration.
> 
> "" usually, you have that case when you run dhcp on your wireless
> interface while running olsrd on the same wireless interface.
> 
> so you have to announce the range of you dhcp-server per HNA to
> announce the route back. if your dhcp range is outside of the iprange
> used in the mesh network, you might need an alias ip and and a
> resulting netroute to that interface.""
> 
> 
> You are saying that we can provide a range of addresses within the
> same network number in HNA entry? How do we do that ?
> 
> I checked the olsr.conf we have provision to give only a network
> address, not any range of addresses.
> 
> I also checked hna_set.c and the header. The structures there do not
> seem to indicate that possibility.
> 
> 
> Please elaborate on how this could be done.

sure, you can only put a network/prefix into olsrd.conf, so you have to
give out addresses of this range.

if you want to hand out strange ranges via dhcp, then you might have to
announce several networks of different size, which aggregate to your
desired range.

> 
> Thanks, Ishwar

Alex

> 
> 
> -----Original Message----- From: Alexander Morlang
> [mailto:(spam-protected)] Sent: Wednesday, December 17, 2008 12:27 AM To:
> Bhat, Ishwara Cc: (spam-protected) Subject: Re: [Olsr-users]
> OLSR Gateway & HNA Question
> 
> Bhat, Ishwara schrieb:
>> Hi,
> 
>> I am continuing an old thread and I have another question in that 
>> context.
> 
>> My scenario is as below:
> 
>> I have a PC with ad-hoc link (but no OLSR, no second NIC). And I
>> have nodes running OLSR within single-hop distance from this ad-hoc
>> PC.
> 
>> All are in the same SSID and same subnet.
> 
>> So PC to send packet to  any OLSR node, probably it is easy.
> 
>> But the question is -
> 
>> How to ensure route for the backward path for the non-OLSR PC in
>> the same subnet (or a different subnet?)??
> 
> set up an HNA for that PC.
> 
> 
>> I understand that HNA can be setup if I had a gateway node in
>> between PC and the mesh. But my case is that I have an IP address
>> belonging to the same subnet but without OLSR.
> 
> usually, you have that case when you run dhcp on your wireless
> interface while running olsrd on the same wireless interface.
> 
> so you have to announce the range of you dhcp-server per HNA to
> announce the route back. if your dhcp range is outside of the iprange
> used in the mesh network, you might need an alias ip and and a
> resulting netroute to that interface.
> 
>> For the OLSR node within 1-hop distance from PC, will I be able to 
>> force a TC announcing that it can route to the PC ?
> 
> 
> the HNA will do that.
> 
>> Please tell me how to do it.
> 
>> Thanks for the help! Ishwar
> 
> n.p.
> 
> 
> 
>> -----Original Message----- From: Henning Rogge
>> [mailto:(spam-protected)] Sent: Tuesday, November 18, 2008 8:50 PM To:
>> Bhat, Ishwara Cc: (spam-protected) Subject: Re:
>> [Olsr-users] OLSR Basic Block Diagram
> 
>> Am Tuesday 18 November 2008 14:15:20 schrieb Bhat, Ishwara:
>>> Thanks a lot Henning. 2 more questions.
>> First just a comment... please reply mails like this back to the 
>> list, so anyone can read them.
> 
>>> Case #1: External machine without OLSR:
>>> 
>>> Let us say my external machine has 802.11 interface and is in 
>>> ad-hoc mode. Also it has the same SSID as that of mesh nodes.
>>> 
>>> In this arrangement, would the packet not get into mesh through a
>>>  "peripheral node"?
>> You could send a package to the OLSR subnet and the OLSR nodes
>> would "grab the package" and retransmit it to it's final
>> destination, but unless you are in direct radio range of your
>> target it would have no way to send an answer.
> 
>>> For return path, do I still need to setup HNA entry ? Or would it
>>>  fbod the packet throughout the network (though each node does
>>> not know the route ?
>> Because no OLSR node has a route with gateway (next hop) for your
>> net you would only get the answer if you can answer the ARP request
>> of the target of your original package (direct communication
>> range).
> 
>>> Case # 2: External machine with OLSR:
>>> 
>>> In this case, I have one wired interface and one 802.11
>>> interface. OLSR's primary (only) interface is 802.11.
>>> 
>>> And I setup bridge between wired and wireless interfaces.
>>> 
>>> Would this solve my issue of finding routes for all cases ?
>> A bridge is no router, so there would still be not multihop traffic
>>  flow between the two networks, unless you set a HNA entry and a
>> route I think.
> 
>> Henning
> 
>> ************************************************* Diplom
>> Informatiker Henning Rogge Forschungsgesellschaft für Angewandte 
>> Naturwissenschaften e. V. (FGAN) Neuenahrer Str. 20, 53343
>> Wachtberg, Germany Tel.: 0049 (0)228 9435-961 Fax: 0049 (0)228
>> 9435-685 E-Mail: (spam-protected) Web: www.fgan.de 
>> ************************************************ Sitz der 
>> Gesellschaft: Bonn Registergericht: Amtsgericht Bonn VR 2530 
>> Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim 
>> Ender (Stellv.)
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklwl28ACgkQhx2RbV7T5aE5NQCbBoXcccr+NP0KNxDd+2WOXbZf
FtIAoJrESBAqS4Uw2H7FNG5W7gmrlrKD
=GIm9
-----END PGP SIGNATURE-----




More information about the Olsr-users mailing list