I have very little knowledge of computer networking, Unix, Linux, and VMs. However, I find myself in a job requiring these skills. Please explain everything to me like a noob (sorry).I have been tasked with creating two virtual instances of Ubuntu on my windows 7 machine and having them transfer files back and forth over a virtual internal network. I configured the two instances in virtual box and made an internal network in the network settings of virtual box.I then noticed both VMs had the same IPs. I experienced exactly what is described in:Why are my two virtual machines getting the same IP address?So, I then tried the ping command and it was successful. I want these VMs to communicate with each other. My question is: was I pinging myself? If I was, how do I ping the other VM?Thank you!
Will both VMs having the same IP cause me to ping myself
ubuntu;virtualbox;virtual machine
As pointed out by 0xSheepdog, the VM was clearly pinging itself. By default virtual box will set the IP address of the machine to 10.0.2.15. So, when I ran ping 10.0.2.15, I should have known better. I was able to find the following video tutorial explaining how to solve this problem, starting by using vboxmanage.exe on the host OS:https://www.youtube.com/watch?v=lhOY-KilEeEAs demonstrated in the video, this will create an internal virtual network and the VMs will have connectivity. That is, they will be able to ping each other.