Find the answer to your Linux question:
Results 1 to 7 of 7
Hi Frnds I managed to configure DHCP Server in my network and was successive, but server is releasing ip's randomly, is there any way to assign particular ip for particular ...
  1. #1
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119

    Exclamation Releasing IP for Computer from DHCP

    Hi Frnds

    I managed to configure DHCP Server in my network and was successive, but server is releasing ip's randomly, is there any way to assign particular ip for particular system.

    Frnds plz help me out of this.
    Thanks in Advance
    Webby

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13
    Yes congrats on your achievement, you can do by defining host specific IP on basis of MAC address, I guess you have used the sample file to configure your DHCP and it has at the bottom, for better access it is host ns ... something..

    Let me know if you want something more....

  3. #3
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119
    Hi Hack son,

    To Be frank, Am just new to Linux so if u can explain clearly how to reserve a particular ip for particular system. It will be very helpful to me.

    Thanks in Advance
    Webby

  4. #4
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    There should be a configuration file example in the /usr/share/doc/dhcpd-<version> directory (replace <version> with the appropriate numbers).

    Have a look, and copy what you need from there into /etc/dhcpd.conf

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13
    hi rajiok & ziplock,

    the location notified by rajiok is exactly correct and the location is, /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample
    copy this file to /etc/dhcpd.conf
    and modify according your network
    and at the end of your network range add similar to this
    host XXX {
    hardware ethernet MA:CO:OF:YO:UR:CLIENT;
    fixed-address 207.175.42.254; ipaddress what you would like to give
    }

  6. #6
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119
    Hi ZipLock,

    What u mean by (replace <version> with the appropriate numbers).Frnd.
    Please Explain

    Thanks inAdvance
    Webby

  7. #7
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13
    Hi,
    He is giving the default location and further replace version is specific to your distribution for example
    Red hat -5 is using dhcp-3.0.5 etc.,

Posting Permissions

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