[CentOS] Re: centos] DHCPd Config

R P Herrold herrold at owlriver.com
Wed Mar 30 20:30:38 UTC 2005

On Wed, 30 Mar 2005, Joao Medeiros wrote:

> I've read a number of articles, googled the web for a few months and
> now attempting at turning my CentOS box into a gateway for the third
> time. Configured my dhcpd.conf and other related files and all seems
> to be working, I can have my M$ desktop leasing an ip address and all.
> The problem is when I want to go out to the internet I keep on getting
> the Request Timed out error.

sounds like you did not add a proper default route, or there 
is a deeper netmask issue.

File should look something like this (I have trimmed lots 

[herrold at ftp etc]$ grep -v ^# dhcpd.conf
ddns-update-style none ;
server-identifier ftp.eleven.lan ;
option domain-name-servers, ;
option time-offset 300;
default-lease-time 600;
max-lease-time 14400;
option option-128 code 128 = string;
option option-129 code 129 = text;
shared-network ELEVEN-LAN {
option routers; # router being our router;
option domain-name "eleven.lan";
option subnet-mask;
allow booting;
allow bootp;
  subnet netmask {
   pool {
    range ;
    authoritative ;
    allow unknown-clients;
[herrold at ftp etc]$

-- Russ Herrold

More information about the CentOS mailing list