root@kali:~# ifconfig eth0 up //启用网卡 root@kali:~# ifconfig -a //查看IP root@kali:~# dhclient eth0 // 分配IP