rdbreak / rhcsa8env

This is a RHCSA8 study environment built with Vagrant/Ansible
https://join.slack.com/t/redhat-certs/shared_invite/zt-7ju3rz7b-_G3Njp3PDwdBG_81SwPeLA
MIT License
295 stars 174 forks source link

MacOS Monterey 12.1: The IP address configured for the host-only network is not within the allowed ranges. #66

Closed ngostal2019 closed 2 years ago

ngostal2019 commented 2 years ago

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 Screen Shot 2022-01-03 at 1 15 22 AM

Screen Shot 2022-01-03 at 1 17 06 AM

ngostal2019 commented 2 years ago

issues solved