V
V
Vadim2014-03-14 15:57:12
Debian
Vadim, 2014-03-14 15:57:12

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

1 answer(s)
M
Mikhail Zholobov, 2014-08-18
@ShVad

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 question

Ask a Question

731 491 924 answers to any question