[Kea-users] Fw: Kea DHCP6 issue!

Khalid Amin khalidamin2 at hotmail.com
Wed Oct 18 10:10:50 UTC 2023


________________________________
From: Khalid Amin <khalidamin2 at hotmail.com>
Sent: 18 October 2023 11:57
To: Tomek Mrugalski <tomek at isc.org>; kea-users at lists.isc.org <kea-users at lists.isc.org>
Subject: Re: Kea DHCP6 issue!

Hi,

Thank you for replying me back.
Actually the second message you were seeing was from the Cisco ASR where Managed config flag is set to 1.
I have disabled Ipv6 pool on router and now there is no reply back from router. Please have a look at the attached capture file.

The problem which I am facing is the IPv6 clients are getting IP's from the server but not from the pool which I defined in the configuration.
[cid:eb4f0b68-eb57-49a2-9669-1719ffcd400e]
[cid:77ed4fbb-ae6e-47eb-b3f1-13821f57a7a4]

I have already reserved addresses for both DUID and physical address which can be seen in the above log, the client was suppose to get 2022:1200:1100:1000::170/64 address but it is automatically assign some random IAA address.

Here is the kea dhcp6 configuration:

{
  "Dhcp6": {
    "server-id": {
      "type": "EN"
    },
    "interfaces-config": {
      "interfaces": ["ens192/fe80::250:56ff:feb6:1f42"]
    },
    "control-socket": {
      "socket-type": "unix",
      "socket-name": "/tmp/kea6-ctrl-socket"
    },
    "lease-database": {
      "type": "memfile",
      "persist": true,
      "name": "/tmp/dhcp6.leases",
      "lfc-interval": 3600
    },
    "expired-leases-processing": {
      "reclaim-timer-wait-time": 10,
      "flush-reclaimed-timer-wait-time": 25,
      "hold-reclaimed-time": 3600,
      "max-reclaim-leases": 100,
      "max-reclaim-time": 250,
      "unwarned-reclaim-cycles": 5
    },
    "option-data": [
      {
        "name": "dns-servers",
        "data": "fe80::38a8:86f9:5fbe:882c, fd4d:5449:7200:103::12",
        "code": 23,
        "space": "dhcp6",
        "csv-format": true,
        "always-send": true
      },
      {
        "name": "unicast",
        "data": "fe80::250:56ff:feb6:1f42"
      }
    ],
    "renew-timer": 1000,
    "rebind-timer": 2000,
    "preferred-lifetime": 3000,
    "valid-lifetime": 4000,
    "subnet6": [
      {
        "subnet": "2022:1200:1100:1000::/64",
        "id": 50,
        "rapid-commit": false,
        "pools": [
          {
            "pool": "2022:1200:1100:1000::150-2022:1200:1100:1000::200"
          }
        ],
       "interface": "ens192",

     "reservations": [
        {
          "duid": "00:01:00:01:2C:88:FD:CE:F0:DE:F1:5B:13:FF",
          "ip-addresses": ["2022:1200:1100:1000::180"]
        },

       {
          "hw-address": "F0:DE:F1:5B:13:FE",
          "ip-addresses": [ "2022:1200:1100:1000::170" ]
       },
  {
          "duid": "00:03:00:01:00:0d:3b:1d:92:8e",
          "ip-addresses": ["2022:1200:1100:1000::199"]
        }
      ]
   }],
    "loggers": [
      {
        "name": "kea-dhcp6",
        "output_options": [
          {
            "output": "/var/log/kea-dhcp6.log"
          }
        ],
        "severity": "DEBUG",
        "debuglevel": 99
      }
    ]
  }
}


Please have a look and kindly let me know what I am doing wrong.
Waiting for your earliest reply.

Thank you!
Kind regards,
Khalid


________________________________
From: Tomek Mrugalski <tomek at isc.org>
Sent: 18 October 2023 10:39
To: Khalid Amin <khalidamin2 at hotmail.com>
Subject: Re: Kea DHCP6 issue!

Hi,
You've sent this mail to kea-users-owner, an administrative address that
can possibly help with subscribing and unsubscribing to the list.

Please resend to kea-users at lists.isc.org.

Cheers,
Tomek

p.s.
I took a quick look.

First, you provided a lot of information, but didn't say what exactly is
the problem you are trying to solve. If you expect anyone debug your
network for you, you need to provide some pointers.

Second, the traffic capture you provided has two REPLY messages for most
client messages. These are sent by two different DHCPv6 servers. From
your diagram it seems you have only one server running, but you actually
have two.

Third, you mentioned a problem with address release. I don't see any
RELEASE messages in the capture.

On 16.10.2023 15:35, Khalid Amin wrote:
> Hello,
>
> I have been stuck on an issue regarding IPv6 address release from the
> server (packet capture from client side attached). Kea is running on
> ubuntu 22.04 as a VM running on Esxi 7.0 Please have a look at the
> drawing below:
>
>
> The is no link layer connectivity issue when i ping from client pc to
> server and router.
>
> *Cisco ASR configuration:*
>
> interface TenGigabitEthernet0/0/5
>  mtu 9216
>  no ip address
>  service instance 50 ethernet
>   encapsulation dot1q 50
>   rewrite ingress tag pop 1 symmetric
> DKCPH-RAD-DEV-ASR01#show run | sec IPv6
> ipv6 dhcp pool IPv6Pool
>  address prefix 2022:1200:1100:1000::/64
>  dns-server FE80::38A8:86F9:5FBE:882C
>  domain-name testbed.local
>  ipv6 dhcp server IPv6Pool
> DKCPH-RAD-DEV-ASR01#show run | sec BDI50
> interface BDI50
>  ip address 10.10.50.254 255.255.255.0
>  cdp enable
>  ipv6 address FE80::10 link-local
>  ipv6 address 2022:1200:1100:1000::1/64
>  ipv6 enable
>  ipv6 nd prefix 2022:1200:1100:1000::/64 2592000 604800 no-autoconfig
>  ipv6 nd managed-config-flag
>  ipv6 nd ra interval 30
>  ipv6 dhcp server IPv6Pool
> interface BDI500
>  no ip address
>  shutdown
>
> *Kea dhcp6 configuration file:*
>
> {
> "Dhcp6": {
>     "server-id": {
>          "type": "EN",
>      #   "htype": 1,
>      #   "identifier": "bc26c7bd7280",
>      #    "identifier": "005056b61f42"
>     #    "time": "",
>
>
>     },
>
>     "interfaces-config": {
>         "interfaces": [ "ens192/2022:1200:1100:1000::cafe" ]
>     },
>
>     "control-socket": {
>         "socket-type": "unix",
>         "socket-name": "/tmp/kea6-ctrl-socket"
>     },
>
>     "lease-database": {
>         "type": "memfile",
>         "persist": true,
>         "name": "/tmp/dhcp6.leases",
>         "lfc-interval": 3600
>     },
>
>     "expired-leases-processing": {
>         "reclaim-timer-wait-time": 10,
>         "flush-reclaimed-timer-wait-time": 25,
>         "hold-reclaimed-time": 3600,
>         "max-reclaim-leases": 100,
>         "max-reclaim-time": 250,
>         "unwarned-reclaim-cycles": 5
>     },
>
>    "option-data": [
>        {
>         "name": "dns-servers",
>         "data": "fe80::38a8:86f9:5fbe:882c, fd4d:5449:7200:103::12",
>         "code": 23,
>         "space": "dhcp6",
>         "csv-format": true,
>         "always-send": true
>        },
>
>        {
>         "name": "unicast",
>         "data": "fe80::250:56ff:feb6:1f42"
>        }
>     ],
>
>     "renew-timer": 1000,
>     "rebind-timer": 2000,
>   "preferred-lifetime": 3000,
>     "valid-lifetime": 28800,
>
>     "subnet6": [
>
>         {
>             "id": 1,
>   //        "interface-id": "ens192",
>   //        "pools": [ { "pool": "2022:1200:1100:1000::1 -
> 2022:1200:1100:1000::ffff" } ],
>             "pools": [ { "pool": "2022:1200:1100:1000::/64" } ],
>             "subnet": "2022:1200:1100:1000::/64",
>  //         "rapid-commit": true,
>
>
>
>             "reservations": [
>                 {
>                     "duid": "00:01:00:01:2C:88:FD:CE:F0:DE:F1:5B:13:FE",
>                     "ip-addresses": [ "2022:1200:1100:1000::cafe" ]
> #,
> #                   "option-data" : [
> #                       {
> #                           "name":"vendor-opts",
> #                           "space":"vendor-53148",
> #                           "data":"00:86::00:01:01:00:81:00:04:ac:10:5f:13"
> #                       }
> #                   ]
>                 },
>                                {
>                     "duid": "00:03:00:01:00:0d:3b:1d:92:8e",
>                     "ip-addresses": [ "2022:1200:1100:1000::180" ]
> #                   "option-data" : [
> #                       {
> #                           "name":"vendor-opts",
> #                           "space":"vendor-53148"
> #                           "data":""
> #                       }
> #                   ]
>                 }
>
>             ]
>         }
>
>     ],
>
>     "loggers": [
>     {
>         "name": "kea-dhcp6",
>         "output_options": [
>             {
>                 "output": "/var/log/kea-dhcp6.log"
>
>             }
>         ],
>         "severity": "DEBUG",
>         "debuglevel": 99
>     }
>   ]
> }
> }
>
> *Kea dhc6 Netplan file:*
>
> # Let NetworkManager manage all devices on this system
> network:
>   version: 2
>   renderer: networkd
>   ethernets:
>      ens160:
>         dhcp4: no
>         addresses: [172.17.21.61/24]
>         dhcp6: no
>         routes:
>         - to: 0.0.0.0/0
>           via: 172.17.21.253
>             #          metric: 100
>         nameservers:
>            addresses:
>               - 10.10.50.100
>               - 8.8.8.8
>      ens192:
>         dhcp4: no
>         dhcp6: no
> #  vlans:
> #     ens192.50:
>         accept-ra: no
> #        id: 50
>  #       link: ens192
>         addresses:
>                - 10.10.50.103/24
>                - 2022:1200:1100:1000::cafe/64
>         nameservers:
>            addresses: [10.10.50.100, 8.8.8.8,
> "fe80::38a8:86f9:5fbe:882c", "fd4d:5449:7200:103::11"]
>              #       routes:
>              #     - to: ::/0
>                 #       via: 2022:1200:1100:1000::1
>                 #     via: fe80::10
>                   #   metric: 1
>
> *Log on Kea dhcp6 server:*
>
> 2023-10-16 12:57:06.410 DEBUG [kea-dhcp6.dhcp6/3693.140694632691584]
> DHCP6_CONFIG_START DHCPv6 server is processing the following
> configuration: { "control-socket": { "socket-name":
> "/tmp/kea6-ctrl-socket", "socket-type": "unix" },
> "expired-leases-processing": { "flush-reclaimed-timer-wait-time": 25,
> "hold-reclaimed-time": 3600, "max-reclaim-leases": 100,
> "max-reclaim-time": 250, "reclaim-timer-wait-time": 10,
> "unwarned-reclaim-cycles": 5 }, "interfaces-config": { "interfaces": [
> "ens192/2022:1200:1100:1000::cafe" ] }, "lease-database": {
> "lfc-interval": 3600, "name": "/tmp/dhcp6.leases", "persist": true,
> "type": "memfile" }, "loggers": [ { "debuglevel": 99, "name":
> "kea-dhcp6", "output_options": [ { "output": "/var/log/kea-dhcp6.log" }
> ], "severity": "DEBUG" } ], "option-data": [ { "always-send": true,
> "code": 23, "csv-format": true, "data": "fe80::38a8:86f9:5fbe:882c,
> fd4d:5449:7200:103::12", "name": "dns-servers", "space": "dhcp6" }, {
> "data": "fe80::250:56ff:feb6:1f42", "name": "unicast" } ],
> "preferred-lifetime": 3000, "rebind-timer": 2000, "renew-timer": 1000,
> "server-id": { "type": "EN" }, "subnet6": [ { "id": 1, "pools": [ {
> "pool": "2022:1200:1100:1000::/64" } ], "reservations": [ { "duid":
> "00:01:00:01:2C:88:FD:CE:F0:DE:F1:5B:13:FE", "ip-addresses": [
> "2022:1200:1100:1000::cafe" ] }, { "duid":
> "00:03:00:01:00:0d:3b:1d:92:8e", "ip-addresses": [
> "2022:1200:1100:1000::180" ] } ], "subnet": "2022:1200:1100:1000::/64" }
> ], "valid-lifetime": 28800 }
> 2023-10-16 12:57:06.410 INFO  [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_BACKENDS_REGISTERED the following host backend types are available:
> 2023-10-16 12:57:06.410 WARN  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MT_DISABLED_QUEUE_CONTROL disabling dhcp queue control when
> multi-threading is enabled.
> 2023-10-16 12:57:06.410 WARN  [kea-dhcp6.dhcp6/3693.140694632691584]
> DHCP6_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and
> host reservations lookup is always performed first.
> 2023-10-16 12:57:06.410 WARN  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_CONFIGURE_SERVERID server configuration includes
> specification of a server identifier
> 2023-10-16 12:57:06.410 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_USE_UNICAST listening on unicast address
> 2022:1200:1100:1000::cafe, on interface ens192
> 2023-10-16 12:57:06.410 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_NEW_SUBNET6 a new subnet has been added to configuration:
> 2022:1200:1100:1000::/64 with params: t1=1000, t2=2000,
> preferred-lifetime=3000, valid-lifetime=28800, rapid-commit is false
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_ADD_HOST add the host for reservations:
> duid=000100012C88FDCEF0DEF15B13FE ipv6_subnet_id=1 hostname=(empty)
> ipv4_reservation=(no) siaddr=(no) sname=(empty) file=(empty) key=(empty)
> ipv6_reservation0=2022:1200:1100:1000::cafe
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv6
> reservation for subnet id 1, identified by duid=000100012C88FDCEF0DEF15B13FE
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using
> identifier: duid=000100012C88FDCEF0DEF15B13FE
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier
> duid=000100012C88FDCEF0DEF15B13FE, found 0 host(s)
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet
> id 1 and identifier duid=000100012C88FDCEF0DEF15B13FE
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS6 get one host with reservation for
> subnet id 1 and having IPv6 address 2022:1200:1100:1000::cafe
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_SUBNET_ID_ADDRESS6 get all hosts with reservations for
> subnet id 1 and IPv6 address 2022:1200:1100:1000::cafe
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_SUBNET_ID_ADDRESS6_COUNT using subnet id 1 and address
> 2022:1200:1100:1000::cafe, found 0 host(s)
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS6_NULL host not found using subnet id
> 1 and address 2022:1200:1100:1000::cafe
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_ADD_HOST add the host for reservations:
> duid=00030001000D3B1D928E ipv6_subnet_id=1 hostname=(empty)
> ipv4_reservation=(no) siaddr=(no) sname=(empty) file=(empty) key=(empty)
> ipv6_reservation0=2022:1200:1100:1000::180
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv6
> reservation for subnet id 1, identified by duid=00030001000D3B1D928E
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using
> identifier: duid=00030001000D3B1D928E
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier
> duid=00030001000D3B1D928E, found 0 host(s)
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet
> id 1 and identifier duid=00030001000D3B1D928E
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS6 get one host with reservation for
> subnet id 1 and having IPv6 address 2022:1200:1100:1000::180
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_SUBNET_ID_ADDRESS6 get all hosts with reservations for
> subnet id 1 and IPv6 address 2022:1200:1100:1000::180
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ALL_SUBNET_ID_ADDRESS6_COUNT using subnet id 1 and address
> 2022:1200:1100:1000::180, found 0 host(s)
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.hosts/3693.140694632691584]
> HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS6_NULL host not found using subnet id
> 1 and address 2022:1200:1100:1000::180
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_ADD_SUBNET6 adding subnet 2022:1200:1100:1000::/64
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_UNREGISTER_ALL_TIMERS unregistering all timers
> 2023-10-16 12:57:06.411 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_SOCKET_TYPE_SELECT using socket type raw
> 2023-10-16 12:57:06.411 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_USE_UNICAST listening on unicast address
> 2022:1200:1100:1000::cafe, on interface ens192
> 2023-10-16 12:57:06.411 INFO  [kea-dhcp6.commands/3693.140694632691584]
> COMMAND_ACCEPTOR_START Starting to accept connections via unix domain
> socket bound to /tmp/kea6-ctrl-socket
> 2023-10-16 12:57:06.411 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_CFG_DHCP_DDNS Setting DHCP-DDNS configuration to:
> DHCP-DDNS updates disabled
> 2023-10-16 12:57:06.412 INFO  [kea-dhcp6.dhcp6/3693.140694632691584]
> DHCP6_CONFIG_COMPLETE DHCPv6 server has completed configuration: added
> IPv6 subnets: 1; DDNS: disabled
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=3600
> name=/tmp/dhcp6.leases persist=true type=memfile universe=6
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /tmp/dhcp6.leases
> 2023-10-16 12:57:06.414 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_BEGIN_BUILD_EXTENDED_INFO_TABLES6 building extended info
> tables with fix sanity check level, tables disabled
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_BUILD_EXTENDED_INFO_TABLES6 building extended info
> tables saw 0 leases, extended info sanity checks modified 0 / updated 0
> leases and 0 leases were entered into tables
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to
> 3600 sec
> 2023-10-16 12:57:06.414 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_REGISTER_TIMER registering timer: memfile-lfc, using
> interval: 3600000 ms
> 2023-10-16 12:57:06.414 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_START_TIMER starting timer: memfile-lfc
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcp6/3693.140694632691584]
> DHCP6_USING_SERVERID server is using server-id
> 00:02:00:00:09:bf:2b:66:fe:59:d4:f8 and stores in the file
> /usr/local/var/lib/kea/kea-dhcp6-serverid
> 2023-10-16 12:57:06.415 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_REGISTER_TIMER registering timer:
> reclaim-expired-leases, using interval: 10000 ms
> 6
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /tmp/dhcp6.leases
> 2023-10-16 12:57:06.414 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_BEGIN_BUILD_EXTENDED_INFO_TABLES6 building extended info
> tables with fix sanity check level, tables disabled
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_BUILD_EXTENDED_INFO_TABLES6 building extended info
> tables saw 0 leases, extended info sanity checks modified 0 / updated 0
> leases and 0 leases were entered into tables
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to
> 3600 sec
> 2023-10-16 12:57:06.414 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_REGISTER_TIMER registering timer: memfile-lfc, using
> interval: 3600000 ms
> 2023-10-16 12:57:06.414 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_START_TIMER starting timer: memfile-lfc
> 2023-10-16 12:57:06.414 INFO  [kea-dhcp6.dhcp6/3693.140694632691584]
> DHCP6_USING_SERVERID server is using server-id
> 00:02:00:00:09:bf:2b:66:fe:59:d4:f8 and stores in the file
> /usr/local/var/lib/kea/kea-dhcp6-serverid
> 2023-10-16 12:57:06.415 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_REGISTER_TIMER registering timer:
> reclaim-expired-leases, using interval: 10000 ms
> 2023-10-16 12:57:06.415 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_START_TIMER starting timer: reclaim-expired-leases
> 2023-10-16 12:57:06.415 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_REGISTER_TIMER registering timer:
> flush-reclaimed-leases, using interval: 25000 ms
> 2023-10-16 12:57:06.415 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_START_TIMER starting timer: flush-reclaimed-leases
> 2023-10-16 12:57:06.415 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for IA_NA
> leases in subnet 2022:1200:1100:1000::/64
> 2023-10-16 12:57:06.415 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for IA_TA
> leases in subnet 2022:1200:1100:1000::/64
> 2023-10-16 12:57:06.415 INFO  [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for IA_PD
> leases in subnet 2022:1200:1100:1000::/64
> 2023-10-16 12:57:06.415 WARN  [kea-dhcp6.dhcp6/3693.140694632691584]
> DHCP6_MULTI_THREADING_INFO enabled: yes, number of threads: 12, queue
> size: 64
> 2023-10-16 12:57:06.416 INFO  [kea-dhcp6.dhcp6/3693.140694632691584]
> DHCP6_STARTED Kea DHCPv6 server version 2.4.0 started
> 2023-10-16 12:57:16.426 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_RUN_TIMER_OPERATION running operation for timer:
> reclaim-expired-leases
> 2023-10-16 12:57:16.427 DEBUG
> [kea-dhcp6.alloc-engine/3693.140694632691584]
> ALLOC_ENGINE_V6_LEASES_RECLAMATION_START starting reclamation of expired
> leases (limit = 100 leases or 250 milliseconds)
> 2023-10-16 12:57:16.427 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_GET_EXPIRED6 obtaining maximum 101 of expired IPv6 leases
> 2023-10-16 12:57:16.427 DEBUG
> [kea-dhcp6.alloc-engine/3693.140694632691584]
> ALLOC_ENGINE_V6_LEASES_RECLAMATION_COMPLETE reclaimed 0 leases in 0.035 ms
> 2023-10-16 12:57:16.427 DEBUG
> [kea-dhcp6.alloc-engine/3693.140694632691584]
> ALLOC_ENGINE_V6_NO_MORE_EXPIRED_LEASES all expired leases have been
> reclaimed
> 2023-10-16 12:57:16.427 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_START_TIMER starting timer: reclaim-expired-leases
> 2023-10-16 12:57:26.437 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_RUN_TIMER_OPERATION running operation for timer:
> reclaim-expired-leases
> 2023-10-16 12:57:26.438 DEBUG
> [kea-dhcp6.alloc-engine/3693.140694632691584]
> ALLOC_ENGINE_V6_LEASES_RECLAMATION_START starting reclamation of expired
> leases (limit = 100 leases or 250 milliseconds)
> 2023-10-16 12:57:26.438 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_MEMFILE_GET_EXPIRED6 obtaining maximum 101 of expired IPv6 leases
> 2023-10-16 12:57:26.438 DEBUG
> [kea-dhcp6.alloc-engine/3693.140694632691584]
> ALLOC_ENGINE_V6_LEASES_RECLAMATION_COMPLETE reclaimed 0 leases in 0.027 ms
> 2023-10-16 12:57:26.438 DEBUG
> [kea-dhcp6.alloc-engine/3693.140694632691584]
> ALLOC_ENGINE_V6_NO_MORE_EXPIRED_LEASES all expired leases have been
> reclaimed
> 2023-10-16 12:57:26.438 DEBUG [kea-dhcp6.dhcpsrv/3693.140694632691584]
> DHCPSRV_TIMERMGR_START_TIMER starting timer: reclaim-expired-leases
> 2023-10-16 12:57:29.552 DEBUG [kea-dhcp6.packets/3693.140694632691584]
> DHCP6_BUFFER_RECEIVED received buffer from fe80::9217:66fa:95d7:a275:546
> to ff02::1:2:0 over interface ens192
> 2023-10-16 12:57:29.553 DEBUG [kea-dhcp6.options/3693.140694576412352]
> DHCP6_BUFFER_UNPACK parsing buffer received from
> fe80::9217:66fa:95d7:a275 to ff02::1:2 over interface ens192
> 2023-10-16 12:57:29.553 DEBUG [kea-dhcp6.packets/3693.140694576412352]
> DHCP6_PACKET_RECEIVED duid=[00:01:00:01:2c:88:fd:ce:f0:de:f1:5b:13:fe],
> tid=0xfd2465: CONFIRM (type 4) received from fe80::9217:66fa:95d7:a275
> to ff02::1:2 on interface ens192
> 2023-10-16 12:57:29.553 DEBUG [kea-dhcp6.packets/3693.140694576412352]
> DHCP6_QUERY_DATA duid=[00:01:00:01:2c:88:fd:ce:f0:de:f1:5b:13:fe],
> tid=0xfd2465, packet details: localAddr=[ff02::1:2]:0
> remoteAddr=[fe80::9217:66fa:95d7:a275]:546
> msgtype=4(CONFIRM), transid=0xfd2465
> type=00001, len=00014: 00:01:00:01:2c:88:fd:ce:f0:de:f1:5b:13:fe
> type=00003(IA_NA), len=00040: iaid=250666737, t1=0, t2=0,
> options:
>   type=00005(IAADDR), len=00024:
> address=2022:1200:1100:1000:c8ef:f2a8:ac95:19d1, preferred-lft=0,
> valid-lft=0
> type=00006, len=00006: 17(uint16) 23(uint16) 24(uint16)
> type=00008, len=00002: 0 (uint16)
> type=16, len=14,  enterprise id=0x137, data-len0=8,
> vendor-class-data0='MSFT 5.0'
> No relays traversed.
>
> 2023-10-16 12:57:29.553 DEBUG [kea-dhcp6.dhcpsrv/3693.140694576412352]
> DHCPSRV_SUBNET6_SELECT_BY_INTERFACE_NO_MATCH No subnet matches
> interface: ens192
> 2023-10-16 12:57:29.553 DEBUG [kea-dhcp6.dhcpsrv/3693.140694576412352]
> DHCPSRV_SUBNET6_SELECT_BY_ADDRESS_NO_MATCH No subnet matches address:
> fe80::9217:66fa:95d7:a275
> 2023-10-16 12:57:29.553 DEBUG [kea-dhcp6.packets/3693.140694576412352]
> DHCP6_SUBNET_SELECTION_FAILED
> duid=[00:01:00:01:2c:88:fd:ce:f0:de:f1:5b:13:fe], tid=0xfd2465: failed
> to select subnet for the client
> 2023-10-16 12:57:29.553 DEBUG [kea-dhcp6.dhcp6/3693.140694576412352]
> DHCP6_CLASS_ASSIGNED duid=[00:01:00:01:2c:88:fd:ce:f0:de:f1:5b:13:fe],
> tid=0xfd2465: client packet has been assigned to the following
> class(es): UNKNOWN
>
> Please suggest!
>
> Waiting for your earliest response!
>
> Thank you!
>
> Kind regards,
> Khalid Amin
>
>
>
>
>
>
>
>                    ~
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231018/236e63fc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 41562 bytes
Desc: image.png
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231018/236e63fc/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 425427 bytes
Desc: image.png
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231018/236e63fc/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kea.pcapng
Type: application/octet-stream
Size: 36944 bytes
Desc: kea.pcapng
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231018/236e63fc/attachment-0001.obj>


More information about the Kea-users mailing list