Answer the question
In order to leave comments, you need to log in
How to link virtual ubuntu server and Mac OS x?
Hello everyone, actually the question is on the subject, I made a connection over a network bridge, in the hosts of the real system I prescribe the ip of the virtual one. But is this approach correct? What if the network changes? It seems to me that here you need to hard-code the ip-ik for the virtual machine, how can this be done in ubuntu server? Or is my approach wrong?
Answer the question
In order to leave comments, you need to log in
It depends on what you need and how you use the virtual machine.
As a more universal option, I would make one NAT network to get the Internet inside the virtual machine, and the second private host / virtual machine with fixed IPs.
In most cases, simply selecting NAT in the settings is sufficient.
1) Each mode has its pros and cons. Read https://www.virtualbox.org/manual/ch06.html#networ...
2) If you want the virtual machine settings to be independent of the external network, select the "host-only networking" mode. On the host system, either manually enable nat, or set up some simple proxy server so that guests go outside through it.
Your choice!
www.google.ru/url?sa=t&rct=j&q=&esrc=s&source=web&...
See first (from about 4 minutes). It literally takes 2-5 minutes to set up.
Personally tested, it works!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question