View Single Post
  #1   (View Single Post)  
Old 8th May 2014
bsdsource bsdsource is offline
Port Guard
 
Join Date: Apr 2014
Posts: 34
Default dhcpd.conf question

I want my dhcpd server to serve only the specified static ip addresses. My dhcpd.conf looks like this:

Code:
option  domain-name "ph.comcast.net";
option  domain-name-servers 68.105.28.12, 68.105.29.12, 68.105.28.11;

subnet 10.255.255.0 netmask 255.255.255.0 {
   option routers 10.255.255.1;
   range 10.255.255.100 10.255.255.101;

   host PRIMARY {
      fixed-address 10.255.255.100;
      hardware ethernet bc:66:f4:65:66:62;
   }

   host NETBOOK {
      fixed-address 10.255.255.101;
      hardware ethernet 00:33:b1:43:33:18;
   }
I'm not clear on how I would proceed with the range option. I tested by removing the line:

Code:
range 10.255.255.100 10.255.255.101;
Appears to work perfectly fine without it. If I only want only static ip addresses served then is the appropriate solution to just remove the range option?
Reply With Quote