Skip to content

Allow search for IP addresses within range #1410

@candlerb

Description

@candlerb

Issue type: Enhancement

Python version: 2.7.12
NetBox version: 2.1.2

Oddly, I find I cannot search for addresses within a range.

For example: I want to search for all IPAddress objects "192.168.7.x". Doing a search for 192.168.7.0/24 either in global search or in IP Address search returns no results.

Of course, if there exists a prefix object 192.168.7.0/24 then it's fine: I find the prefix, and then look at the child addresses of that prefix.

This means there is an ugly workaround:

  • Create a temporary prefix for the range you want to search for
  • Find child addresses of that prefix
  • Delete the prefix

But that isn't available to read-only users, and involves unnecessary database changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions