use 'ip addr' instead of 'ifconfig'