Kali 设置静态IP

vi /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.2.33
netmark 255.255.255.0
gateway 192.168.2.1

/etc/init.d/networking restart

ifconfig
发布了55 篇原创文章 · 获赞 1 · 访问量 2703

猜你喜欢

转载自blog.csdn.net/prettyX/article/details/104052039