Re: Moving DHCP from Netware to FreeBSD

From: jpd (read_the_sig_at_do.not.spam.it)
Date: 08/30/04


Date: Mon, 30 Aug 2004 21:15:28 +0000 (UTC)

On 2004-08-30, Rob MacGregor <rob_macgregor@hotmail.com> wrote:
> knob wrote:
>> Yeah... and how do I deal with all the currently leased
>> ip addresses?
>
> Practically speaking, that's non trivial. I'd suggest that what you do
> is drop the lease length to, say, an hour. Then at a quiet point (a
> weekend), prepare the new server, switch the lease on the old one to
> something really short (maybe 1 or 2 minutes). Give it an hour so that
> everybody is using a really short lease and switch servers. That way
> nobody should be affected, and any problem will be resolved quickly.

This is the ``obvious'' way I'd suggest, too. Move everything to an
awfully short lease time. Once everything has moved, kill the old server
and replace it. Most clients (those that care anyway) will ask for their
old IP and probably get it. (I think. isc-dhcpd-v3 will do so if it can
do based on previous occurences in the leases file. I don't know what it
does if a client asks for an ip the server has no prior record of. Check
this.) As long as the dhcpd-clients are not servers (those should be
bound to MAC or so anyway) there should be not much problem.

I don't consider killed irc bot connections and the like a problem.
YMMV, etc.

> However, the format of the lease file is simple enough, it has lots of
> entries like this:
[snip]
> If you can dump that data from the old server, you'd have a chance. Of
> course, while you're doing this, another address may be allocated...

The leases file is pretty well documented, I think the problem would
be much more in _extracting_ the data. But what do I know, no clue how
novell does this kind of thing.

-- 
  j p d (at) d s b (dot) t u d e l f t (dot) n l .


Relevant Pages

  • ie 6.0
    ... > laptop moves from one network to another, its IP address lease might need ... > request might go to a different server that will not extend the lease ... > for a period of time, it will not provide the time to requesting clients. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: dhcpd mystery
    ... It doles out the lease, the client just *asks* for what it ... You have configuration options on the server for the maximum, ... On some clients you can configure the values it asks for, others not, ... the Wii would have to put up with a longer lease time. ...
    (Fedora)
  • Re: Router
    ... for that period of time then, when the lease has expired, it has to check ... If the DHCP server is rebooted, ... Ah, right, it seems the server can invalidate all clients by broadcasting ...
    (comp.sys.acorn.networking)
  • Re: dhcp-client cleanup
    ... it would be sad if a client could reset a server. ... and might refuse to give me another lease because it thinks I already have one And since I have no access to my ISP's dhcp server configuration I cannot verify the above assumption. ... I've even tried copying over the lease file from the sarge /var/run/ but that did not work either. ...
    (comp.os.linux.networking)
  • Re: [9fans] QTCTL?
    ... That would "freeze" clients for at most 5 seconds when a client fails ... And the ones with better latencies can afford not ... Anytime you are running a file from a server, ... Rcache makes lease available with parameters, ...
    (comp.os.plan9)