Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-28-2011, 11:29 AM   #1
Registered: Nov 2011
Location: India
Distribution: RedHat, Cent OS, Fedora, Debian, Ubuntu
Posts: 106

Rep: Reputation: Disabled
Fixing MAC with particular IP in dhcpd.conf

I am using ubuntu 11.04 and configured dhcp server. I want to reserve approximately 40 systems with specific IP address. I fixed MAC and IP in the dhcpd.conf file as below
host username {
  hardware ethernet 08:00:27:f2:5d:88;
host username {
  hardware ethernet 00:E0:4F:D9:19:50;
host username {
  hardware ethernet 08:00:27:FC:5D:55;
host username {
  hardware ethernet 08:00:27:21:A7:2D;
It is fine, now our dhcp server is able to assign only particular IP with particular MAC address. But in future if the time comes to fix the IPs with particular MACs for whole subnet then the reservation entries will be going very long in dhcpd.conf file.
So it would be much better if I could show this entries in a file. So is there any way do this?
Old 11-28-2011, 04:38 PM   #2
Registered: Oct 2009
Posts: 37

Rep: Reputation: 4
I did a quick google search for "dhcpd how to include a config file"

I found a link to the man page at:

It indicates you can include a file like so:
include "/etc/dhcpd.master";

Please try google yourself in the future.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete leases from dhcpd.leases when remove a subnet from dhcpd.conf phongnh Linux - Server 2 10-12-2010 04:49 AM
How to re-invoke dhcpd after changes were made to dhcpd.conf file. Azazwa Linux - Newbie 3 03-30-2009 04:44 AM
/etc/dhcpd.conf or /ltsp/dhcpd.conf ? maxsanders Ubuntu 1 07-07-2007 06:32 AM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 03:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration