eric-keller / npp-linux-04-virtual

MIT License
3 stars 5 forks source link

Ip address configuration issue with vagrant #2

Open huwilerb opened 1 month ago

huwilerb commented 1 month ago

When I try to run

vagrant up 

I have the following message:

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.1.100
  Ranges: 192.168.56.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

OS: Pop!_os 22.04 LTS x86_64 VirtualBox version: 7.0.10

huwilerb commented 1 month ago

I found this solution which seems to work: if not exists create the file /etc/vbox/network.conf then in this file add:

* 10.0.0.0/8 192.168.0.0/16
* 2001::/64

This solution where found on stack-overflow