I got this error when I run vagrant up on my macOS:
The IP address configured for the host-only network is not within the allowed ranges. Please update the address used to be within the allowed ranges and run the command again.
Address: 192.168.10.10 Ranges: 192.168.56.0/21
The same Vagrantfile works before, but not any more.
Any idea?
I found the "issue" started to happen after VirtualBox 6.1.26.
The way to solve is creating a new file at /etc/vbox/networks.conf on your macOS with content
* 10.0.0.0/8 192.168.0.0/16
* 2001::/64
Make sure including the asterisks *. Then the issue should be gone.
Regarding the networks.conf content, it can be found at https://www.virtualbox.org/manual/ch06.html#network_hostonly