duplicated IP address in dhcpd.leases

Bojan Matijasevic Bojan.Matijasevic at saga.rs
Thu Jul 22 09:10:21 UTC 2010


Hello,

I have dhcp 3.0.1 on Sun Solaris 10 X64 system. I have notice that my
dhcp client Audiocode M114 gateway doesn't get same IP address when
rebooted even if lease time is not expired. From logs can be seen that
in period of two hours client has been rebooted couple times and DHCP
gives to client two different IP addresses every time client boots. Just
to mention this client first send BOOTREQUEST and before sending
DHCPREQUEST dhcp server logs following error "uid lease 10.19.191.221
for client 00:90:8f:21:7a:c3 is duplicate on 10.19.191.208/28". Only IP
address differ every time client boots.

There are no static addresses set on this dhcp server nor this system is
set in failover  mode.

 

Jul 21 14:05:14 dhcp1-phy dhcpd: [ID 702911 local7.info] BOOTREQUEST
from 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 14:05:14 dhcp1-phy dhcpd: [ID 702911 local7.info] BOOTREPLY on
10.19.191.218 to 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 14:05:36 dhcp1-phy dhcpd: [ID 702911 local7.error] uid lease
10.19.191.221 for client 00:90:8f:21:7a:c3 is duplicate on
10.19.191.208/28

Jul 21 14:05:36 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPREQUEST for
10.19.191.218 from 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 14:05:36 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPACK on
10.19.191.218 to 00:90:8f:21:7a:c3 (ACL_2194115) via 10.19.191.209

Jul 21 15:34:30 dhcp1-phy dhcpd: [ID 702911 local7.info] BOOTREQUEST
from 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 15:34:30 dhcp1-phy dhcpd: [ID 702911 local7.info] BOOTREPLY on
10.19.191.221 to 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 15:34:53 dhcp1-phy dhcpd: [ID 702911 local7.error] uid lease
10.19.191.218 for client 00:90:8f:21:7a:c3 is duplicate on
10.19.191.208/28

Jul 21 15:34:53 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPREQUEST for
10.19.191.221 from 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 15:34:53 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPACK on
10.19.191.221 to 00:90:8f:21:7a:c3 (ACL_2194115) via 10.19.191.209

Jul 21 15:46:08 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPREQUEST for
10.19.191.221 from 00:90:8f:21:7a:c3 (ACL_2194115) via e1000g4

Jul 21 15:46:08 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPACK on
10.19.191.221 to 00:90:8f:21:7a:c3 (ACL_2194115) via e1000g4

Jul 21 15:46:13 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPREQUEST for
10.19.191.221 from 00:90:8f:21:7a:c3 (ACL_2194115) via e1000g4

Jul 21 15:46:13 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPACK on
10.19.191.221 to 00:90:8f:21:7a:c3 (ACL_2194115) via e1000g4

Jul 21 15:49:31 dhcp1-phy dhcpd: [ID 702911 local7.info] BOOTREQUEST
from 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 15:49:31 dhcp1-phy dhcpd: [ID 702911 local7.info] BOOTREPLY on
10.19.191.218 to 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 15:49:53 dhcp1-phy dhcpd: [ID 702911 local7.error] uid lease
10.19.191.221 for client 00:90:8f:21:7a:c3 is duplicate on
10.19.191.208/28

Jul 21 15:49:53 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPREQUEST for
10.19.191.218 from 00:90:8f:21:7a:c3 via 10.19.191.209

Jul 21 15:49:53 dhcp1-phy dhcpd: [ID 702911 local7.info] DHCPACK on
10.19.191.218 to 00:90:8f:21:7a:c3 (ACL_2194115) via 10.19.191.209

 

 

#/dhcp/etc/dhcpd.leases

 

lease 10.19.191.221 {

  starts 3 2010/07/21 13:46:13;

  ends 3 2010/07/21 13:49:53;

  tstp 3 2010/07/21 13:49:53;

  cltt 3 2010/07/21 13:46:13;

  binding state free;

  hardware ethernet 00:90:8f:21:7a:c3;

  uid "\001\000\220\217!z\303";

}

 

lease 10.19.191.218 {

  starts 3 2010/07/21 13:49:53;

  ends 6 2010/07/31 13:49:53;

  tstp 6 2010/07/31 13:49:53;

  cltt 3 2010/07/21 13:49:53;

  binding state active;

  next binding state free;

  hardware ethernet 00:90:8f:21:7a:c3;

  uid "\001\000\220\217!z\303";

  set vendor-string = "MP-114 FXS";

  option agent.remote-id 2:a:0:0:a:13:bf:d1:fb:0:0:0;

  client-hostname "ACL_2194115";

}

 

 

 

 

#/dhcp/etc/dhcpd.conf 

 

deny duplicates;

ignore declines;

one-lease-per-client false;

ddns-update-style none;

log-facility local7;

authoritative;

allow booting;

allow bootp;

ping-check off; 

set vendor-string = option vendor-class-identifier;

subnet 10.10.3.64 netmask 255.255.255.240 { 

}

class "circuit" {

match (option agent.circuit-id);

}

include "/dhcp/etc/dhcpd/dhcp-circuit-limit";

include "/dhcp/etc/dhcpd/dhcp-mac-allow";

 

class "AudiocodesMP114"

{ 

  match if substring (option vendor-class-identifier,0,6) = "MP-114";


  option dhcp-parameter-request-list 1,3,6,15,42,51,52,54,66,67,82;

  option bootfile-name
"INI=https://prov.ims.telekom.com/Audiocodes/MP114/<MAC>.aen";

} 

 

subnet 10.19.191.208 netmask 255.255.255.240 {

pool {

range 10.19.191.211 10.19.191.222;

allow members of "circuit";

deny unknown clients;

}

option routers 10.19.191.209;

option dhcp-server-identifier 10.10.3.72;

option domain-name-servers 10.10.3.66, 10.10.3.69;

default-lease-time 604800;

max-lease-time 864000;

option ntp-servers 10.10.3.146;

option domain-name "ims.telekom.com";

}

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100722/52ef9f60/attachment.html>


More information about the dhcp-users mailing list