I've been attempting to establish a peer-to-peer network between my laptop (Ubuntu 16.04.2, Codename: Xenial) and my Raspberry Pi 3 (Raspbian, Codename: Stretch, 9.1). After attempting to connect with ssh, I always get back a no route to host. I've run out of ideas on how to figure out why this does not work, and I would be ecstatic if someone found a solution. Here is what I've tried to see what the problem is.
The /etc/network/interfaces file in my laptop is:
auto enp3s0f1 iface enp3s0f1 inet static address 192.168.10.2 netmask 255.255.255.0 For the Raspberry Pi, it's:
auto eth0 iface eth0 inet static address 192.168.10.3 netmask 255.255.255.0 The reason the network name for the laptop is enp3s0f1 is because the name eth0 does not work for Ubuntu 16.04. I have tried to change the name to eth0 with:
sudo ip link set enp3s0f1 name eth0 But what I get back is:
RTNETLINK answers: Device or resource busy I ran:
sudo /etc/init.d/networking restart. For both the Pi and the laptop, and they were both successful. I was able to establish a connection to each network respectively. When I ran:
ssh pi@192.168.10.3 On the laptop, it shows:
ssh: connect to host 192.168.10.3 port 22: No route to host I ran:
sudo service ssh status For both devices, and they were both active.
I've inserted a raspberry pi wifi dongle in both the pi and the laptop, and that does not help.
I've tried:
ping 192.168.10.3 And it always shows:
From 192.168.10.3 icmp_seq=1 Destination Host Unreachable I've tried:
arp -a And I get:
? (192.168.10.3) at <incomplete> on enp3s0f1 I've also gone into the Ubuntu connection settings. 
As you can see in the image, I selected the connection, went to IPv4 settings, clicked "Routes", and added the Pi's IP address. That did not help either.
Here is some more information that might be helpful to you all:
Laptop ifconfig:
Pi ifconfig:
Thanks in advance!
5 Reset to default

