kali linux 在VM中的配置IP和DNS以及使用(配合xshell 联网)
1.首先配置虚拟机为桥连接模式
2.在命令行
1) vi /etc/network/interfaces 进入 修改网络配置
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.111
netmask 255.255.255.0
gateway 192.168.1.1
2) vi /etc/resolv.conf 下:resolv.conf
nameserver 8.8.8.8
3)重启网关
/etc/init.d/networking restart
4)配置xshell
主机为刚才配置的IP

本文详细介绍如何在虚拟机中配置Kalilinux的IP地址、DNS,并通过xshell实现联网。包括设置虚拟机桥接模式、编辑网络配置文件、指定静态IP及DNS服务器等步骤。
&spm=1001.2101.3001.5002&articleId=53237024&d=1&t=3&u=54f293566d9746f69d5eea70f2f15bdb)
5649

被折叠的 条评论
为什么被折叠?



