check network interface

Signed-off-by: Marco Milanesio <milanesio.marco@gmail.com>