Add ip range validation

Signed-off-by: Kiril Nesenko <knesenko@redhat.com>