VirtualBox

Opened 9 years ago

Closed 9 years ago

#14360 closed defect (invalid)

DHCP options are completely ignored for Host-Only and NatNetwork

Reported by: Kriston Owned by:
Component: network Version: VirtualBox 4.3.30
Keywords: host-only natnetwork nat network Cc:
Guest type: all Host type: Windows

Description

DHCP options are ignored for Host-Only and NATNetwork. We always get the original defaults no matter what we put in these settings.

From Oracle VM VirtualBox Manager, go to File...Preferences. Select Network. Select Host-Only Networks. Select VirtualBox Host-Only Ethernet Adapter. Click the screwdriver tool icon. Under Adapter, put something IPv4 Address 10.1.1.0, IPv4 Network Mask 255.255.255.0. Under DHCP Server, put Server Address: 10.1.1.2, Server Mask 255.255.255.0, lower address bound 10.1.1.3, upper address bound 10.1.1.100. Click OK.

Set your Windows guest to use only the Host-Only Networking adapter. Now try to boot Windows or another guest host that happens to have DHCP enabled.

Expected behavior: We should be getting 10.10.1.x.

Actual behavior: The guest will inexplicably receive an IP address from the Host-Only Network device that looks like the original defaults, namely in the 192.168.56.x range.

This same behavior happens in NatNetwork.

Change History (3)

comment:1 by Valery Ushakov, 9 years ago

Please, provide your VirtualBox.xml file.

comment:2 by Kriston, 9 years ago

I have a workaround. This might instead be a workflow or documentation problem, not an actual bug in the software's network configuration. When I fully delete NatNetwork and the Host-Only interface and re-add them, my intended network settings work.

You can close this ticket.

comment:3 by Valery Ushakov, 9 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use