validation of ip and iface params