简体   繁体   English

如何关闭虚拟机的网卡

[英]How to shut-off NIC of a Virtual Machine

I am testing MongoDB in terms of Network Failure.我正在根据网络故障测试 MongoDB。 How can I shut-off NIC in a virtual machine.如何关闭虚拟机中的 NIC。 I am using terminal: Teraterm .我正在使用终端: Teraterm I have a virtual machine running on CentOS8 .我有一个在CentOS8上运行的虚拟机。

Depends on virtual machine software.取决于虚拟机软件。 In VirtualBox, there are icons in bottom right of the UI that allow attaching/detaching the network adapter.在 VirtualBox 中,用户界面的右下角有一些图标,允许连接/分离网络适配器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM