Edit your interface file, located on /etc/network/
Change your file, changing the parameters higlighted by those which better adjust to your IP configuration:
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.16.0.200
netmask 255.255.0.0
broadcast 172.16.255.255
gateway 172.16.0.1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Restarting the rPi:
sudo shutdown -r now
Check the changes has been made:
pi@jamesrpi ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:e6:44:e0
inet addr:172.16.0.200 Bcast:172.16.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:113 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9398 (9.1 KiB) TX bytes:10213 (9.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)