-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v2.10.6
Python version
3.6
Steps to Reproduce
Create a bunch of /29 prefixes under 10.9.1: 10.9.1.0/29, 10.9.1.8/29, 10.9.1.16/29 ... 10.9.1.48/29
Then search for "10.9.1" or "10.9.1." in either global search, or the top search box under IPAM > Prefixes
Expected Behavior
All prefixes beginning 10.9.1 to be shown
Observed Behavior
If you search for "10.9.1" - only the first prefix (10.9.1.0/29) is found
If you search for "10.9.1." - no prefixes are found
Search box:
Results:
Note 1: an IP address search for "10.9.1" or "10.9.1." does work as expected, showing all IP addresses beginning 10.9.1. It's only prefixes which appear to have this problem.
Note 2: the "search within parent prefix" functionality works fine, and this was the only way I could discover the apparently missing prefixes:
Results:
However this doesn't work from global search. First you have to navigate to IPAM > prefixes, and then have to construct a suitable parent prefix to search within.
EDIT: in a regular search, the positive finding of the 10.9.1.0/29 prefix suggests strongly to the user that there are no other matching prefixes (when in fact there are).



