Hi,
You can use the "callout dll" feature provided by the Win2003 DHCP Server:-
http://msdn.microsoft.com/library/de...server_api.asp
You can write your own callout functions (DhcpAddressOfferHook and
DhcpDeleteClientHook)and hook them into the DHCP server service.
Whenever a new client lease is created or an existed one deleted, your
application will be notified and you can update the SQL database.
Hope this helps!
--
Thanks,
Achint Setia
(E-Mail Removed)
-------------------------------------------------------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------------------------------------------------------------------------------------------------------
"ChristianWickham" <(E-Mail Removed)> wrote in
message news:2AEE1841-EF2B-4F7C-BE15-(E-Mail Removed)...
> Is it possible to get a live output from DHCP that would allow us to have
> a
> SQL database of MAC addresses, IP Addresses and Names - so that we could
> use
> other software (network monitoring software) to be able to display these
> three parameters from MAC address information that we have?
>
> We have been doing it manually to track rogue hosts and virus infected
> machines through their activity (such as using non-standard ports and high
> usage), but we want to do it in a more automated way.
>
> Does anyone know how to get Windows 2003 DHCP to output this information?
> Or
> could we use WINS to provide this data feed?