List Hostonlyifs always shows DHCP disabled

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
darknerd
Posts: 6
Joined: 30. Sep 2015, 20:02

List Hostonlyifs always shows DHCP disabled

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: List Hostonlyifs always shows DHCP disabled

Post 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?
Post Reply