Answer the question
In order to leave comments, you need to log in
Parallels Desktop and Debian - how to set up?
Hello
Installed Debian on Parallels Desktop (MacOS), the task is to make a local development environment.
How to set up a network in Parallels and Debian so that a server is always available on a certain IP, regardless of whether the Mac is connected to the network.
Thank you.
Answer the question
In order to leave comments, you need to log in
In the virtual machine settings, specify the type of network adapter - Shared ("Common network")
Then, in the virtual machine itself, configure the network to work with a static IP (DHCP is there by default). You can choose any free IP from the Shared subnet (specified in the Parallels Desktop settings, the default range is
10.211.55.1-10.211.55.255
) Vagrant:
2) Specify the desired IP for private_network in the Vagrantfile:
Vagrant.configure("2") do |config|
config.vm.network "private_network", ip: "192.168.50.4"
end
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question