[CentOS] Re: dhcpd

Sat Nov 25 02:22:43 UTC 2006
Scott Silva <ssilva at sgvwater.com>

Daniel Teixeira spake the following on 11/24/2006 1:27 PM:
> sorry but this is really strange
>  
> my dhcpd daemon only works sometimes!!!!!!
>  
> the problem is the same as before
> dhcpoffer is beeing sent but with no further actions
>  
> --------------my dhcpd.conf:
>  
> 
> ddns-update-style             ad-hoc;
>  
> option subnet-mask            255.255.0.0;
> option broadcast-address      10.0.255.255;
> option routers                10.0.150.100;
> option domain-name-servers    10.0.150.100;
> option domain-name            "domain.lan";  
> option option-128 code 128 = string;
> option option-129 code 129 = text;
>  
> get-lease-hostnames           true;
>  
> next-server                   10.0.150.100;
> option root-path              "10.0.150.100:/opt/ltsp/i386";
>  
> subnet 10.0.150.0 netmask 255.255.255.0 {
>     range   10.0.150.200   10.0.150.254;
>     if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
>         filename "/lts/2.6.16.1-ltsp-1/pxelinux.0";
>     }
>     else{
>         filename "/lts/vmlinuz-2.6.16.1-ltsp-1";
>     }
>  
> host teste {
>    hardware ethernet 44:4d:50:e1:25:a9;
>    fixed-address 10.0.150.234;
>    }
> ----------ifcfg-eth0:
>  
>  
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=10.0.255.255
> HWADDR=00:04:76:28:95:AB
> IPADDR=10.0.150.100
> NETMASK=255.255.0.0
> NETWORK=10.0.0.0
> ONBOOT=yes
> TYPE=Ethernet
> USERCTL=no
> IPV6INIT=no
> PEERDNS=yes
> GATEWAY=10.0.0.1
>  
>  
>  
>  
> ---------route
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 10.0.0.0        *               255.255.0.0     U     0      0        0 eth0
>  
> PLEASE Help ! :-(
> 
> ------------------------------------------------------------------------
> *From:* centos-bounces at centos.org
> [mailto:centos-bounces at centos.org] *On
> Behalf Of *Daniel Teixeira
> *Sent:* sexta-feira, 24 de Novembro de 2006 19:04
> *To:* 'CentOS mailing list'
> *Subject:* [CentOS] dhcpd
> 
> Hi
> im trying to configure centos to run as a dhcpd daemon but it simply
> doesnt work
>  
> I'm using the default configuration file from dhcdp (and tried multiple
> alternatives).
>  
> problem is that pxe clients do not aquire dhcp addresses
> in the log i can see that there are 3 or 4 dhcp offers  per boot atempt
> but no dhcp requests
>  
> anyone?
>  
> i'm going crazy here... .i've tryed 3 diferent machines (servers) and 4
> or 5 diferent clients
> sometimes windows clients are able to catch the ip but only sometimes.
>  
>  
> maybe this is a route problem?
>  
> the  machine(s) was freshly installed with centos 4.3
>  
>  
> please advise!
I don't think the ad-hoc ddns updates will work without the proper keys for
rndc included.

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!