LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-05-2007, 02:47 PM   #1
lslade
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;
fixed-address 192.9.200.126;
}


host Acadlicserver {
hardware ethernet 00:07:95:1c:7b:e1;
fixed-address 192.9.200.10;
}

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 12:23 PM.
 
  


Reply


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/Novell 1 06-29-2006 10:48 AM
DHCP: Problem in assigning fixed address to clients libregeek Linux - Networking 6 11-18-2005 12:59 AM
Fixed IP Address with DHCP dgreenbean Linux - Networking 9 09-19-2004 02:12 PM
Not getting an IP address with DHCP conf headsman Linux - Networking 15 03-11-2004 02:14 PM
dhcpd.conf shared network declarations adamantium Linux - Networking 0 02-24-2004 03:24 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration