Using RedHat AS Enterprise edition I copied out the recommended dchpd.conf file (from the RHFedora + Enterprise Linux Bible by C. Negus) with my own adaptions - very little.
When I used the command line "service dhcpd start" I got the following message:
Not configured to listen on any interfaces!
Here is my entire dhcpd.conf file:
ddns-update-style interim;
ignore client-updates;
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.1;
option domain-name-servers 10.0.0.1;
option subnet-mask 255.255.255.0;
option domain-name "itec240.com";
range dynamic-bootp 10.0.0.150 10.0.0.225;
default-lease-time 21600;
max-lease-time 43200;
#set name server to appear at a fixed address
host ns {
next-server ns1.itec240.com;
hardware ethernet 00:0D:87:09:E8:B9;
fixed-address 10.0.0.1;
}
}
Yes, I know using 10.0.0.1 isn't the best choice - but that is what the text gives - and it enables me to be sure it doesn't interfere with the settings of the router I usually use.
So how can I configure it to work on an interface?