[CentOS] dhcp server

Eero Volotinen eero.volotinen at iki.fi
Mon Aug 9 05:25:29 UTC 2010


2010/8/9 Richard Gliebe <richard.gliebe at fhv.at>:
> Hi all,
>
> this is my first post on this list, hope someone can help me.
>
> I have to run a dhcp server on CentOS release 5.5 (Final).
>
> # yum list| grep -i dhcp
> dhcp.x86_64             12:3.0.5-23.el5 installed
> dhcp-devel.x86_64       12:3.0.5-23.el5 installed
> dhcpv6-client.x86_64    1.0.10-18.el5   installed
>
> after starting the dhcpd daemon, the windows Clients on the subnet
> (192.168.100.0/24) tells me, that there is no dhcp server available.
>
> # /etc/init.d/dhcpd configtest
> Syntax: OK
>
> [/var/log/messages]
> Aug  9 07:11:14 tfelx01 dhcpd: Internet Systems Consortium DHCP Server
> V3.0.5-RedHat
> Aug  9 07:11:14 tfelx01 dhcpd: Copyright 2004-2006 Internet Systems
> Consortium.
> Aug  9 07:11:14 tfelx01 dhcpd: All rights reserved.
> Aug  9 07:11:14 tfelx01 dhcpd: For info, please visit
> http://www.isc.org/sw/dhcp/
> Aug  9 07:11:14 tfelx01 dhcpd: Wrote 0 leases to leases file.
> Aug  9 07:11:14 tfelx01 dhcpd: Listening on
> LPF/eth0/00:1a:64:b6:1d:1c/192.168.100/24
> Aug  9 07:11:14 tfelx01 dhcpd: Sending on
> LPF/eth0/00:1a:64:b6:1d:1c/192.168.100/24
> Aug  9 07:11:14 tfelx01 dhcpd: Sending on   Socket/fallback/fallback-net
>
> this is my /etc/dhcpd.conf
>
> # cat /etc/dhcpd.conf
> authoritative;
> ddns-update-style interim;
> subnet 192.168.100.0 netmask 255.255.255.0 {
>         option routers                  192.168.100.11;
>         option subnet-mask              255.255.255.0;
>
>         option domain-name              "<mydomain>.local";
>         option domain-name-servers       192.168.100.2;
>
>         option time-offset              -18000;     # Eastern Standard Time
>
>        range 192.168.100.150 192.168.100.199;
> }
>
> what do I'm missing? or is there a config mismatch?

it is working on any other os?

is the dhcp binded to correct interface?



--
Eero,
RHCE



More information about the CentOS mailing list