Validate IPs specified for masters (v4+v6)