[Olsr-users] OLSR Gateway & HNA Question

Bhat, Ishwara (spam-protected)
Fri Jan 16 15:58:01 CET 2009


Thanks. I totally forgot about modifying the subnet mask field. Thank you.

1. Just to clarify the obvious:

With 
Hna4
{
   192.168.1.0  255.255.255.240
}

The node is going to retransmit any traffic if the destination IP is within  ( 192.168.1.241 to 192.168.1.255 ) on the same NIC, right?

Please confirm.

2. I tried using Dynamic gateway: (dyn_gw version: olsrd_dyn_gw.so.0.4) However this plugin seems to have problem. 

When I start olsrd with this plugin, it returns the error - 
"HNA"/"10.1.18.0 255.255.255.0" ... netmask_to_prefix: Got bogus netmask 10.1.18.0
Segmentation fault.

( My network of static IPs is of 10.1.18. series. I did not make any setting outside olsr.conf about this)

Please help.

Thanks
Ishwar

-----Original Message-----
From: (spam-protected) [mailto:(spam-protected)] On Behalf Of Henning Rogge
Sent: Friday, January 16, 2009 6:40 PM
To: (spam-protected)
Subject: Re: [Olsr-users] OLSR Gateway & HNA Question

Am Friday 16 January 2009 14:01:56 schrieb Bhat, Ishwara:
> 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 can announce any kind of address in an HNA. Of course the IP of the router 
itself must be a "olsr net ip".
>
> 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.
You can use a HNA like this:

Hna4
{
   192.168.1.0  255.255.255.0
}

This will announce the addresses 192.168.1.0 to 192.168.1.255.

> I also checked hna_set.c and the header. The structures there do not seem
> to indicate that possibility.

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.)





More information about the Olsr-users mailing list