Networking Forums

Networking Forums > Computer Networking > Windows Networking > DHCP lease administration

Reply
Thread Tools Display Modes

DHCP lease administration

 
 
steve.c.thompson@gmail.com
Guest
Posts: n/a

 
      01-01-2006, 06:01 PM
Hi Folks, as part of an application I'm working on I want to manually
manage client DHCP leases and never automatically give out a new lease.
It should work something like this:
1- dhcp scope is created and active, but does not give out new leases.
2 - to connect to the network a new client registers on a website
providing their pc name and MAC, this creates the lease (that's working
already using win32 API).
3 - now the client connects to the this network and DHCP recognizes
their MAC and hands out IP.
3 - lease automatically deletes itself when it expires or I will
manually delete it??

Does this sound feasible and does anybody know of a way to configure a
DHCP scope or server in this manner (so it's active but doesn't
automatically create new leases for clients)? Or do I have to mess
with exclusions and static reservations?

thanks
steve.

 
Reply With Quote
 
 
 
 
Herb Martin
Guest
Posts: n/a

 
      01-01-2006, 11:56 PM
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ps.com...
> Hi Folks, as part of an application I'm working on I want to manually
> manage client DHCP leases and never automatically give out a new lease.
> It should work something like this:
> 1- dhcp scope is created and active, but does not give out new leases.
> 2 - to connect to the network a new client registers on a website
> providing their pc name and MAC, this creates the lease (that's working
> already using win32 API).
> 3 - now the client connects to the this network and DHCP recognizes
> their MAC and hands out IP.
> 3 - lease automatically deletes itself when it expires or I will
> manually delete it??
>
> Does this sound feasible and does anybody know of a way to configure a
> DHCP scope or server in this manner (so it's active but doesn't
> automatically create new leases for clients)? Or do I have to mess
> with exclusions and static reservations?


Nearly anything is possible if you are a programmer and devote
the resources to solving the problem but you probably should
just write you own DHCP server (maybe starting from some
GPL source etc.).

What you are describing sounds like the registration methods
used in many hotels (etc) by companies like IBahn who provide
free or daily-rental (even many of the free ones use this method,
either because they are too lazy too turn it off after it was made
free, or because they really care about the "user agreement".)

So, given that something almost identical exists it can be done,
but I would probably not start by trying to hack the existing
Windows DHCP service but rather by writing my own.



--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP administration on a DC? Claude Lachapelle Windows Networking 2 09-25-2006 12:28 PM
DHCP Option : Release DHCP Lease on Shutdown (1) doesn't work Antoine Golio Windows Networking 0 12-06-2005 08:10 AM
DHCP Option : Release DHCP Lease on Shutdown (1) doesn't work Antoine Golio Windows Networking 2 11-30-2005 08:49 AM
DHCP sever available, DHCP lease available on the client computer didace Windows Networking 0 11-13-2003 12:11 PM
DHCP lease WenbinChen Linux Networking 7 07-23-2003 02:43 AM



1 2 3 4 5 6 7 8 9 10 11