Since the release of Raspbian Jessie a few things have changed regarding configuration of the network stack from the CLI. I got stuck on this today and it took me a while to sort out so I figured it was worth a quick post.
Previous to Raspbian Jessie, network parameters could be adjusted by editing
/etc/network/interfaces. This functionality has now been moved to
/etc/dhcpcd.conf, the reasons why are beyond the scope of this post.
To enter a static IP, fire up your favourite text editor and open
The syntax is as per below
To add a persistent static route, create or edit the following file
and use the following syntax
ip route add 192.168.100.0/24 via 192.168.0.2