Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to know what address that are assigned by DHCP server

    Hi all, Im a newbie to linux networking, can anyone tell me what is the command in linux to know the ipaddresses that are assigned by DHCP server.

    Thanks in advance

  2. #2

  3. #3
    Thanks for the reply... reed
    Ya your are right.. it is the command to know the address at the client side.. but Im looking for a command from Server side.. that is.. I want to know the list of IP address that a Server has assigned to the clients that are connected to it..

    Thanks in advance

  4. $spacer_open
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Boston, MA
    Hmm, that I'm not sure. Never ran a dhcp server.

    Looks like addresses should be written to /var/db/dhcpd_leases.

  6. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    West Yorks
    I don't know of a specific command, but you can look at dhcpd.conf (assuming you are using dhcpd). The ip address the server can give out are listed in the "range" entry e.g. on my local lan

Posting Permissions

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