Addressing APIPA/IPv4LL issues with uamanyip

Gunther Mayer gunther.mayer at googlemail.com
Tue May 6 15:25:19 UTC 2008


Murray Long wrote:
> Ok, thanks, I'll stop worrying then..
>
> But it does seem strange to me that future DHCP requests will reissue 
> an old address used though anyip.  Is there any reason for this?
It's for efficiency purposes - chilli remembers past connections for the 
same MAC since there's no point in deallocating and reallocating memory 
all the time for a client who's likely to reconnect several times. Of 
course this is only remembered until either the client explicitly 
releases his ip or an idletimeout occurs.
>
> -Murray
>
> On Tue, May 6, 2008 at 4:39 PM, Gunther Mayer 
> <gunther.mayer at googlemail.com <mailto:gunther.mayer at googlemail.com>> 
> wrote:
>
>     Murray Long wrote:
>
>         Hi Gunter,
>         Thanks for the patch.
>
>         Have done some testing myself and found that the same problem
>         applies if a user arrives at a hotspot with a static IP and no
>         gateway.
>         If, on finding he can connect, he tries to connect though DHCP
>         he will be given his origional IP without any gateway.
>         And so won't be able to connect until the router is rebooted.
>
>         With this in mind, would it not be better for your patch to
>         test for all IP's outside of the DHCP dynamic ip range rather
>         than just those in the IPv4LL subnet?
>
>     No, and this is the one and only case where uamanyip fails. You
>     see, if you ignore all IP's outside the dynamic dhcp range you
>     might as well not use uamanyip as it then wouldn't serve any
>     purpose whatsoever.
>
>     But I doubt this is any cause for concern and is a highly unlikely
>     case anyways. Somebody who arrives at a hotspot with a static ip
>     and no gateway likely has never used the Internet before and
>     doesn't use the Internet where he comes from because without a
>     default gateway it's impossible for ANY client ANYWHERE to connect
>     to the Internet. So chances are you're dealing with somebody who
>     doesn't know how to use the Internet and probably wouldn't want to
>     use it in the first place. You see, I doubt you'll ever encounter
>     such a case.
>
>     Gunther
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: chilli-unsubscribe at coova.org
>     <mailto:chilli-unsubscribe at coova.org>
>     For additional commands, e-mail: chilli-help at coova.org
>     <mailto:chilli-help at coova.org>
>     Wiki: http://coova.org/wiki/index.php/CoovaChilli
>     Forum: http://coova.org/phpBB3/viewforum.php?f=4
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20080506/7c6bcfba/attachment.htm>


More information about the Chilli mailing list