Announcement

Collapse
No announcement yet.

DHCP entries

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DHCP entries

    Hi Friends!

    Good Day!

    Does anybody know how to fetch or export all the DHCP entries in a server. My requirment is, to export or to create a list of DHCP entries of all LANs which includes reseverations as well as regular entries.

    Any help will much appreciated.

    Thank You
    Mohan Mathew[VU3MMU]
    MCITP [AD]

  • #2
    Re: DHCP entries

    I believe you can do this using netsh.
    Code:
    netsh dhcp server scope 192.168.1.0 show clients > dump.txt
    If the lease says never expire it's a reservation.
    Last edited by ahinson; 23rd February 2009, 21:14.
    Andrew

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment


    • #3
      Re: DHCP entries

      Originally posted by ahinson View Post
      I believe you can do this using netsh.
      Code:
      netsh dhcp server scope 192.168.1.0 show clients > dump.txt
      If the lease says never expire it's a reservation.
      Yes, that did the trick!

      Code:
      netsh dhcp server scope 192.168.10.100 show reservedip >> dhcp.txt
      netsh dhcp server scope 192.168.10.100 show clients >> dhcp.txt
      netsh dhcp server scope 192.168.10.100 show excluderange >> dhcp.txt
      Thank You soo much dear ahinson
      Mohan Mathew[VU3MMU]
      MCITP [AD]

      Comment


      • #4
        Re: DHCP entries

        Excellent! Thanks for the follow up, it will definately prove useful.
        Andrew

        ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

        Comment

        Working...
        X