Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 504
    • Issues 504
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 52
    • Merge requests 52
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #2399

Closed
Open
Created May 04, 2022 by John Crichton@astura

kea-dhcp4 2.0.2 fails to always send custom option

I´ve set up a dhcp IPv4 server, and set 3 custom options in a specific space, set a client class, and a subnet for this client, tried setting the 3 custom options as always send, but 2 of them do not get sent. The always send should force the option packet anyway.

"option-def": [ { "name": "PolycomVLAN",
                  "code": 128,
                  "space": "polycom",
                   "type": "string" },
                { "name": "PolycomVLANFixed",
                  "code": 129,
                  "space": "polycom",
                  "type": "string"
                 },
                { "name": "PolycomProvSer",
                  "code": 160,
                  "space": "polycom",
                  "type": "string" },
       "client-classes": [ { "name": "Polycom-VVX1500",
                "test": "option[vendor-class-identifier].text == 'Polycom-VVX1500'" } ]
{"subnet": "10.1.1.0/24",
 "id": 1,
 "pools": [ { "pool": "10.1.1.5 - 10.1.1.30" } ],
 "client-class": "Polycom-VVX1500",
 "option-data": [ { "always-send": true,
                    "code":128,
                    "space": "polycom",
                    "data": "VLAN-A=11;" },
                  { "always-send": true,
                    "code":129,
                    "space": "polycom",
                    "data": "VLAN-A=11;" },
                  { "code":160,
                    "space": "polycom",
                    "data": "ftp://<Redacted>" },
                  { "name": "routers",
                    "data": "10.1.1.1" }
                ]
}

Kea: 2.0.2 tarball linked with: log4cplus 1.1.2 OpenSSL 1.1.1f 31 Mar 2020 database: MySQL backend 12.0, library 10.3.34 Memfile backend 2.1 Hooks: libdhcp_lease_cmds.so / libdhcp_stat_cmds.so

Ubuntu 20.04.4 LTS

jon_lui@hotmail.com

Edited May 04, 2022 by John Crichton
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking