Opened 11 years ago
Closed 11 years ago
#11918 closed defect (duplicate)
vboxmanage dhcpserver add --ifname fails
| Reported by: | Sauraus | Owned by: | |
|---|---|---|---|
| Component: | network | Version: | VirtualBox 4.2.14 |
| Keywords: | Cc: | ||
| Guest type: | all | Host type: | Windows |
Description
c:\vboxmanage dhcpserver add --ifname mynet --ip 192.168.64.1 --netmask 255.255.255.0 --lowerip 192.168.64.64 --upperip 192.168.64.128 -enable
VBoxManage.exe: error: The host network interface with the given name could not be found
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component Host, interface IHost, callee IUnknown
VBoxManage.exe: error: Context: "FindHostNetworkInterfaceByName(Bstr(pIfName).mutableRaw(), hif.asOutParam())" at line 2 25 of file VBoxManageDHCPServer.cpp
VBoxManage.exe: error: Could not find interface 'mynet'
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Thanks for the information.


Please close this, the actual problem is the naming of hostonlyif on windows which is hardcoded, enhancement filed here: https://www.virtualbox.org/ticket/11919