S
S
someserj2016-11-30 01:32:33
linux
someserj, 2016-11-30 01:32:33

How to connect from one Linux virtual machine to another?

I have VirtualBox installed, in it I created 2 Ubuntu virtual machines, and I want to know how to connect from one to another and execute any command?
As far as I know, for this you need to know the IP address of the machine, how can I find it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-11-30
@someserj

Find out the IP, write in the console ifconfig.
And in order for the machines to be visible to each other, in the settings, in the Network section, you need to set the connection type Network bridge and Mixed mode to the "Everything is allowed" position.

A
Alexey, 2016-11-30
@alsopub

For example, you can run it ifconfigin a virtual machine to find out its IP.
You can try and hostnameget access.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question