[Bug 3553] Retain lease information for udhcpc across restarts

bugzilla at busybox.net bugzilla at busybox.net
Tue Apr 12 23:28:23 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3553

--- Comment #4 from Denys Vlasenko <vda.linux at googlemail.com>  ---
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > If you're using udhcpc as a client when connecting to your ISP, and you happen
> > > to restart your router, it would be nice to be able to retain the least and
> > > request the same IP address when restarting.
> > 
> > I'm confused. Something doesn't let you use -r IP option to achieve this?
> > Please describe the problem in more details.
> 
> The initiates a /new/ lease request that asks for a specific address (i.e. via
> a DISCOVERY packet).
> 
> I'm talking about reusing all of the previous state (server address, IP
> address, transaction address, expiration time, lease duration, etc) to refresh
> the /current/ lease (i.e. via a REQUEST packet), assuming that the previous
> lease hadn't been released during shutdown.

I see the difference, but I don't see how is it materially different in
practice.

With "udhcpc -r IP" invocation, where IP is the IP is the last IP we were
using, client will ask server to give it the previous address. Server should be
ready for such common use case anyway, because this happens all the time when
clients are rebooted. So it should give us this address.

Do you work with server which doesn't?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list