0

I connect 2 Virtual Machines on VirtualBox via Internal Network.

1st Machine - Ubuntu:

enter image description here

2nd machine - Kali:

enter image description here

How can I test from both machines that they talk to each other, e.g. ssh, ping or see files in another machine?

1 Answer 1

0

You have your machine set up as NAT and they are on a separate subnet from the host machine.

Make sure Network Discovery and File/Print Sharing are ON (or the counterparts for your LINUX OS).

Then map folders by IP address. You need IP address because in order to see machines without a DNS server.

In Linux you may need to ensure Samba has been set up and working.

Try SMB: SMB://192.168.x.y/folder (where folder has been permitted to the users.

If you need to set up Samba, look to this tutorial.

Set up Samba

.

Also look at changing to Bridged Networking for the Guest Machines. Bridged networking will give the machines an IP on your router just like your host machine and may possibly make things easier.

.

How can I test from both machines that they talk to each other, e.g. ssh, ping or see files in another machine?

Once you have set up the mapping, you should be able to see each machine from each other.

I have done that here on my virtual machines.

2
  • Let alone whether the information in this answer is correct, you've misread the question ("both" / "each other"). (To be fair though, I have no idea what he is actually asking. Wouldn't the answer be "boot them and do it"? Perhaps he is asking why no IP is assigned in either of the guests? (because by default VB doesn't run its built-in DHCP server for "internal network", apparently))
    – Tom Yan
    Commented Apr 21, 2022 at 12:15
  • Good point and I added to and clarified my answer. Thank you for the assistance.
    – anon
    Commented Apr 21, 2022 at 14:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .