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
On Sat, 2011-01-01 at 03:31 +0200, Roland RoLaNd wrote:> 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 >Try: ddns-update-style none; -- Ron Loftin reloftin at twcny.rr.com "God, root, what is difference ?" Piter from UserFriendly
On Fri, Dec 31, 2010 at 8:31 PM, Roland RoLaNd <r_o_l_a_n_d at hotmail.com> wrote:> vim /etc/dhcpd.config > ddns-update-style interim; > ddns-rev-domainname "in-addr.arpa"; > > 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 > > > PS: i dont have named installed as i use the ISP's dns, may that be the cause? >Since you are not running your own dns then you don't need dynamic dns updates enabled. When dynamic dns updates are turned on dhcpd can update a zone in named with the hostname for the ip handed out. The benefits of running your own dns server is that you can access systems in your network by name and not ip. Ryan