khandu
2008-05-24, 01:46 AM CDT
Hi Guys
I am trying to test DHCPD server on FC8. It was working previously on Vmware. But now one fine morning, it has just stopped working and wont start up..
My IP Address is sometimes 192.168.1.1 OR above
Here is my dhcpd.conf
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "domain.org";
option domain-name-servers 192.168.1.1;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.1.128 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}
}
The result in /var/log/messages is
May 24 17:43:33 localhost dhcpd: No subnet declaration for lo (127.0.0.1).
May 24 17:43:33 localhost dhcpd: ** Ignoring requests on lo. If this is not what
May 24 17:43:33 localhost dhcpd: you want, please write a subnet declaration
May 24 17:43:33 localhost dhcpd: in your dhcpd.conf file for the network segment
May 24 17:43:33 localhost dhcpd: to which interface lo is attached. **
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: Listening on LPF/eth0/00:0c:29:ae:7b:ea/192.168.1/24
May 24 17:43:33 localhost dhcpd: Sending on LPF/eth0/00:0c:29:ae:7b:ea/192.168.1/24
May 24 17:43:33 localhost dhcpd: Can't bind to dhcp address: Address already in use
May 24 17:43:33 localhost dhcpd: Please make sure there is no other dhcp server
May 24 17:43:33 localhost dhcpd: running and that there's no entry for dhcp or
May 24 17:43:33 localhost dhcpd: bootp in /etc/inetd.conf. Also make sure you
May 24 17:43:33 localhost dhcpd: are not running HP JetAdmin software, which
May 24 17:43:33 localhost dhcpd: includes a bootp server.
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: This version of ISC DHCP is based on the release available
May 24 17:43:33 localhost dhcpd: on ftp.isc.org. Features have been added and other changes
May 24 17:43:33 localhost dhcpd: have been made to the base software release in order to make
May 24 17:43:33 localhost dhcpd: it work better with this distribution.
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: Please report for this software via the Red Hat Bugzilla site:
May 24 17:43:33 localhost dhcpd: http://bugzilla.redhat.com
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: exiting.
I did a ps -ef | grep dhcpd I got
root 4882 4289 0 17:45 pts/1 00:00:00 grep dhcpd
I am a newbie and I simply dont know whats gone wrong.. it was working a few boots ago.. Please help.. I have tried several diff methods but still the same error and faliure..
I am trying to test DHCPD server on FC8. It was working previously on Vmware. But now one fine morning, it has just stopped working and wont start up..
My IP Address is sometimes 192.168.1.1 OR above
Here is my dhcpd.conf
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "domain.org";
option domain-name-servers 192.168.1.1;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.1.128 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}
}
The result in /var/log/messages is
May 24 17:43:33 localhost dhcpd: No subnet declaration for lo (127.0.0.1).
May 24 17:43:33 localhost dhcpd: ** Ignoring requests on lo. If this is not what
May 24 17:43:33 localhost dhcpd: you want, please write a subnet declaration
May 24 17:43:33 localhost dhcpd: in your dhcpd.conf file for the network segment
May 24 17:43:33 localhost dhcpd: to which interface lo is attached. **
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: Listening on LPF/eth0/00:0c:29:ae:7b:ea/192.168.1/24
May 24 17:43:33 localhost dhcpd: Sending on LPF/eth0/00:0c:29:ae:7b:ea/192.168.1/24
May 24 17:43:33 localhost dhcpd: Can't bind to dhcp address: Address already in use
May 24 17:43:33 localhost dhcpd: Please make sure there is no other dhcp server
May 24 17:43:33 localhost dhcpd: running and that there's no entry for dhcp or
May 24 17:43:33 localhost dhcpd: bootp in /etc/inetd.conf. Also make sure you
May 24 17:43:33 localhost dhcpd: are not running HP JetAdmin software, which
May 24 17:43:33 localhost dhcpd: includes a bootp server.
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: This version of ISC DHCP is based on the release available
May 24 17:43:33 localhost dhcpd: on ftp.isc.org. Features have been added and other changes
May 24 17:43:33 localhost dhcpd: have been made to the base software release in order to make
May 24 17:43:33 localhost dhcpd: it work better with this distribution.
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: Please report for this software via the Red Hat Bugzilla site:
May 24 17:43:33 localhost dhcpd: http://bugzilla.redhat.com
May 24 17:43:33 localhost dhcpd:
May 24 17:43:33 localhost dhcpd: exiting.
I did a ps -ef | grep dhcpd I got
root 4882 4289 0 17:45 pts/1 00:00:00 grep dhcpd
I am a newbie and I simply dont know whats gone wrong.. it was working a few boots ago.. Please help.. I have tried several diff methods but still the same error and faliure..