SUMMARY: I enable DHCP, but vboxmanage list hostonlyifs says that DHCP is disabled. The GUI says it is enabled.
CONFIGURATION:
- Host = OS X 10.10.4 (14E46)
- Virtualbox = 5.0.0r101573
I created a hostonlyifs with DHCP enabled through the command line:
Code: Select all
vboxmanage hostonlyif create
vboxmanage dhcpserver add --ifname vboxnet0 --ip 10.10.10.1 --netmask 255.255.255.0 --lowerip 10.10.10.20 --upperip 10.10.10.50
vboxmanage dhcpserver modify --ifname vboxnet0 --enable[/pre]
Then when I check the status with [color=#0000FF]vboxmanage list hostonlyifs
With DHCP Enabled, the status shows DHCP: Disabled.
Code: Select all
Name: vboxnet0
GUID: 786f6276-656e-4074-8000-0a0027000000
DHCP: Disabled
IPAddress: 10.10.10.1
NetworkMask: 255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-vboxnet0
I thought it would say DHCP: Enabled, when it is enabled.