[CentOS] DHCPD troubleshooting..? help!

Roland RoLaNd

r_o_l_a_n_d at hotmail.com
Sat Jan 1 01:31:12 UTC 2011


Hello,

i've setup dhcp as such:

yum install dhcp

vim /etc/dhcpd.config
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#ddns-update-style interim;
ddns-update-style interim;
ddns-rev-domainname "in-addr.arpa";
ignore client-updates;
subnet 192.168.75.0 netmask 255.255.255.0 {
       option routers                  192.168.75.25; #Default Gateway
       option subnet-mask              255.255.255.0;
       option domain-name              "home.local";
       option domain-name-servers      8.8.8.8;
       #option netbios-name-servers     192.168.0.2; #WINS Server        
    range dynamic-bootp 192.168.75.26 192.168.75.100;  #DHCP Range to assign
       default-lease-time 43200;
       max-lease-time 86400;
}

more /etc/sysconfig/dhcpd 
# Command line options here
DHCPDARGS=eth0

tail -f /var/log/messages:

Jan  1 01:25:58 dnalor dhcpd: DHCPREQUEST for 192.168.25.100 (192.168.25.25) from 00:23:4b:cc:6c:b7 (oli) via eth0
Jan  1 01:25:58 dnalor dhcpd: DHCPACK on 192.168.25.100 to 00:23:4b:cc:6c:b7 (oli) via eth0
Jan  1 01:26:16 dnalor dhcpd: Unable to add forward map from oli.home.local to 192.168.25.100: timed out


any help?

PS: i dont have named installed as i use the ISP's dns, may that be the cause?

Thanks for your advice in advance and happy new year

 		 	   		  


More information about the CentOS mailing list