Matching of ip addresses to ip ranges not as expected #15639
-
I have found the recommendation in several places to save an ip address with the subnet mask that it also has on the interface. However, automatic matching into an IP range does not work in a meaningful way. ip address 172.19.50.100/23 does not appear in the ip range. Do you have any ideas or other experiences about this? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yeah, it's a bit of weirdness with Netbox that IP addresses are not just an IP address, but IP address + prefix length. No other IPAM system I've ever seen does that. I think you're expected to do the same with ranges too. That is, your ranges should be ip range 172.19.50.1/23 - 172.19.50.255/23 |
Beta Was this translation helpful? Give feedback.
Yeah, it's a bit of weirdness with Netbox that IP addresses are not just an IP address, but IP address + prefix length. No other IPAM system I've ever seen does that.
I think you're expected to do the same with ranges too. That is, your ranges should be
ip range 172.19.50.1/23 - 172.19.50.255/23
ip range 172.19.51.0/23 - 172.19.51.254/23