dissecting DHCP - Q1

Defryn, Guy G.P.Defryn at massey.ac.nz
Mon Mar 16 20:19:45 UTC 2009


Started reading the book you recommended :-)

I am getting the same IP now on release/renewal.
Yesterday when I was doing testing I just brought up
lab environment and my peer state was set to communication interrupted.
Could this have caused the change in IP, although same server gave out lease?

cheers

-----Original Message-----
From: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Simon Hobson
Sent: Monday, 16 March 2009 8:56 p.m.
To: Users of ISC DHCP
Subject: Re: dissecting DHCP - Q1

Defryn, Guy wrote:

>We are reviewing all our infrastructure as part of  DR exercise.

That'll be fun ! Hope your management have a more realistic attitude 
than some of my previous management had.

>DHCP is high on the list. I want to understand how DHCP really works so
>I can advice appropriately. I have set up a lab environment so I can 
>figure out
>how DHCP really works. We have no DHCP gurus here as most of us are 
>generalists
>so please forgive the stupid questions I might ask.

Then I recommend "The DHCP Handbook" by Ralph Droms and Ted Lemon - 
now in 2nd edition I believe. I think you'll find this answers all 
the questions you might not have thought of yet !

>My first question is regarding the use of the release/renew command
>This is how the lease looks like currently
>
>Lease 130.123.128.104
>    starts 1 2009/0316 01:28:40;
>    ends 1 2009/0316 01:58:40;
>    tstp 1 2009/03/23 01:43:40;
>    binding state active;
>    next binding state expired;
>    hardware Ethernet 00:50:56:97:68:46;
>    uid "\001\000PV\227hF";
>    set ddns-rev-name ="104.128.123.130.in-addr.arpa.";
>    set ddns-txt ="317dsfre7j19d04808e3cb85cdb99";
>    set ddns-fwd-name = "xp1.mydomain.co.nz";
>    client-hostname "xp1"
>
>
>When I do a release/renew my IP changes to the next available one, 
>in this case 130.123.128.105.
>The binding state of previous release gets set to release and next 
>binding state is set to free.
>
>My question here is whether it is normal that it uses the next 
>available in pool.

That's odd, unless it's Client-ID (uid in the lease database) has 
changed, it should be given the same address. That's standard 
operation for the ISC server, and required by the RFCs.


-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.15/2003 - Release Date: 03/16/09 07:04:00



More information about the dhcp-users mailing list