Fixes #7263 - make sure the ip address from interfaces is valid

sounds good, I've also noticed, that on rhel7, the net-tools are not installed by default, we might want to add it to dependencies of the installer https://bugzilla.redhat.com/show_bug.cgi?id=1110838#c6