I'm trying to create two trusty VMs with static IPs for eth1, but pings between the static addresses fail.
- Via havana dashboard, I created a network with a 10.16.1/24 subnet, disabled gateway, enabled dhcp with range 10.16.1.100,10.16.1.120.
- Launched 4 instances, each with two NICS; eth0 for my regular public interface, and eth1 for the 10.16.1/24 subnet.
- logged into two of the VM and created eth1.cfg, configured for dhcp
auto eth1 iface eth1 inet dhcp
- logged into the other two VM and created eth1.cfg, configured with static information
auto eth1 iface eth1 inet static address 10.16.1.2 netmask 255.255.255.0
- ifup eth1 on each vm
From each dhcp configured VM, I can ping the other dhcp configured VM, but not the statically configured VMs.
From the statically configured VMs, I can ping no other VM.
I also tried creating a router for the network, and adding an interface 10.16.1.254. But this made no apparent change. I also cannot ping the router from either VM.
What am I missing?