Hi,
First of all I am new in setting up a DHCP server, so I before posting here I have search around the web without finding a solution. I have setup a frontend with Rocks 6.2 which has only one ethernet interface. I know that the manual says that I must have two ethernet interfaces, but for now I only have one. Also I found that in this case the physical interface will be used for the public access, and a virtual interface will be used for the private access.
I followed the procedure to set up the virtual interfaces and I manage to connect to the frontend via ssh from my laptop (Using the virtual IP address). The problem is that when I run insert-ethers I get an error saying that the DHCP server is not running. When I tray to start the DHCP server it fails, and the log file gives the following:
Code:
Feb 1 15:34:17 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:34:17 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:34:17 clusterdsp dhcpd: All rights reserved.
Feb 1 15:34:17 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:34:17 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:34:17 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:34:17 clusterdsp dhcpd: ^
Feb 1 15:34:17 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:34:17 clusterdsp dhcpd:
Feb 1 15:34:17 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:34:17 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:34:17 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:34:17 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:34:17 clusterdsp dhcpd:
Feb 1 15:34:17 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:34:17 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:34:17 clusterdsp dhcpd:
Feb 1 15:34:17 clusterdsp dhcpd: exiting.
Feb 1 15:35:32 clusterdsp python: insert-ethers loading plugins: 00-pxecfg 01-dhcpd 05-dns ganglia hostauth partitions sample sge tentakel
Feb 1 15:35:32 clusterdsp rockscommand[5766]: user root called "report host dhcpd localhost"
Feb 1 15:35:32 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:35:32 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:35:32 clusterdsp dhcpd: All rights reserved.
Feb 1 15:35:32 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:35:32 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:35:32 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:35:32 clusterdsp dhcpd: ^
Feb 1 15:35:32 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:35:32 clusterdsp dhcpd:
Feb 1 15:35:32 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:35:32 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:35:32 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:35:32 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:35:32 clusterdsp dhcpd:
Feb 1 15:35:32 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:35:32 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:35:32 clusterdsp dhcpd:
Feb 1 15:35:32 clusterdsp dhcpd: exiting.
Feb 1 15:35:35 clusterdsp python: insert-ethers loading plugins: 00-pxecfg 01-dhcpd 05-dns ganglia hostauth partitions sample sge tentakel
Feb 1 15:35:36 clusterdsp rockscommand[5933]: user root called "report host dhcpd localhost"
Feb 1 15:35:36 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:35:36 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:35:36 clusterdsp dhcpd: All rights reserved.
Feb 1 15:35:36 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:35:36 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:35:36 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:35:36 clusterdsp dhcpd: ^
Feb 1 15:35:36 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:35:36 clusterdsp dhcpd:
Feb 1 15:35:36 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:35:36 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:35:36 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:35:36 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:35:36 clusterdsp dhcpd:
Feb 1 15:35:36 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:35:36 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:35:36 clusterdsp dhcpd:
Feb 1 15:35:36 clusterdsp dhcpd: exiting.
Feb 1 15:37:09 clusterdsp python: insert-ethers loading plugins: 00-pxecfg 01-dhcpd 05-dns ganglia hostauth partitions sample sge tentakel
Feb 1 15:37:09 clusterdsp rockscommand[6514]: user root called "report host dhcpd localhost"
Feb 1 15:37:09 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:37:09 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:37:09 clusterdsp dhcpd: All rights reserved.
Feb 1 15:37:09 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:37:09 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:37:09 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:37:09 clusterdsp dhcpd: ^
Feb 1 15:37:09 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:37:09 clusterdsp dhcpd:
Feb 1 15:37:09 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:37:09 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:37:09 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:37:09 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:37:09 clusterdsp dhcpd:
Feb 1 15:37:09 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:37:09 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:37:09 clusterdsp dhcpd:
Feb 1 15:37:09 clusterdsp dhcpd: exiting.
Feb 1 15:44:09 clusterdsp python: dhcpd is not running.
Feb 1 15:44:18 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:44:18 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:44:18 clusterdsp dhcpd: All rights reserved.
Feb 1 15:44:18 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:44:18 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:44:18 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:44:18 clusterdsp dhcpd: ^
Feb 1 15:44:18 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:44:18 clusterdsp dhcpd:
Feb 1 15:44:18 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:44:18 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:44:18 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:44:18 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:44:18 clusterdsp dhcpd:
Feb 1 15:44:18 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:44:18 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:44:18 clusterdsp dhcpd:
Feb 1 15:44:18 clusterdsp dhcpd: exiting.
Feb 1 15:49:28 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:49:28 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:49:28 clusterdsp dhcpd: All rights reserved.
Feb 1 15:49:28 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:49:28 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:49:28 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:49:28 clusterdsp dhcpd: ^
Feb 1 15:49:28 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:49:28 clusterdsp dhcpd:
Feb 1 15:49:28 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:49:28 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:49:28 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:49:28 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:49:28 clusterdsp dhcpd:
Feb 1 15:49:28 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:49:28 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:49:28 clusterdsp dhcpd:
Feb 1 15:49:28 clusterdsp dhcpd: exiting.
Feb 1 15:53:12 clusterdsp python: dhcpd is not running.
Feb 1 15:53:17 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:53:17 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:53:17 clusterdsp dhcpd: All rights reserved.
Feb 1 15:53:17 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:53:17 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:53:17 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:53:17 clusterdsp dhcpd: ^
Feb 1 15:53:17 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:53:17 clusterdsp dhcpd:
Feb 1 15:53:17 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:53:17 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:53:17 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:53:17 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:53:17 clusterdsp dhcpd:
Feb 1 15:53:17 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:53:17 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:53:17 clusterdsp dhcpd:
Feb 1 15:53:17 clusterdsp dhcpd: exiting.
Feb 1 15:53:28 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 15:53:28 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 15:53:28 clusterdsp dhcpd: All rights reserved.
Feb 1 15:53:28 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 15:53:28 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 15:53:28 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 15:53:28 clusterdsp dhcpd: ^
Feb 1 15:53:28 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 15:53:28 clusterdsp dhcpd:
Feb 1 15:53:28 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 15:53:28 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 15:53:28 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 15:53:28 clusterdsp dhcpd: it work better with this distribution.
Feb 1 15:53:28 clusterdsp dhcpd:
Feb 1 15:53:28 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 15:53:28 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 15:53:28 clusterdsp dhcpd:
Feb 1 15:53:28 clusterdsp dhcpd: exiting.
Feb 1 16:23:25 clusterdsp python: dhcpd is not running.
Feb 1 16:23:41 clusterdsp dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 1 16:23:41 clusterdsp dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 1 16:23:41 clusterdsp dhcpd: All rights reserved.
Feb 1 16:23:41 clusterdsp dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 1 16:23:41 clusterdsp dhcpd: /etc/dhcp/dhcpd.conf line 13: expecting numeric value.
Feb 1 16:23:41 clusterdsp dhcpd: #011#011#011hardware ethernet clusterdsp;
Feb 1 16:23:41 clusterdsp dhcpd: ^
Feb 1 16:23:41 clusterdsp dhcpd: Configuration file errors encountered -- exiting
Feb 1 16:23:41 clusterdsp dhcpd:
Feb 1 16:23:41 clusterdsp dhcpd: This version of ISC DHCP is based on the release available
Feb 1 16:23:41 clusterdsp dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 1 16:23:41 clusterdsp dhcpd: have been made to the base software release in order to make
Feb 1 16:23:41 clusterdsp dhcpd: it work better with this distribution.
Feb 1 16:23:41 clusterdsp dhcpd:
Feb 1 16:23:41 clusterdsp dhcpd: Please report for this software via the CentOS Bugs Database:
Feb 1 16:23:41 clusterdsp dhcpd: http://bugs.centos.org/
Feb 1 16:23:41 clusterdsp dhcpd:
Feb 1 16:23:41 clusterdsp dhcpd: exiting.
Feb 1 16:23:51 clusterdsp python: dhcpd is not running.
And this is the dhcpd.conf file:
Code:
ddns-update-style none;
subnet 10.1.1.0 netmask 255.255.255.0 {
default-lease-time 1200;
max-lease-time 1200;
option routers 10.1.1.100;
option subnet-mask 255.255.255.0;
option domain-name "local";
option domain-name-servers 10.1.1.100;
option broadcast-address 10.1.1.255;
option interface-mtu 1500;
group "local" {
host clusterdsp-eth0_0 {
hardware ethernet clusterdsp;
option host-name "clusterdsp";
fixed-address 10.1.1.100;
filename "pxelinux.0";
next-server 10.1.1.100;
}
}
}
I have changed the line 13 (hardware ethernet clusterdsp) to (hardware ethernet "MAC-ADDRESS-OF-ETHERNET-INTERFACE") but when I try to start the dhcpd.conf server it gives the same error, and the log message is the same. I don't know why the DHCP server is not loading the changes I made to the config file, I even restart the server several times with the same problem.
Thanks for your help
Enrique