Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, sorry if I am in the wrong area. I am looking for a tool that lists the information in the dhcpd.conf file, if one is already written. Something that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Kumado's Avatar
    Join Date
    Jul 2006
    Posts
    81

    dhcpd.conf tool


    Hi, sorry if I am in the wrong area.

    I am looking for a tool that lists the information in the dhcpd.conf file, if one is already written. Something that lists the ip, machine name, mac, lease times?

    Anything out there?

    Back to Googling for now thanks

    Kuma

  2. #2
    Just Joined!
    Join Date
    Oct 2006
    Posts
    8
    Copy this file to the /etc as dhcpd.conf as it is a good starter

    /usr/share/doc/dhcp-2.0pl5/dhcpd.conf.sample

  3. #3
    Just Joined! Kumado's Avatar
    Join Date
    Jul 2006
    Posts
    81
    GRRRRRRRRR!!! Sleep is over rated!!

    Sorry, I meant to list the contents of dhcpd.leases not conf

    Thanks for the reply though.

    Kuma

  4. #4
    Just Joined!
    Join Date
    Oct 2006
    Posts
    8
    The file if exists is in /var/lib/dhcp/dhcpd.leases if it is not it has not been created yet. the syntax should be

    lease ip-address { statements... }


    hope that helps link to man page

Posting Permissions

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