DHCP options are completely ignored for Host-Only and NatNetwork
|host-only natnetwork nat network
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.