K
K
KIN19912014-11-30 06:38:03
virtual box
KIN1991, 2014-11-30 06:38:03

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

3 answer(s)
N
Nazar Mokrinsky, 2014-11-30
@nazarpc

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.

I
Ilya Evseev, 2014-11-30
@IlyaEvseev

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.

V
Vyacheslav Vasiliev, 2014-11-30
@thenovalive2013

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 question

Ask a Question

731 491 924 answers to any question