[pkg-dhcp-devel] Bug#823498: dhcp 4.3.1 - Random lease time is sending by servers in HA

Rafał Szymkowiak rafal.szymkowiak at inea.com.pl
Thu May 5 11:33:57 UTC 2016


Package: isc-dhcp-server
Version: 4.3.1
Severity: normal

Dear Maintainer,

Hello.

We're using ISC dhcp servers with failover.
Servers are operating in version 4.3.1 and working on Debian 8.3 system.
Lease time setting (default, max and min) is set for 12h (43200s) but
server is sending random lease time for clients.
MCLT is equal 3600 (1h), first time lease is allocated always for one
hour, when device is refreshing IP, sometimes it gets lease for 12 but
often we observing random values (for example 11:47:34, 10:58:17,
09:28:50, 10:58:17, 10:52:41, 10:52:41, 10:58:18, 11:54:06, 10:58:17,
10:58:49, 10:52:41, 10:40:35, 10:52:39, 10:40:35, 10:54:35, 10:40:35,
10:58:17, 11:53:36, 10:33:08, 10:40:35, 10:33:08).

Both servers has the same version of dhcp server, has configured same
ntp server (we're using CEST timezone).
In lease file, leases are looking fine - end is equal 12h after lease
starts, but when device is refreshing its address, server doesn't send
12h in option 51.

Here is our configuration:
Main config:

##########################################################################################################################
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample 
##########################################################################################################################

log-facility local4;
ddns-update-style interim;
ignore client-updates;
authoritative;

one-lease-per-client true;
deny duplicates;
ignore declines;

min-lease-time 43200;
default-lease-time 43200;
max-lease-time 43200;


option domain-name-servers      62.21.99.94, 62.21.99.95;
option ntp-servers              62.21.96.17;

##########################################################################################################################

log (info,concat("remote-id: ",option agent.remote-id," CPE:
",binary-to-ascii(16,8,":",substring(hardware,1,6))," circuit-id:
",option agent.circuit-id," address-ip: ",binary-to-ascii (10,
8,".",leased-address)));

on expiry {
 log (info, concat ("expired: ",binary-to-ascii (10, 8, ".",
leased-address)));
}

on release {
 log (info, concat ("expired: ",binary-to-ascii (10, 8, ".",
leased-address)));
}

#(...)Class



subnet 192.168.55.88 netmask 255.255.255.248{}

##########################################################################################################################
include "/etc/dhcp/data/omapi.conf";
include "/etc/dhcp/data/failover.conf";
include "/etc/dhcp/data/pool/DEVICES.conf";
#(...)
##########################################################################################################################


Failover config:
Primary:
#####################################################################
### DHCP HA Primary server configuration
failover peer "dhcp-failover" {
  primary;
  address 192.168.55.93;
  port 647;
  peer address 192.168.55.94;
  peer port 647;
  max-response-delay 30;
  max-unacked-updates 10;
  load balance max seconds 3;
  mclt 3600;
  split 128; #split nie gwarantuje obslugi przez tylko przez wybrany serwer

  auto-partner-down 3600;

  }

#####################################################################


Secondary:
#####################################################################
### DHCP HA Secondary server configuration
failover peer "dhcp-failover" {
  secondary;
  address 192.168.55.94;
  port 647;
  peer address 192.168.55.93;
  peer port 647;
  max-response-delay 30;
  max-unacked-updates 10;
  load balance max seconds 3;
  auto-partner-down 3600;

  }

#####################################################################


All included pools are like this template:
#####################################################################
shared-network NAME_OF_THE_POOL {
subnet 100.68.0.0 netmask 255.255.255.0 {

        option routers                  100.68.0.1;
        option subnet-mask              255.255.255.0;
        pool {
                failover peer "dhcp-failover";
                range                           100.68.0.2 100.68.0.254;

               allow members of "gpon-int";
        }
}

}
#####################################################################

