On Wed, Jan 07, 2009 at 05:52:48PM -0600, Andrew Daugherity wrote:
> On Tue, Jan 6, 2009 at 3:11 PM, Stuart Henderson <[email protected]> wrote:
> > Release is an optional part of DHCP but some servers won't reassign the
> > IP address to a client with another MAC unless it happens.  In that case
> > the best option is probably to try another DHCP client from ports/packages.
> >
> > At least in the current OpenBSD version you have a couple of options;
> > the ISC client allows this with the -r flag, and the WIDE client allows
> > it with SIGUSR2.
> 
> It's good to know that the isc-dhcp-client from ports lets you do
> this; it would be nice if the dhclient in base had this functionality.

  +1

> If it's a matter of "we don't have time -- submit a patch", I'd be
> happy to port that functionality

  could also be a matter of "none of the devs are in a situation
  where they perceive any value for supporting dhcprelease" and
  thus it could be a "please tell me why you need this" situation.

  in my situation i've seen need to do release in order to be able
  to properly test out a wireless network deployment i am responsible
  for; the network currently uses dhcpreleases as a catalyst to inform
  the rest of the auth/session system that the user wishes to logout.
  receipt of a release and expiration of a lease are the only two
  ways, right now, to destroy a user session, and so i have to use
  the isc-dhcp port to properly test openbsd on this network instead
  of the utilities in -base.

> (disclaimer: assuming the code isn't
> extremely hairy; I haven't delved into it yet), but I don't want to
> waste my time if it's not likely to be accepted.

  as someone with only very casual C skills, i have had a VERY TOUGH TIME
  trying to read and understand ISC code (bind and dhcp).  the openbsd
  rewrite of the dhcp utilities is way easier on the eyes.

> My reason for needing this is that my ISP (actually, I know of several
> like this) is like the server you describe, in that it refuses to hand
> out another DHCP lease if I have an active lease for a different MAC
> address.

  i'm also familar with ISPs using option82 remoteid or circuitid info
  to limit lease quantity assigned to subscribers.  in this case openbsd
  users have the choice of modifying the enet addr of their dhclient
  ifaces or using the dhclient from the isc stuff in ports that supports
  releases...

-- 

  jared

Reply via email to