Page 1 of 1

List Hostonlyifs always shows DHCP disabled

Posted: 30. Sep 2015, 20:19
by darknerd
Anyone discover this? Is this fixed?

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
STEPS
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
ACTUAL RESULTS

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
EXPECTED RESULTS
I thought it would say DHCP: Enabled, when it is enabled.

Re: List Hostonlyifs always shows DHCP disabled

Posted: 30. Sep 2015, 20:29
by Perryg
Not on the host. The command shows what the host has for settings. Are you saying that the guest can not reach the host-only dhcp server and get an address?