美文网首页
Kali虚拟机开启多网卡

Kali虚拟机开启多网卡

作者: 夙小叶 | 来源:发表于2020-02-08 17:27 被阅读0次

修改 /etc/network/interfaces 后,重启 reboot

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static 
address 10.0.2.15
netmask 255.255.255.0
gateway 10.0.2.2

auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
  • auto eth0 : 开机自启
  • inet static :静态IP
  • inet dhcp:动态

NOTE :开机菜单里的网卡为 未托管状态,不必理会


图片.png 图片.png 图片.png

相关文章

网友评论

      本文标题:Kali虚拟机开启多网卡

      本文链接:https://www.haomeiwen.com/subject/oqwixhtx.html