fixes #17095 - ensure subnet belongs to ip from facts
(cherry picked from commit 911c6e9ec797de05c484064ff3ffc67ba53ae53a)
fixes #17095 - ensure subnet belongs to ip from facts
(cherry picked from commit 911c6e9ec797de05c484064ff3ffc67ba53ae53a)