added print for interface name and ip