LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   LAN DHCPD server (https://www.linuxquestions.org/questions/linux-general-1/lan-dhcpd-server-565414/)

cr9c1 06-29-2007 12:17 PM

LAN DHCPD server
 
Im trying to set up a DHCP server on my linux box for a local lan.

Linux server is 192.168.0.1, subnet 255.255.255.0, gw 192.168.0.1 (not sure on the gw, if this will work)

I have the dhcpd.conf file set up to issue ip's from 192.168.0.2 to 192.168.0.254.

I only have one computer hooked into the switch that the linux box is hooked in to. When I go to the windows machine and have it try to get a n IP address, I can see that DHCPDISCOVER was sent, and DHCPOFFER was sent but I get no DHCPNAK or DHCPACK. It just tries and tries and tries.

I read somewhere you have to add a route, route add -host 255.255.255.255 dev eth0 on some systems to get it to work. I also tried this, and no change in results.

Can anyone tell me what I'm doing wrong or provide a solution? Thanks in advance!


All times are GMT -5. The time now is 04:58 PM.