You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using /31 IPv4 and /127 IPv6 networks for point-2-point connections the network_in_network filter fails when trying to validate the second IP address in the network.
Trying the same with network_in_usable works because this function seems to have special handling for a network size of two addresses. As network_in_usable is by definition a subset of network_in_network the latter should also succeed when using this kind of networks.
SUMMARY
When using /31 IPv4 and /127 IPv6 networks for point-2-point connections the
network_in_network
filter fails when trying to validate the second IP address in the network.Trying the same with
network_in_usable
works because this function seems to have special handling for a network size of two addresses. Asnetwork_in_usable
is by definition a subset ofnetwork_in_network
the latter should also succeed when using this kind of networks.ISSUE TYPE
COMPONENT NAME
ipaddr
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
MacOS 12.1
STEPS TO REPRODUCE
EXPECTED RESULTS
This should return True both times because the last IP address in a /31 is valid.
ACTUAL RESULTS
The result is False
The text was updated successfully, but these errors were encountered: