I've got two instances of Ubuntu Server running in VirtualBox, mimicking a cluster we're putting together. I'll be using static IPs and communicating with SSH/MPI, which works on the real machines, but I can't get my two virtual machines to see each other. I'm seeing from various posts how this might be done, but the different network options in VirtualBox are confusing.
So far, I have:
- Set the static IPs in
/etc/network/interfaces
- Confirmed that I have an adapter (
enp0s3
) - If I set the VM's network to NAT, it let's me connect to the internet (download packages, etc) but not the other machine
- If I set them to Bridged (
en0: Wi-Fi (AirPort)
), I get no ping connection to either the internet or other VM
EDIT:
As requested, here's the output of ip addr
on one of the nodes:
And ip route
: