I have several guest VMs configured to use internal networking.
Is there a way to simulate a network outage on specific VM interfaces while the guests are running?
Edit: I really need a command line way to do this, I have more than 4 NICs to toggle (GUI supports only the first 4). More details, windows host running VirtualBox 4.2.4 r81684. E.g., trying to use
vboxmanage modifyvm IMAGE_NAME --cableconnect5 off while the guest is running yields the error:
VBoxManage.exe: error: The machine 'IMAGE_NAME' is already locked for a session (or being unlocked)
If I shutdown the VM, I'm able to toggle the connectivity with this command.