I am having a lot of trouble getting my dhcpd service to start on CentOS 5.6.
No matter what configuration I use it fails to start.
So I started looking around in the server, I noticed I have no file in /sbin
named dhcpd
, I do however have a file called dhcp6c
.
That does not sound right though, is that a problem?
If that is not the problem, I don't what it is. I almost sure my config it good.
My /etc/dhcpd.conf:
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.1;
option subnet-mask 255.255.255.0;
option domain-name "solignis.local";
option domain-name-servers 10.0.0.15;
range 10.0.0.100 10.0.0.254;
default-lease-time 86400;
max-lease-time 172800;
}
** Update **
I found dhcpd
it was in /usr/sbin/
, so unless there is something wrong I am lost...
Here is my ifconfig output
[root@ns01 ns01]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:A4:35:31
inet addr:10.0.0.15 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fea4:3531/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20639 errors:0 dropped:0 overruns:0 frame:0
TX packets:11293 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25363968 (24.1 MiB) TX bytes:874194 (853.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3718 errors:0 dropped:0 overruns:0 frame:0
TX packets:3718 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4146173 (3.9 MiB) TX bytes:4146173 (3.9 MiB)
/sbin/service dhcpd start
Both failed.