概述
在使用VirtualBox虚拟机时会自动创建一个VirtualBox Host-Only Ethernet Adapter
网络链接,如果禁用还会创建第二个。
想要删除这个网络链接,步骤如下:
以win10为例
- cmd进入到VirtualBox安装目录
如:D:Program FilesOracleVirtualBox>
执行命令:vboxmanage list hostonlyifs
列出所有的VirtualBox Host-Only Ethernet Adapter
如下格式:
Name: VirtualBox Host-Only Ethernet Adapter
GUID: ca3a9259-1111-4935-1111-ec9af1642577
DHCP: Disabled
IPAddress: 111.254.111.61
NetworkMask: 255.255.0.0
IPV6Address: XXX::XXX:XXX:XXX
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 11:00:11:00:00:11
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter
执行如下命令删除:
vboxmanage hostonlyif remove "<Name>"
<Name>
填列表中的Name值
即:vboxmanage hostonlyif remove "VirtualBox Host-Only Ethernet Adapter"
这样VirtualBox Host-Only Ethernet Adapter就删除了。
如果你有三个名称完全一样的VirtualBox Host-Only Ethernet Adapter,那么会默认删除第一个,再次执行命令会删除第二个。
最后
以上就是洁净蜜蜂为你收集整理的删除 VirtualBox Host-Only Ethernet Adapter的全部内容,希望文章能够帮你解决删除 VirtualBox Host-Only Ethernet Adapter所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复