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 11-14-2006, 12:38 AM   #1
LQ Newbie
Registered: Nov 2006
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Wrong server IP being sent in DHCP offer

I have two Windows XP machines getting their IP addresses from a Debian box, running DHCP3 - all the latest upgrades everywhere! The Debian box is also running BIND9. Everything seems to work very well - the DNS is updated, IP addresses are assigned, etc

BUT the IP address information being given by the DHCP server has the wrong server address. Instead of it is sending - I trapped this with tethereal - each time a new DISCOVER event occurs, the DHCP server replies as -> 10.64.0.X - so now the Windows box thinks it got the IP address from itself?

Now where does the DHCP server get its address from?? I know it's a simple setting somewhere... The interfaces, hosts and dhcpd.conf files all seem right.
Old 11-14-2006, 01:57 AM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Nothing jumps to mind. Can you post dhcpd.conf?
Old 11-14-2006, 11:29 PM   #3
LQ Newbie
Registered: Nov 2006
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for getting back to me - after much forum searching and fiddling, I found it just now. In dhcpd.conf, the 'server-identifier' was set to be the host name, not the IP address. I guess this was resolving to be when it was sent with the DHCPOFFER. So I changed it to be the IP address of the server and now everything's as it should be.

On to the next challenge...


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
DHCP Offer Checksum Error TastyWheat Linux - Networking 2 09-11-2006 02:09 PM
Redboot gets wrong default server IP-addr from DHCP ? waynix Linux - Networking 4 06-10-2005 12:44 AM
DHCP offer only each 2nd boot hetOrakel SUSE / openSUSE 1 04-19-2005 05:56 PM
DHCP offer packet refused David_Moses Linux - Wireless Networking 2 01-15-2005 06:59 AM
dhclient reversing dhcp offer in resolv.conf zugwrack Linux - Wireless Networking 2 03-16-2004 09:34 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:25 PM.

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
Open Source Consulting | Domain Registration