Skip to content

Feature Request - Use most specific available Prefix network size for discovered IP Addresses Mask #226

@Christophoclese

Description

@Christophoclese

Currently when doing Network Discovery and specifying a Prefix as a target, discovered IPs within that Prefix will either have a /32 mask or the same as the Prefix being scanned. This means you are not really able to scan an entire site (e.g. 10.28.0.0/16) as the results will be incorrect (/16) or not useful (/32).

It would be preferable that the mask from the most specific available Prefix is used. For example given the defined Prefixes:

10.28.0.0/16
10.28.24.0/22

The IP address 10.28.24.50 should be entered into NetBox as 10.28.24.50/22.

It seems like the current workaround would be to define Network Discovery targets only for the furthest leaf prefixes which creates additional complexity on the config side of things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions