LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   DHCP Server Not Assigning Addresses (https://www.linuxquestions.org/questions/linux-server-73/dhcp-server-not-assigning-addresses-566403/)

jimsproch 07-03-2007 04:20 PM

DHCP Server Not Assigning Addresses
 
original post removed

bsdunix 07-03-2007 09:30 PM

We're going to need more information about your setup and any errors your getting to help troubleshoot your problem.

Quote:

I followed this tutorial to the letter
The tutorial you referenced is using eth1 to have the DHCP service listen on, is that what you want?

jimsproch 07-03-2007 09:48 PM

original post removed

bathory 07-04-2007 02:25 AM

Quote:

LEASEFILE="/var/state/dhcp/dhcpd.leases"
One common problem when setting up dhcpd is that file. You should:
Code:

touch /var/state/dhcp/dhcpd.leases
before starting the dhcpd server for the first time.

bsdunix 07-04-2007 09:18 AM

This DHCP server article is SuSE related, so you might find this helpful.

SolutionBase: Configuring a DHCP server with SuSE's YaST
http://articles.techrepublic.com.com...1-6180759.html

Quote:

This is on Suse Linux 10.3 Build 5.
Being that your using a developmental version, it's possible (however unlikely), the system is not stable for DHCP server usage.

Debugging is very helpful when something is not working as expected. Basically, all you need to do is first make sure the dhcpd server is not running, then start dhcpd from the command line with the -d option. Here's an article about it.

Configuring a DHCP Server for Linux
https://linuxlink.timesys.com/docs/linux_dhcp
Code:

# dhcpd -d eth1
On the screen you'll see what dhcpd is doing.


All times are GMT -5. The time now is 06:30 PM.