I installed Ubuntu 14.04.3 LTS on two HP Servers. Each server has four network interfaces and I want to use the 2nd interface to connect the two servers. The first interface (em1) is configured to connect to a router and works fine on both servers. I tried the following on server 1 :
iface em1 inet static address 192.168.1.XX netmask 255.255.255.0 gateway 192.168.1.1 auto em2 allow-hotplug em2 iface em2 inet static address 192.168.1.2 netmask 255.255.255.0
and on server 2 :
iface em1 inet static address 192.168.1.YY netmask 255.255.255.0 gateway 192.168.1.1 auto em2 allow-hotplug em2 iface em2 inet static address 192.168.1.2 netmask 255.255.255.0
which is basically inspired from this so question
but then I try to ping from one to the other :
ping -I em2 192.168.3.2 PING 192.168.3.2 (192.168.3.2) from 192.168.3.1 em3: 56(84) bytes of data. From 192.168.3.1 icmp_seq=1 Destination Host Unreachable From 192.168.3.1 icmp_seq=2 Destination Host Unreachable
Ultimately I'd like to ssh from one server to the other. This is my first foray into networks, so forgive me if the answer is obvious.