LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-29-2007, 12:17 PM   #1
cr9c1
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
running FTP server on a LAN for folks outside of the LAN johnMG Linux - Networking 4 12-23-2006 04:10 PM
How to restart dhcpd on another server using SSH? hueofwind Linux - Newbie 17 11-23-2005 06:07 AM
dhcpd-server problem kafnir Linux - Networking 1 05-27-2004 08:25 PM
dhcpd (server) doesn't work !!! exalik Mandriva 1 09-03-2003 04:44 AM
dhcpd server not letting go of leases Jase Linux - Networking 10 01-17-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration