LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2010, 03:16 PM   #1
McUserton
LQ Newbie
 
Registered: Mar 2009
Location: Orlando, FL, USA
Distribution: Ubuntu 8.10 Server and 6.10, 8.10 Desktop
Posts: 4

Rep: Reputation: 0
DHCPDECLINE of ipaddress from mac via interface not found


My windows XP computer cannot get an IP address from the Ubuntu 10.04 DHCP server. It is configured on the DHCP server to receive a static address outside the main DHCP pool.

Partial config:
Quote:
subnet 192.168.168.0 netmask 255.255.255.0 {
pool {
failover peer "dc02";
range 192.168.168.1 192.168.168.164;
deny dynamic bootp clients;
allow unknown clients;
}
option routers 192.168.168.168;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.168.168;
option domain-name-servers 192.168.168.203, 192.168.168.204;
option ntp-servers 192.168.168.204;
option netbios-name-servers 192.168.168.204;
option netbios-node-type 2;
default-lease-time 86400;
max-lease-time 86400;
Static IP assignment found inside the subnet portion:
Quote:
host IT-Laptop {
allow client-updates;
allow unknown-clients;
ddns-updates on;
hardware ethernet 00:1b:38:7f:eb:06;
fixed-address 192.168.168.178;
}
Error messages:
Quote:
DC01 dhcpd: DHCPDISCOVER from 00:1b:38:7f:eb:06 via bond0
DC01 dhcpd: DHCPOFFER on 192.168.168.178 to 00:1b:38:7f:eb:06 via bond0
DC01 dhcpd: DHCPREQUEST for 192.168.168.178 (192.168.168.203) from 00:1b:38:7f:eb:06 via bond0
DC01 dhcpd: DHCPACK on 192.168.168.178 to 00:1b:38:7f:eb:06 via bond0
DC01 dhcpd: DHCPREQUEST for 192.168.168.178 (192.168.168.204) from 00:1b:38:7f:eb:06 via bond0
DC01 dhcpd: DHCPACK on 192.168.168.178 to 00:1b:38:7f:eb:06 via bond0
DC01 dhcpd: DHCPDECLINE of 192.168.168.178 from 00:1b:38:7f:eb:06 via bond0: not found
The Windows machine seems to think there is already another computer on the network with 192.168.168.178, but it's wrong: there is no such address on the network.

Does anyone have any idea where to look or what to try?
 
Old 10-15-2010, 03:33 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 166Reputation: 166
Is the windows machine configured statically already or is it actually dhcping an address? If you attempt to ping the address it doesn't work correct?
 
Old 10-15-2010, 03:40 PM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello McUserton,

the line
Code:
option broadcast-address 192.168.168.168;
looks odd to me. Isn't 192.168.168.255 the broadcastadress for a 192.168.168.0/24 network?

Markus
 
Old 10-17-2010, 07:38 PM   #4
McUserton
LQ Newbie
 
Registered: Mar 2009
Location: Orlando, FL, USA
Distribution: Ubuntu 8.10 Server and 6.10, 8.10 Desktop
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rweaver View Post
Is the windows machine configured statically already or is it actually dhcping an address? If you attempt to ping the address it doesn't work correct?
The windows client is configured for DHCP, correct. If you try to ping .178, the address in question, no replies are returned.
 
Old 10-17-2010, 07:39 PM   #5
McUserton
LQ Newbie
 
Registered: Mar 2009
Location: Orlando, FL, USA
Distribution: Ubuntu 8.10 Server and 6.10, 8.10 Desktop
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Hello McUserton,

the line
Code:
option broadcast-address 192.168.168.168;
looks odd to me. Isn't 192.168.168.255 the broadcastadress for a 192.168.168.0/24 network?

Markus
Ouch - good catch!! I missed that. I'll correct it and report back if it helped the situation, which it may. Thanks.
 
Old 10-18-2010, 08:54 AM   #6
McUserton
LQ Newbie
 
Registered: Mar 2009
Location: Orlando, FL, USA
Distribution: Ubuntu 8.10 Server and 6.10, 8.10 Desktop
Posts: 4

Original Poster
Rep: Reputation: 0
SOLVED - thank you markush

Quote:
Originally Posted by McUserton View Post
Ouch - good catch!! I missed that. I'll correct it and report back if it helped the situation, which it may. Thanks.
Thanks, Markush - the incorrect broadcast address appears to have been the source of the problem.
 
  


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
One Interface, multi. MAC, mult. IP madfrog Linux - Networking 2 06-28-2007 09:29 AM
How to change the ipaddress,hostname,mac number in Fedora 6 from Terminal me4linux Linux - Networking 1 03-24-2007 06:34 AM
MAC Spoofing without downing the interface? makuro Linux - Networking 1 10-10-2006 07:11 AM
Is there any way in iptables to find ipaddress of a interface while firing iptable ru gopalgurus Linux - Networking 1 06-19-2006 06:40 AM
get mac address given a specific interface kpachopoulos Programming 6 06-07-2006 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration