[Kea-users] failed to select subnet for the client

Yury Tsaregorodtsev aero.1080 at icloud.com
Sun May 28 12:31:34 UTC 2017


Hi!
can anyone point me where is mistake?
I almost tried everything, but always same errors :(

2017-05-28 14:26:03.392 DEBUG [kea-dhcp4.packets/30941] DHCP4_BUFFER_RECEIVED received buffer from 0.0.0.0:68 to 255.255.255.255:67 over interface ens192
2017-05-28 14:26:03.393 DEBUG [kea-dhcp4.options/30941] DHCP4_BUFFER_UNPACK parsing buffer received from 0.0.0.0 to 255.255.255.255 over interface ens192
2017-05-28 14:26:03.393 DEBUG [kea-dhcp4.packets/30941] DHCP4_SUBNET_SELECTION_FAILED [hwtype=1 00:50:56:85:12:ad], cid=[01:00:50:56:85:12:ad], tid=0x25c7e4d: failed to select subnet for the client
2017-05-28 14:26:03.393 DEBUG [kea-dhcp4.bad-packets/30941] DHCP4_PACKET_DROP_0002 [hwtype=1 00:50:56:85:12:ad], cid=[01:00:50:56:85:12:ad], tid=0x25c7e4d, from interface ens192: no suitable subnet configured for a direct client


kea.conf
{
"Dhcp4": {
    "interfaces-config": {
        "interfaces": [ "ens192" ],
        "dhcp-socket-type": "raw"
    },

    "control-socket": {
        "socket-type": "unix",
        "socket-name": "/tmp/kea-dhcp4-ctrl.sock"
    },

    "lease-database": {
         "type": "mysql",
         "name": "kea_dhcp",
         "user": "root",
         "password": "dfhsdjk234Zbnmbs",
         "host": "138.201.211.126",
         "port": 3306
    },

     "hosts-database": {
         "type": "mysql",
         "name": "kea_dhcp",
         "user": "root",
         "password": "dfhsdjk234Zbnmbs",
         "host": "138.201.211.126",
         "port": 3306
     },

    "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
    },
    "renew-timer": 900,
    "rebind-timer": 1800,
    "valid-lifetime": 3600,

    "subnet4": [
        {
            "subnet": "172.0.1.0/24",
            "pools": [ { "pool": "172.0.1.1 - 172.0.1.200" } ]
	}
    ]
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170528/31966a76/attachment.htm>


More information about the Kea-users mailing list