Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 559
    • Issues 559
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 63
    • Merge requests 63
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Merge requests
  • !1903

Resolve "Modification of handling of global reservations with IP addresses set"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Thomas Markwalder requested to merge 2631-modification-of-handling-of-global-reservations-with-ip-addresses-set into master Jan 24, 2023
  • Overview 18
  • Commits 7
  • Pipelines 0
  • Changes 15

Closes #2631 (closed) Closes #2632 (closed)

As discussed on the support ticket and in #2632 (closed), this MR applies a revised version of the customer's patch such that:

Kea will ensure that globally reserved addresses fall within the selected subnet before offering a lease for them. If the address falls outside the initially selected subnet Kea will check the address against the subnet's siblings if in a shared-network, and select the first sibling that contains the address. If no containing subnet is found Kea falls back to dynamic allocation.

I opted to not make the behavior configurable as the default (broken) behavior is something the ARM cautioned people against. The broader topic of global hosts with multiple fixed addresses is outside the scope of this MR.

Edited Feb 01, 2023 by Thomas Markwalder
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 2631-modification-of-handling-of-global-reservations-with-ip-addresses-set