[c-nsp] DHCP Binding Expiration

Frank Bulk - iName.com frnkblk at iname.com
Mon Feb 9 21:49:10 EST 2009


The ability to provide a new/different IP every time has been oft-discussed
on ISC' dhcp-user listserv.  IIRC, it contradicts the spec.  You would have
customize the code to have that functionality, or, as someone said, play
with the leases file.

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Justin Shore
Sent: Monday, February 09, 2009 1:30 PM
To: Church, Charles
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] DHCP Binding Expiration

<snip>

One thing on my to do list is to figure out how to always reject lease
extension requests to force the CPE to pull a new IP every time a lease
expires.  This would prevent many of the less technical users from
trying to run a publicly-accessible server.  Set the lease time to 2
hours, client tries to extend the lease at 50% of the lease (1hr) and
the server NAKs.  The only question is will the client continue to
request the IP until the lease expires before falling back and do a
DISCOVER at the 2hr mark (interrupting the flow of traffic) or will it
do a bcast DISCOVER in response to the NAK and immediately switch to the
new IP once it gets an OFFER 1hr before the original lease expires, thus
interrupting traffic again.

I've seen systems do something similar before (or at least I thought
they were).  When I first got Cox CATV I could only keep my IP for about
a day before it changed.  One way to mitigate the flow of traffic
problem would be to grant short lease extensions automatically until the
wee hours of the morning and then force the change.  Something to think
about.

It's on my list right behind setting up an OSS walled garden and
convincing the boss to replace our 7 different DHCP & provisioning
systems with CNR.  Oh, and finishing my IPv6 deployment.

Thanks for the info
  Justin
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list