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 513
    • Issues 513
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • 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
  • #419

Closed
Open
Created Jan 18, 2019 by Francis Dupont@fdupontDeveloper

subnet prefix ("subnet" parameter) ambiguity

Currently you can create two subnets with the same [begin,end) prefix as soon as the "subnet" parameter is not the same. Some customers already use this trick so create "192.0.2.0/24", "192.0.2.1/24", etc, subnets.

There are three solutions:

  • ignore (this is what we did not it is not a real solution!)

  • make this illegal (ref #36 (closed) and #37)

  • accept the trick

In the last case we should create a ticket to add unit tests (so if a code change makes it no longer to work it will be detected) and document it.

BTW the criterion to choose between to make illegal or to accept is the use of the prefix as an unique key in config backend database or things like the remote-subnet4-del-prefix CB command which makes sense only if a prefix can identify without ambiguity a subnet. So it is a design choice and IMHO it must be explicitly done.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking