[Kea-users] Problems with offer from KEA

egor.grijuc at orange.com egor.grijuc at orange.com
Fri Sep 3 09:44:51 UTC 2021


Hello.
I faced a problem with offering ip addresses from KEA to end user.
Configuration is very simple:1 shared network and matching with suboption 150 of option 82
KEA does matching correctly and offering correct options to client and correct ip.
The only problem is that this offer doesn't reach client.
In the same time on same server if I stop KEA an start simple dhcpd-offer reaches client, you can see in attached file SimpleDHCP.cap that after offer are request and ACK, but in KeaDHCP.cap are only
Dicove-offer and offer doesn't reach client)
The problem is that I don't see any difference between offer from simple dhcpd and kea dhcp.
In attachment are 2 cap files,SimpleDHCP.cap - is packet capture when simple isc dhcpd server runs and KeaDHCP.cap is packet capture when kea dhcp4 server runs.
Can anyone explain me where is the difference?
Below is configuration of kea:
{
"Dhcp4": {
    "interfaces-config": {
        "interfaces": [ "ens224.22" ],
        "dhcp-socket-type": "udp"

    },

    "control-socket": {
        "socket-type": "unix",
        "socket-name": "/tmp/kea4-ctrl-socket"
    },

    "lease-database": {
        "type": "memfile",
        "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
    },

    "renew-timer": 900,
    "rebind-timer": 1800,
    "valid-lifetime": 3600,


    "option-data": [
    ],


    "client-classes": [
        {
"name":"GponTestMGM",
"test":"option[82].option[150].hex == 0x6441a000"
                },
{
"name":"GponTestData",
"test":"option[82].option[150].hex == 0x5cb58840"
                }
    ],
    "subnet4": [],

    "reservations": [

    ],
"shared-networks": [
        {
        "interface": "ens224.22",
           "subnet4": [
                {
                   "id": 2,
                    "relay": { "ip-address": "100.65.160.1" },
                    "option-data": [{"name": "routers","csv-format": false,"data":"64 41 a0 01"}],
                    "pools": [{ "pool": "100.65.160.2 - 100.65.160.100"}],
                    "rebind-timer": 21500,
                    "renew-timer": 21400,
                    "subnet": "100.65.160.0/19",
                    "valid-lifetime": 21600,
                    "client-class": "GponTestMGM"
                }
            ],
            "name":"GponMGMTest"
        }
],

    "loggers": [
    {
        "name": "kea-dhcp4",
        "output_options": [
            {
                "output": "/usr/local/var/log/kea-dhcp4.log"




            }
        ],
        "severity": "INFO",

        "debuglevel": 0
    }
  ]
}
}

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210903/6e0dd375/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KeaDHCP.cap
Type: application/octet-stream
Size: 8311 bytes
Desc: KeaDHCP.cap
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210903/6e0dd375/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleDHCP.cap
Type: application/octet-stream
Size: 5094 bytes
Desc: SimpleDHCP.cap
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210903/6e0dd375/attachment-0003.obj>


More information about the Kea-users mailing list