I have Arch Linux on my laptop and I would like to share its internet connection through my raspberry which will be under water.
I've assigned a static IP address to both my laptop and raspberry's ethernet interface, this way I don't need a dhcp server, editing my /etc/dhcpcd.conf file with:
interface enxb827eba5a5d4
static ip_address=192.168.0.2/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 8.8.8.8
Next I've allowed ip forwarding on my laptop using: sysctl net.ipv4.ip_forward=1
So my laptop's ip is: 192.168.0.1
Raspberry's: 192.168.0.2
What am I missing out?