net-tools 安装后可以使用 ifconfig

apt update && apt -y install net-tools