Results 1 to 4 of 4

Thread: DHCP server scope

  1. #1

    DHCP server scope

    Is there a way to enumerate the dhcp scope remotely ? or better way to get all the ips/computernames on a local server w2k/3 (batch vbs exe)?

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Posts
    748
    Here ya go.. You should bookmark this reference page as it has all of the resource kit and built in OS CLI commands with all of their syntax.

    http://www.microsoft.com/resources/d...us/ntcmds.mspx

    Using DHCP commands in scripts-
    http://www.microsoft.com/resources/d...seScripted.asp

  3. #3
    AO Ancient: Team Leader
    Join Date
    Oct 2002
    Posts
    5,197
    The only way to get the information you are looking for is to access the dhcp database found in %systemroot%\system32\dhcp.

    As for enumerating the scope and the leases good luck, it could take days for you to have the information if you were able to sniff the entire network. It will then take you weeks to determie which IP are reserved etc.
    Don\'t SYN us.... We\'ll SYN you.....
    \"A nation that draws too broad a difference between its scholars and its warriors will have its thinking done by cowards, and its fighting done by fools.\" - Thucydides

  4. #4
    Thanx mohaughn thats a good place to start

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •