Adminxe's Blog | 低调求发展 - 潜心习安全 ,技术永无止境 | 谢谢您对本站的支持,有什么问题或者建议请及时联系:点击这里给我发消息

解决新版kali桥接上不去网

渗透测试 Adminxe 1572℃ 0评论

1、设置DNS

vim /etc/resolv.conf

插入:

nameserver 192.168.1.1

nameserver 114.114.114.114

nameserver 8.8.8.8

2、设置静态/动态上网ip

vi /etc/network/interfaces

设置为dhcp自动获取:

auto eth0

iface eth0 inet dhcp

设置静态配置:

auto eth0

iface eth0 inet static

address 192.168.0.7

netmask 255.255.255.0

gateway 192.168.0.1

转载请注明:Adminxe's Blog » 解决新版kali桥接上不去网

喜欢 (5)or分享 (0)
发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(1)个小伙伴在吐槽
  1. 学习到了,非常感谢用心整理哦!
    cover your ass2023-06-04 22:48 回复