This question already has an answer here:
I have two virtual machine running on a virtual box.
VM 1 and VM 2
The network is in the NAT mode (default).
Both the machines have the same IP address.So I assume that they are in two different networks.
My requirement is that I should be able to communicate from VM 1 to VM 2 using IP. i.e I would like to ping from VM 1 to VM 2 and back.
For this I would prefer if they were a part of the same network.Is there some routing functionality implemented in Virtual Box?
How do I created and internal network with two VM's that can talk to each other using IP.