Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> dhcp server wont start
post Apr 11 2009, 04:07 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 11-April 09
Member No.: 14,394

Hello everyone. I am trying to setup a firewall gateway for my home network. I am running CentOs 5, and have setup iptables. The problem however, lies in setting up dhcpd. I seem to do everything correct, but whenever
I type "service dhcpd restart" I get "Failed". Here is my config file.

ddns-update-style none; # keep it simple for now
ignore client-updates;  # here too
DHCPARGS=eth1;          # tells it what interface to listen on
subnet netmask {
# --- default gateway
       option routers        ;   # gateway on your eth1 internal interface
       option subnet-mask    ; # subnet mask
       option domain-name              "" # domain name given to client
       option domain-name-servers; # the IP of your ISP's nameservers you're using
       option time-offset              -18000;        # Eastern Standard Time - set to what you have
       range;             # the range of IP's your clients will get
       default-lease-time 21600;                      # how long the client's will keep the same IP
       max-lease-time 43200;


Thank you
Go to the top of the page
+Quote Post
Start new topic
post Apr 11 2009, 05:45 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,806
Joined: 23-January 03
Member No.: 360

First check the log files.
As far as I know DHCPARGS=eth1 is not a valid statement for dhcpd.conf. You add it to the /etc/sysconfig/dhcpd file.
And DHCPDARGS=eth1 is the correct syntax.
Go to the top of the page
+Quote Post

Posts in this topic
- tho   dhcp server wont start   Apr 11 2009, 04:07 PM
- - michaelk   First check the log files. As far as I know DHCPA...   Apr 11 2009, 05:45 PM

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd March 2018 - 01:11 AM