Kali虚拟机开启多网卡

2020-02-08  本文已影响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

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


图片.png 图片.png 图片.png
上一篇 下一篇

猜你喜欢

热点阅读