LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-03-2008, 08:34 AM   #1
id_viorel
LQ Newbie
 
Registered: Jul 2004
Location: Focsani
Posts: 29

Rep: Reputation: 15
dhcp debug


this is a part from /var/log/messages

my question is about the duplicate message .... I am very sure that it is not a duplication IP on the network. what is the problem, why this message?

thank u


Jul 3 16:04:03 gate dhcpd: Dynamic and static leases present for 172.31.5.174.
Jul 3 16:04:03 gate dhcpd: Remove host declaration oslo or remove 172.31.5.174
Jul 3 16:04:03 gate dhcpd: from the dynamic address pool for 172.31.5/24
Jul 3 16:04:03 gate dhcpd: uid lease 172.31.5.174 for client 00:13:d3:38:0b:d7 is duplicate on 172.31.5/24
Jul 3 16:04:03 gate dhcpd: DHCPREQUEST for 172.31.5.174 from 00:13:d3:38:0b:d7 via eth0
Jul 3 16:04:03 gate dhcpd: DHCPACK on 172.31.5.174 to 00:13:d3:38:0b:d7 via eth0
Jul 3 16:05:04 gate dhcpd: DHCPINFORM from 172.31.5.174 via eth0: not authoritative for subnet 172.31.5.0
Jul 3 16:05:07 gate dhcpd: DHCPINFORM from 172.31.5.174 via eth0: not authoritative for subnet 172.31.5.0
Jul 3 16:05:54 gate named[2117]: client 172.31.5.1#34257: RFC 1918 response from Internet for 18.2.31.172.in-addr.arpa
Jul 3 16:09:56 gate dhcpd: DHCPINFORM from 172.31.5.36 via eth0: not authoritative for subnet 172.31.5.0
Jul 3 16:10:00 gate dhcpd: DHCPINFORM from 172.31.5.36 via eth0: not authoritative for subnet 172.31.5.0
Jul 3 16:13:10 gate dhcpd: DHCPREQUEST for 172.31.5.36 from 00:19:d1:2f:56:67 via eth0
Jul 3 16:13:10 gate dhcpd: DHCPACK on 172.31.5.36 to 00:19:d1:2f:56:67 via eth0
Jul 3 16:14:15 gate named[2117]: client 172.31.5.1#34258: RFC 1918 response from Internet for 18.2.31.172.in-addr.arpa
Jul 3 16:15:24 gate named[2117]: client 172.31.5.1#34258: RFC 1918 response from Internet for 131.5.31.172.in-addr.arpa
 
Old 07-03-2008, 04:10 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
You don't show us your dhcp.conf file, but I bet you have a statment like "range dynamic-bootp 172.31.a.b-172.31.c.d" and statements like:

host whatever {
hardware ethernet 00:13:d3:38:0b:d7;
fixed-address 172.31.5.174;
}

You can't assign a ip from dynamic range 172.31.a.b-172.31.c.d to a fixed host.
The ip for the host whatever above, must be outside from the dynamic range.

If I guess wrong, please give us your dhcpd.conf file to help us to understand what is going wrong with your setup.
 
Old 07-04-2008, 01:47 AM   #3
id_viorel
LQ Newbie
 
Registered: Jul 2004
Location: Focsani
Posts: 29

Original Poster
Rep: Reputation: 15
u are the man, mannnn !

u did guess right !

problem solved ... thanks
 
Old 07-04-2008, 08:19 AM   #4
id_viorel
LQ Newbie
 
Registered: Jul 2004
Location: Focsani
Posts: 29

Original Poster
Rep: Reputation: 15
I found somethigelse in /var/log/message

Jul 4 16:10:22 gate dhcpd: DHCPREQUEST for 172.31.5.139 from 00:0c:29:c2:65:e8 via eth0: unknown lease 172.31.5.139.
Jul 4 16:10:27 gate dhcpd: DHCPREQUEST for 172.31.5.139 from 00:0c:29:c2:65:e8 via eth0: unknown lease 172.31.5.139.
Jul 4 16:10:36 gate dhcpd: DHCPREQUEST for 172.31.5.139 from 00:0c:29:c2:65:e8 via eth0: unknown lease 172.31.5.139.


my dhcp.conf




more /etc/dhcp/dhcpd.conf
allow bootp;
allow booting;

default-lease-time 21600;
max-lease-time 43200;
ddns-update-style ad-hoc;

option routers 172.31.5.1;
option subnet-mask 255.255.255.0;
option domain-name "domain.com";
option domain-name-servers 172.31.5.1;
option netbios-name-servers 172.31.5.2;
option time-offset -5; # Eastern Standard Time
option ntp-servers 172.31.5.1;
authoritative;

subnet 172.31.5.0 netmask 255.255.255.0 {
range dynamic-bootp 172.31.5.180 172.31.5.220;
next-server 172.31.5.10;
filename "pxelinux.0";
}

# Host1
host host1 {
hardware ethernet 00:0C:76:40:8C:1B;
fixed-address 172.31.5.150;
}

............................. the rest of my hosts


# Host30
host host30 {
hardware ethernet 00:191:0A:E5:9C;
fixed-address 172.31.5.30;
}
 
Old 07-04-2008, 08:41 AM   #5
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
When a host receives an ip by dhcp, it tries to renew the lease using the same ip. It suggests to dhcp server the "old" ip it was holding.

I think a host was holding the ip 172.31.5.139 (because it received that ip from a dhcp server in the past) and now it is trying to renew it and the server (maybe due to changes in the dynamic range) does not have that ip available anymore as a dynamic ip and it logs this as a warning.

I believe it is not serious.
You can double check this by inspecting the ip the host 00:0c:29:c2:65:e8 received. It must have now an ip from your current dynamic range and this host will not ask for that ip anymore.
 
Old 07-18-2008, 09:45 AM   #6
id_viorel
LQ Newbie
 
Registered: Jul 2004
Location: Focsani
Posts: 29

Original Poster
Rep: Reputation: 15
u were wright... it is clear now !
thank u
 
  


Reply



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 debug without having debug section in an executable ? unclesam Linux - Newbie 0 02-02-2006 06:23 AM
Help me, how to debug this? lmmix Programming 1 03-03-2005 07:21 AM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM
DHCP in debug mode lapthorn Linux - Networking 1 12-03-2003 07:22 AM
Debian DHCP (cablemodem) ... Please debug ... whats next? tharris Linux - Networking 1 06-09-2002 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:43 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
Open Source Consulting | Domain Registration