Here is example of dhcp traffic dump (made by dhcpdump):

  TIME: 2016-05-05 10:27:01.295
    IP: 77.65.90.175 (10:e:7e:c7:bf:f0) > 192.168.55.93 (7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: e34503ad
  SECS: 4031
 FLAGS: 0
CIADDR: 100.70.36.60
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:18:e7:df:6b:ef:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  12 (  7) Host name                 DIR-635
OPTION:  55 (  7) Parameter Request List      1 (Subnet mask)
                          3 (Routers)
                          6 (DNS server)
                         44 (NetBIOS name server)
                         15 (Domainname)
                         46 (NetBIOS node type)
                         47 (NetBIOS scope)
                       
OPTION:  61 (  7) Client-identifier         01:00:18:e7:df:6b:ef
OPTION:  82 ( 54) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:31:37:2f:30:33:2f:32:39:2f:31:2f:31
                  Remote-ID    
41:4c:43:4c:46:38:45:39:30:31:32:39:2d:69:6e:74
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.296
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 100.70.36.60 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: e34503ad
  SECS: 4031
 FLAGS: 0
CIADDR: 100.70.36.60
YIADDR: 100.70.36.60
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:18:e7:df:6b:ef:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      39169 (10h52m49s)
OPTION:   1 (  4) Subnet mask               255.255.240.0
OPTION:   3 (  4) Routers                   100.70.32.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  82 ( 54) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:31:37:2f:30:33:2f:32:39:2f:31:2f:31
                  Remote-ID    
41:4c:43:4c:46:38:45:39:30:31:32:39:2d:69:6e:74


---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.297
    IP: 172.29.36.232 (10:e:7e:c7:9f:f0) > 192.168.55.93 (7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 880a4653
  SECS: 2131
 FLAGS: 0
CIADDR: 172.29.36.232
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:01:2d:e0:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  55 (  7) Parameter Request List      1 (Subnet mask)
                         28 (Broadcast address)
                          2 (Time offset)
                          3 (Routers)
                         15 (Domainname)
                          6 (DNS server)
                         12 (Host name)
                       
OPTION:  82 ( 56) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:4f:73:77:69:65:63:65:6e:69:61:20:65:74:68:20:31:2f:31:2f:30:39:2f:30:33:2f:32:39:2f:31:2f:33
                  Remote-ID    
41:4c:43:4c:46:38:44:39:32:33:38:43:2d:73:74:62
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.397
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 172.29.36.232 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 880a4653
  SECS: 2131
 FLAGS: 0
CIADDR: 172.29.36.232
YIADDR: 172.29.36.232
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:01:2d:e0:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      41069 (11h24m29s)
OPTION:   1 (  4) Subnet mask               255.255.254.0
OPTION:   3 (  4) Routers                   172.29.36.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  82 ( 56) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:4f:73:77:69:65:63:65:6e:69:61:20:65:74:68:20:31:2f:31:2f:30:39:2f:30:33:2f:32:39:2f:31:2f:33
                  Remote-ID    
41:4c:43:4c:46:38:44:39:32:33:38:43:2d:73:74:62
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
  TIME: 2016-05-05 10:27:01.494
    IP: 109.173.222.37 (10:e:7e:c7:bf:f0) > 192.168.55.93
(7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 1b7a5b50
  SECS: 830
 FLAGS: 0
CIADDR: 100.70.122.216
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 48:f8:b3:25:d7:02:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  12 ( 10) Host name                 Cisco34787
OPTION:  55 (  5) Parameter Request List      1 (Subnet mask)
                          3 (Routers)
                         15 (Domainname)
                          6 (DNS server)
                        212 (???)
                       
OPTION:  61 (  7) Client-identifier         01:48:f8:b3:25:d7:02
OPTION:  82 ( 56) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:52:61:73:7a:6b:6f:77:73:6b:61:20:65:74:68:20:31:2f:31:2f:31:30:2f:30:36:2f:32:33:2f:31:2f:31
                  Remote-ID    
41:4c:43:4c:46:38:45:42:34:30:39:31:2d:69:6e:74
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.494
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 100.70.122.216 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 1b7a5b50
  SECS: 830
 FLAGS: 0
CIADDR: 100.70.122.216
YIADDR: 100.70.122.216
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 48:f8:b3:25:d7:02:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      42370 (11h46m10s)
OPTION:   1 (  4) Subnet mask               255.255.240.0
OPTION:   3 (  4) Routers                   100.70.112.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  82 ( 56) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:52:61:73:7a:6b:6f:77:73:6b:61:20:65:74:68:20:31:2f:31:2f:31:30:2f:30:36:2f:32:33:2f:31:2f:31
                  Remote-ID    
41:4c:43:4c:46:38:45:42:34:30:39:31:2d:69:6e:74
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.569
    IP: 172.29.34.167 (10:e:7e:c7:bf:f0) > 192.168.55.93 (7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: c7e49f7b
  SECS: 3709
 FLAGS: 0
CIADDR: 172.29.34.167
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:04:1f:d8:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  55 (  7) Parameter Request List      1 (Subnet mask)
                         28 (Broadcast address)
                          2 (Time offset)
                          3 (Routers)
                         15 (Domainname)
                          6 (DNS server)
                         12 (Host name)
                       
OPTION:  82 ( 53) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:30:36:2f:30:36:2f:32:2f:31:2f:34
                  Remote-ID    
41:4c:43:4c:46:38:45:42:33:46:42:32:2d:73:74:62

---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.569
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 172.29.34.167 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: c7e49f7b
  SECS: 3709
 FLAGS: 0
CIADDR: 172.29.34.167
YIADDR: 172.29.34.167
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:04:1f:d8:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      39491 (10h58m11s)
OPTION:   1 (  4) Subnet mask               255.255.254.0
OPTION:   3 (  4) Routers                   172.29.34.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  82 ( 53) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:30:36:2f:30:36:2f:32:2f:31:2f:34
                  Remote-ID    
41:4c:43:4c:46:38:45:42:33:46:42:32:2d:73:74:62


---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.569
    IP: 10.210.169.72 (10:e:7e:c7:9f:f0) > 192.168.55.93 (7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 5545549f
  SECS: 0
 FLAGS: 0
CIADDR: 10.210.169.72
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 2c:cf:58:99:5e:f7:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  61 (  7) Client-identifier         01:2c:cf:58:99:5e:f7
OPTION:  55 ( 13) Parameter Request List      1 (Subnet mask)
                          3 (Routers)
                          6 (DNS server)
                         12 (Host name)
                         15 (Domainname)
                         28 (Broadcast address)
                         40 (NIS domain)
                         41 (NIS servers)
                         42 (NTP servers)
                         43 (Vendor specific info)
                        100 (Printer Name)
                        120 (SIP Servers DHCP Option)
                        121 (Classless Static Route)
                       
OPTION:  82 ( 52) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:2d:53:7a:61:6d:6f:74:75:6c:79:20:65:74:68:20:30:2f:33:2f:39:2f:31:36:2f:31:2f:32:30
                  Remote-ID    
34:38:35:37:35:34:34:33:39:39:35:45:46:35:34:41

---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.570
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 10.210.169.72 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 5545549f
  SECS: 0
 FLAGS: 0
CIADDR: 10.210.169.72
YIADDR: 10.210.169.72
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 2c:cf:58:99:5e:f7:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      43200 (12h)
OPTION:   1 (  4) Subnet mask               255.255.252.0
OPTION:   3 (  4) Routers                   10.210.168.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  42 (  4) NTP servers               62.21.96.17
OPTION:  82 ( 52) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:2d:53:7a:61:6d:6f:74:75:6c:79:20:65:74:68:20:30:2f:33:2f:39:2f:31:36:2f:31:2f:32:30
                  Remote-ID    
34:38:35:37:35:34:34:33:39:39:35:45:46:35:34:41
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.569
    IP: 172.29.34.171 (10:e:7e:c7:bf:f0) > 192.168.55.93 (7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: b4f1064f
  SECS: 15651
 FLAGS: 0
CIADDR: 172.29.34.171
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:02:07:bc:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  55 (  7) Parameter Request List      1 (Subnet mask)
                         28 (Broadcast address)
                          2 (Time offset)
                          3 (Routers)
                         15 (Domainname)
                          6 (DNS server)
                         12 (Host name)
                       
OPTION:  82 ( 54) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:30:35:2f:30:37:2f:31:34:2f:31:2f:34
                  Remote-ID    
41:4c:43:4c:46:38:45:37:31:37:42:44:2d:73:74:62

---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.570
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 172.29.34.171 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: b4f1064f
  SECS: 15651
 FLAGS: 0
CIADDR: 172.29.34.171
YIADDR: 172.29.34.171
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:02:07:bc:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      38361 (10h39m21s)
OPTION:   1 (  4) Subnet mask               255.255.254.0
OPTION:   3 (  4) Routers                   172.29.34.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  82 ( 54) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:30:35:2f:30:37:2f:31:34:2f:31:2f:34
                  Remote-ID    
41:4c:43:4c:46:38:45:37:31:37:42:44:2d:73:74:62
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.670
    IP: 172.29.0.176 (10:e:7e:c7:9f:f0) > 192.168.55.93 (7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: ad97ff72
  SECS: 17956
 FLAGS: 0
CIADDR: 172.29.0.176
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:01:6b:f2:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  55 (  7) Parameter Request List      1 (Subnet mask)
                         28 (Broadcast address)
                          2 (Time offset)
                          3 (Routers)
                         15 (Domainname)
                          6 (DNS server)
                         12 (Host name)
                       
OPTION:  82 ( 53) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:4f:77:73:69:61:6e:61:20:65:74:68:20:31:2f:31:2f:30:39:2f:30:38:2f:33:36:2f:31:2f:34
                  Remote-ID    
41:4c:43:4c:46:38:45:37:31:36:41:37:2d:73:74:62
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.670
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 172.29.0.176 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: ad97ff72
  SECS: 17956
 FLAGS: 0
CIADDR: 172.29.0.176
YIADDR: 172.29.0.176
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 30:eb:25:01:6b:f2:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      36050 (10h50s)
OPTION:   1 (  4) Subnet mask               255.255.255.0
OPTION:   3 (  4) Routers                   172.29.0.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  82 ( 53) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:31:5f:4f:77:73:69:61:6e:61:20:65:74:68:20:31:2f:31:2f:30:39:2f:30:38:2f:33:36:2f:31:2f:34
                  Remote-ID    
41:4c:43:4c:46:38:45:37:31:36:41:37:2d:73:74:62
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.670
    IP: 10.210.83.181 (10:e:7e:c7:9f:f0) > 192.168.55.93 (7e:80:72:72:43:e2)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 6f11883e
  SECS: 0
 FLAGS: 0
CIADDR: 10.210.83.181
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: a4:c7:de:09:34:cf:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  61 (  7) Client-identifier         01:a4:c7:de:09:34:cf
OPTION:  60 ( 11) Vendor class identifier   udhcp 1.9.2
OPTION:  55 (  8) Parameter Request List      1 (Subnet mask)
                          3 (Routers)
                          6 (DNS server)
                         12 (Host name)
                         15 (Domainname)
                         28 (Broadcast address)
                         42 (NTP servers)
                         66 (TFTP server name)
                       
OPTION:  82 ( 57) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:30:38:2f:30:37:2f:34:39:2f:31:35:2f:31:36
                  Remote-ID    
41:4c:43:4c:46:38:45:38:46:43:44:35:2d:76:6f:69:70
---------------------------------------------------------------------------

  TIME: 2016-05-05 10:27:01.670
    IP: 192.168.55.93 (7e:80:72:72:43:e2) > 10.210.83.181 (0:0:5e:0:1:4d)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 6f11883e
  SECS: 0
 FLAGS: 0
CIADDR: 10.210.83.181
YIADDR: 10.210.83.181
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: a4:c7:de:09:34:cf:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         5 (DHCPACK)
OPTION:  54 (  4) Server identifier         192.168.55.93
OPTION:  51 (  4) IP address leasetime      43200 (12h)
OPTION:   1 (  4) Subnet mask               255.255.252.0
OPTION:   3 (  4) Routers                   10.210.80.1
OPTION:   6 (  8) DNS server                62.21.99.94,62.21.99.95
OPTION:  42 (  4) NTP servers               62.21.96.17
OPTION:  82 ( 57) Relay Agent Information  
                  Circuit-ID   
4f:4c:54:32:5f:53:77:61:72:7a:65:64:7a:20:65:74:68:20:31:2f:31:2f:30:38:2f:30:37:2f:34:39:2f:31:35:2f:31:36
                  Remote-ID    
41:4c:43:4c:46:38:45:38:46:43:44:35:2d:76:6f:69:70



####################################################################################################
####################################################################################################

Lease file entries with upper examples:

---------------------------------------------------------------------------
lease 100.70.36.60 {
  starts 4 2016/05/05 07:19:50;
  ends 4 2016/05/05 19:19:50;
  tstp 5 2016/05/06 01:19:50;
  tsfp 5 2016/05/06 01:19:50;
  atsfp 5 2016/05/06 01:19:50;
  cltt 4 2016/05/05 09:00:47;
  binding state active;
  next binding state expired;
  hardware ethernet 00:18:e7:df:6b:ef;
  uid "\001\000\030\347\337k\357";
  option agent.circuit-id "OLT1_SWA eth 1/1/17/03/29/1/1";
  option agent.remote-id "8E90129-int";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}
---------------------------------------------------------------------------
lease 172.29.36.232 {
  starts 4 2016/05/05 07:51:30;
  ends 4 2016/05/05 19:51:30;
  tstp 5 2016/05/06 01:51:30;
  tsfp 5 2016/05/06 01:51:30;
  atsfp 5 2016/05/06 01:51:30;
  cltt 4 2016/05/05 09:04:58;
  binding state active;
  next binding state expired;
  hardware ethernet 30:eb:25:01:2d:e0;
  option agent.circuit-id "OLT1_OSW eth 1/1/09/03/29/1/3";
  option agent.remote-id "8D9238C-stb";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}
---------------------------------------------------------------------------
lease 100.70.122.216 {
  starts 4 2016/05/05 08:13:11;
  ends 4 2016/05/05 20:13:11;
  tstp 5 2016/05/06 02:13:11;
  tsfp 5 2016/05/06 02:13:11;
  atsfp 5 2016/05/06 02:13:11;
  cltt 4 2016/05/05 09:05:07;
  binding state active;
  next binding state expired;
  hardware ethernet 48:f8:b3:25:d7:02;
  uid "\001H\370\263%\327\002";
  option agent.circuit-id "OLT1_RASZ eth 1/1/10/06/23/1/1";
  option agent.remote-id "8EB4091-int";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}
---------------------------------------------------------------------------
lease 172.29.34.167 {
  starts 4 2016/05/05 07:25:12;
  ends 4 2016/05/05 19:25:12;
  tstp 5 2016/05/06 01:25:12;
  tsfp 5 2016/05/06 01:25:12;
  atsfp 5 2016/05/06 01:25:12;
  cltt 4 2016/05/05 09:05:07;
  binding state active;
  next binding state expired;
  hardware ethernet 30:eb:25:04:1f:d8;
  option agent.circuit-id "OLT2_SWA eth 1/1/06/06/2/1/4";
  option agent.remote-id "8EB3FB2-stb";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}
---------------------------------------------------------------------------
lease 10.210.169.72 {
  starts 4 2016/05/05 08:27:01;
  ends 4 2016/05/05 20:27:01;
  tstp 5 2016/05/06 02:27:01;
  tsfp 5 2016/05/06 02:27:01;
  atsfp 5 2016/05/06 02:27:01;
  cltt 4 2016/05/05 08:27:01;
  binding state active;
  next binding state expired;
  hardware ethernet 2c:cf:58:99:5e:f7;
  uid "\001,\317X\231^\367";
  option agent.circuit-id "OLT2-SZA eth 0/3/9/16/1/20";
  option agent.remote-id "3995EF54A";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}
---------------------------------------------------------------------------
lease 172.29.34.171 {
  starts 4 2016/05/05 07:06:22;
  ends 4 2016/05/05 19:06:22;
  tstp 5 2016/05/06 01:06:22;
  tsfp 5 2016/05/06 01:06:22;
  atsfp 5 2016/05/06 01:06:22;
  cltt 4 2016/05/05 08:45:09;
  binding state active;
  next binding state expired;
  hardware ethernet 30:eb:25:02:07:bc;
  option agent.circuit-id "OLT2_SWA eth 1/1/05/07/14/1/4";
  option agent.remote-id "8E717BD-stb";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}
---------------------------------------------------------------------------
lease 172.29.0.176 {
  starts 4 2016/05/05 06:27:51;
  ends 4 2016/05/05 18:27:51;
  tstp 5 2016/05/06 00:27:51;
  tsfp 5 2016/05/06 00:27:51;
  atsfp 5 2016/05/06 00:27:51;
  cltt 4 2016/05/05 09:04:59;
  binding state active;
  next binding state expired;
  hardware ethernet 30:eb:25:01:6b:f2;
  option agent.circuit-id "OLT1_OWS eth 1/1/09/08/36/1/4";
  option agent.remote-id "8E716A7-stb";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}
---------------------------------------------------------------------------
lease 10.210.83.181 {
  starts 4 2016/05/05 08:27:01;
  ends 4 2016/05/05 20:27:01;
  tstp 5 2016/05/06 02:27:01;
  tsfp 5 2016/05/06 02:27:01;
  atsfp 5 2016/05/06 02:27:01;
  cltt 4 2016/05/05 08:27:01;
  binding state active;
  next binding state expired;
  hardware ethernet a4:c7:de:09:34:cf;
  uid "\001\244\307\336\0114\317";
  set vendor-class-identifier = "udhcp 1.9.2";
  option agent.circuit-id "OLT2_SWA eth 1/1/08/07/49/15/16";
  option agent.remote-id "8E8FCD5-voip";
  on expiry {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
  on release {
    log (info,
        concat ("expired: ",
                binary-to-ascii (10, 8, ".", leased-address)));
  }
}


-- System Information:
cat /etc/debian_version
8.3

cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel at lists.debian.org) (gcc
version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u3
(2016-01-17)

lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 8.3 (jessie)
Release:    8.3
Codename:    jessie

lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                3
On-line CPU(s) list:   0-2
Thread(s) per core:    1
Core(s) per socket:    3
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            15
Model:                 6
Model name:            Common KVM processor
Stepping:              1
CPU MHz:               2099.998
BogoMIPS:              4199.99
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
NUMA node0 CPU(s):     0-2

cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 15
model        : 6
model name    : Common KVM processor
stepping    : 1
microcode    : 0x1
cpu MHz        : 2099.998
cache size    : 4096 KB
physical id    : 0
siblings    : 3
core id        : 0
cpu cores    : 3
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl
pni cx16 x2apic hypervisor
bogomips    : 4199.99
clflush size    : 64
cache_alignment    : 128
address sizes    : 40 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 15
model        : 6
model name    : Common KVM processor
stepping    : 1
microcode    : 0x1
cpu MHz        : 2099.998
cache size    : 4096 KB
physical id    : 0
siblings    : 3
core id        : 1
cpu cores    : 3
apicid        : 1
initial apicid    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl
pni cx16 x2apic hypervisor
bogomips    : 4199.99
clflush size    : 64
cache_alignment    : 128
address sizes    : 40 bits physical, 48 bits virtual
power management:

processor    : 2
vendor_id    : GenuineIntel
cpu family    : 15
model        : 6
model name    : Common KVM processor
stepping    : 1
microcode    : 0x1
cpu MHz        : 2099.998
cache size    : 4096 KB
physical id    : 0
siblings    : 3
core id        : 2
cpu cores    : 3
apicid        : 2
initial apicid    : 2
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl
pni cx16 x2apic hypervisor
bogomips    : 4199.99
clflush size    : 64
cache_alignment    : 128
address sizes    : 40 bits physical, 48 bits virtual
power management:

-- 
=-=-=-=-=-=-=-=-= 

Pozdrawiam | Best Regards 

Rafał Szymkowiak | Administrator sieci | t: 61 222 13 83 | m: 608 456 083
Wysogotowo | ul. Wierzbowa 84 | 62-081 Przeźmierowo | rafal.szymkowiak at inea.com.pl 

INEA S.A. z siedzibą w Poznaniu, ul. Klaudyny Potockiej 25, 60-211 Poznań, 
adres do korespondencji: Wysogotowo, ul. Wierzbowa 84, 62-081 Przeźmierowo, 
wpisana do rejestru przedsiębiorców Krajowego Rejestru Sądowego pod numerem KRS 0000056936, 
której akta rejestrowe przechowuje Sąd Rejonowy Poznań-Nowe Miasto i Wilda w Poznaniu, 
VIII Wydział Gospodarczy Krajowego Rejestru Sądowego, NIP: 7791002618, REGON: 630239680, 
kapitał zakładowy 679.600,00 zł, w całości wpłacony.   



More information about the pkg-dhcp-devel mailing list