0x01 查看网卡接口名称 0x02 编辑网口配置文件 sudo vim /etc/network/interfaces 0x03 在配置文件中添加内容 添加内容如下: auto eth0 iface eth0 inet dhcp 0x04 重启网络服务 sudo systemctl restart networking 0x05 完成配置 Kali Linux的IP配置完成