switch from ifconfig to ip