Dhcpd.conf

Reply

Join Date: Nov 2004
Posts: 2
Reputation: keliy1 is an unknown quantity at this point 
Solved Threads: 0
keliy1 keliy1 is offline Offline
Newbie Poster

Dhcpd.conf

 
0
  #1
Nov 16th, 2004
I have intall a REdhat 9.0 as a server and Ive configure to act as a DHCP server however Im having technical problems b/c the file /etc/dhcpd.conf does not exists. I went to the text edit and I created /etc/dhcpd.conf :

subnet 192.192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.10 192.168.100.150;
default-lease-time 600;
max-lease-time 7200
}

Then when I run dhclient on my desktop I receive:

no DHCPOFFERS received
no working leases in the persistent database -sleeping
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 298
Reputation: Cain is an unknown quantity at this point 
Solved Threads: 2
Cain's Avatar
Cain Cain is offline Offline
Posting Whiz in Training

Re: Dhcpd.conf

 
0
  #2
Nov 16th, 2004
Youre kinda missing some goodies, default router.... once you have made your changes you have to restart dhcpd '%/etc/init.d/dhcpd restart' dont forget to reconfigure windows clients and setup DHCP on the LAN settings afterwards and run a ipconfig \release then a ipconfig \renew. also, make sure that your router/glorified hub or smc switch has DHCP services turned OFF

--------------sample dhcpd.conf---------------------------------
ddns-update-style interim; redhat 9.0 NEEDS THIS LINE
ignore client-updates;

subnet 10.1.1.0 netmask 255.255.255.0 {

# --- default gateway
option routers 10.1.1.1;
option nis-domain "mycompany.com";
option domain-name "mycompany.com";
option domain-name-servers 1.1.1.1; (your primary DNS host here, internal)
option time-offset -18000; # Eastern Standard Time

host servername {servername.mycompany.com;
hardware ethernet xx:xx:xx:xx:xx:xx;(obtained by running ifconfig, HWaddr value for eth0)
fixed-address 200.180.200.199; (whatever you externally resolve as)
}
}
------------------------------------------------ end--

Enjoy,
I used up all my money on you baby...
... and I want it BACK.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 2
Reputation: keliy1 is an unknown quantity at this point 
Solved Threads: 0
keliy1 keliy1 is offline Offline
Newbie Poster

Re: Dhcpd.conf

 
0
  #3
Nov 16th, 2004
Originally Posted by Cain
Youre kinda missing some goodies, default router.... once you have made your changes you have to restart dhcpd '%/etc/init.d/dhcpd restart' dont forget to reconfigure windows clients and setup DHCP on the LAN settings afterwards and run a ipconfig \release then a ipconfig \renew. also, make sure that your router/glorified hub or smc switch has DHCP services turned OFF

--------------sample dhcpd.conf---------------------------------
ddns-update-style interim; redhat 9.0 NEEDS THIS LINE
ignore client-updates;

subnet 10.1.1.0 netmask 255.255.255.0 {

# --- default gateway
option routers 10.1.1.1;
option nis-domain "mycompany.com";
option domain-name "mycompany.com";
option domain-name-servers 1.1.1.1; (your primary DNS host here, internal)
option time-offset -18000; # Eastern Standard Time

host servername {servername.mycompany.com;
hardware ethernet xx:xx:xx:xx:xx:xx;(obtained by running ifconfig, HWaddr value for eth0)
fixed-address 200.180.200.199; (whatever you externally resolve as)
}
}
------------------------------------------------ end--

Enjoy,
Thanx a lot I got it.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC