LinuxQuestions.org
Register a domain and help support LQ
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 11-14-2006, 01:38 AM   #1
Garybtx
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 10.64.0.10 it is sending 127.0.0.1 - I trapped this with tethereal - each time a new DISCOVER event occurs, the DHCP server replies as 127.0.0.1 -> 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, 02:57 AM   #2
billymayday
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-15-2006, 12:29 AM   #3
Garybtx
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 127.0.0.1 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...
 
  


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


All times are GMT -5. The time now is 02:39 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