Answer the question
In order to leave comments, you need to log in
How to connect to a server in a virtual machine?
The virtual machine has debian 7 installed and everything you need for a web server. Tell me how can I connect to the server on a virtual machine from the main OS (windows 7).
I watched some article habrahabr.ru/sandbox/30827 , it doesn’t help, or I’m doing something wrong.
Answer the question
In order to leave comments, you need to log in
I dare to assume that the machine with the virtual machine is home and is located behind the router, and everything was also configured according to the above article. I also assume that SSH is installed in the VM. Based on this assumption:
1) We go to the VM settings and for the network adapter we specify the type not NAT, but bridge (bridge).
2) Change the interface settings inside the VM with:
iface eth1 inet static
address 192.168.0.2
netmask 255.255.255.0
auto eth1
auto eth1
iface eth1 inet dhcp
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question