Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-05-2007, 01:47 PM   #1
LQ Newbie
Registered: Nov 2005
Location: Canada
Distribution: Debian
Posts: 14

Rep: Reputation: 0
dhcp.conf problem: host fixed-address declarations ignored

I have several fixed-address declarations for hosts on my network. Most of them work. However at least two of them are being ignored.
The server is Debian sarge. One of the two problem clients is a Windows 2000 server and the other is a Fedora core 4 machine.

Here is one declaration that is OK for a Windows 2000 client and the second one which does not work is the Windows 2000 server. I have tried both lower and upper case for the characters in the mac addresses.

host support02 {
hardware ethernet 00:90:F5:28:1E:B0;

host Acadlicserver {
hardware ethernet 00:07:95:1c:7b:e1;

I have run a trace on the transaction from the client end. The client does a DHCP discover then the server sends a DHCP offer with the old IP address - the one the client had got dynamically before the host declaration was added. The client then sends a request for that address and the server sends a DHCP ACK.

I have already tried stopping the server, deleting the old leases from dhcp.leases, then starting the server again.

SOLVED : Old Debian install had /etc/dhcpd.conf and /etc/dhcp3/dhcpd.conf left over. Was editing the wrong one.
yeaarg. Should have used this procedure: Read /etc/init.d/dhcp3-server to make sure what the conf file was. OK, there's no hint here. Next use lsof to check what files dhcpd is using.

Last edited by lslade; 03-06-2007 at 11:23 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta SUSE / openSUSE 1 06-29-2006 09:48 AM
DHCP: Problem in assigning fixed address to clients libregeek Linux - Networking 6 11-17-2005 11:59 PM
Fixed IP Address with DHCP dgreenbean Linux - Networking 9 09-19-2004 01:12 PM
Not getting an IP address with DHCP conf headsman Linux - Networking 15 03-11-2004 01:14 PM
dhcpd.conf shared network declarations adamantium Linux - Networking 0 02-24-2004 02:24 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:36 AM.

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