VirtualBox fix for "Error: Host Only Network- Failed to save host network interface parameter - E_ACCESSDENIED"

Oracle VM VirtualBox will only allow IP addresses in 192.68.56.0/21 range to be assigned to host-only adapters.
If other ranges are desired, they can be enabled by creating /etc/vbox/networks.conf and specifying allowed ranges there.
For example, to allow 10.0.0.0/8 and 192.168.0.0/16 IPv4 ranges as well as 2001::/64 range put the following lines into /etc/vbox/networks.conf:

* 10.0.0.0/8 192.168.0.0/16
* 2001::/64
Next example allows any addresses, effectively disabling range control:
* 0.0.0.0/0 ::/0