I have arch-linux-arm running on a raspberryPi.
The network I am in uses static IPs.
gateway IP is 192.168.178.5
IP for my device is 192.168.178.201
To connect to the internet I use:
ip addr add 192.168.178.201 dev eth0
ip route add default via 192.168.178.5
However the latter yields
RTNETLINK answeres: Network is unreachable
What am I missing?
UPDATE
mtak's answer fixed the initial problem,
however I still cannot reach the gateway.
Attempting to ping result in destination host unreachable