When using "# vagrant up" command I came across an annoying message which I don't want others to encounter:
########################################################
==> server2: Clearing any previously set network interfaces...
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.55.151
Ranges: 192.168.51.0/21
Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:
So, the way to tackle this problem in my case was to:
--> Create the directory: /etc/vbox/
--> Create the networks.conf file under it and put the above ip network address range inside:
"* 192.168.55.0/24"
Save and quit and then run "# vagrant up" again to see it taking off.
Hope it was helpful.
Follow this link to understand it as well: https://www.sitepoint.com/community/t/homestead-vagrant-ip-address-not-within-allowed-ranges/377751
When using "# vagrant up" command I came across an annoying message which I don't want others to encounter:
########################################################
==> server2: Clearing any previously set network interfaces...
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.55.151 Ranges: 192.168.51.0/21
Valid ranges can be modified in the /etc/vbox/networks.conf file. For more information including valid format see:
https://www.virtualbox.org/manual/ch06.html#network_hostonly ######################################################
So, the way to tackle this problem in my case was to: --> Create the directory: /etc/vbox/ --> Create the networks.conf file under it and put the above ip network address range inside: "* 192.168.55.0/24" Save and quit and then run "# vagrant up" again to see it taking off. Hope it was helpful. Follow this link to understand it as well: https://www.sitepoint.com/community/t/homestead-vagrant-ip-address-not-within-allowed-ranges/377751