Find the answer to your Linux question:
Results 1 to 3 of 3
OS: SUSE Enterprise 10 # rpm -q dhcp dhcp-3.0.3-23.5 dhcp server is working just normal/fine, all the clients are getting their IP, and all other TCP/IP configs from dhcp server. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248

    where should I check for ip-addr leases ?


    OS: SUSE Enterprise 10

    # rpm -q dhcp
    dhcp-3.0.3-23.5

    dhcp server is working just normal/fine, all the clients are getting their IP, and all other TCP/IP configs from dhcp server. But /var/lib/dhcp/dhcpd.leases is always emty/blank ?
    so where should I check for the IP-Addr leases ?

    plz help
    regards
    Needee

  2. #2
    Linux User DOllaBillz217's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    263
    First I'd check the dhcp.conf file at look at the range being leased out. Then I would attempt to ping one of the leased address to verify that clients are actually being issued a lease address. Then you can use the locate dhcpd.leases command to see if there is another location it is storing these files. This is the only place I know that dhcp stores leased addresses if dhcp is working properly.
    $Billz

    How much wood would a wood chuck chuck if a wood chuck could chuck wood? None they eat plants!

    Dell Optiplex GX260, LTSP Diskless Workstation, Fedora Core 6

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248

    Lightbulb

    Thanks Dear DOllaBillz217 for help.


    >Then you can use the locate dhcpd.leases command to see if there is another location it is storing these files
    using your suggestion, I search dhcpd.leases file, and got two results

    /var/lib/dhcp/db/dhcpd.leases
    /var/lib/dhcp/dhcpd.leases

    the lease file is /var/lib/dhcp/db/dhcpd.leases.

    Thanks n Regards
    Needee

  4. $spacer_open
    $spacer_close

Posting Permissions

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