[vbox-dev] Activate IHostNetworkInterface via API
a.fischer at sirrix.com
Wed Mar 18 13:06:16 UTC 2015
Hi, I'm looking for a way to activate an already installed and configured host-only network interface through the API. When the IHostNetworkInterface.status shows "Down", is there a way to use the API, to set it back to up?
Normally when I install a VM, its host-only network interface is up immediately and configured with an IP. However, when I reboot the system, the interface is down and un-configured. When I start the VM, the interface is configured properly automatically, and then shows as "up". But I would like to understand if there is a way to manually set the interface back to up without having to set its IP address again (it is already configured and the IP shows under "VBoxManage list hostonlyifs").
More information about the vbox-dev