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 ...
- 03-04-2009 #1Linux Newbie
- Join Date
- Aug 2008
- Posts
- 119
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
- 03-04-2009 #2Just 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....
- 03-05-2009 #3Linux 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
- 03-05-2009 #4
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
- 03-05-2009 #5Just 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
}
- 03-05-2009 #6Linux 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
- 03-05-2009 #7Just 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.,


Reply With Quote