1. Edit file konf. network :

$sudo pico /etc/network/interfaces
#sample config :
#------------------------------------
auto eth0
iface eth0 inet static
address 172.22.22.222
netmask 255.255.255.0
#------------------------------------
2. Restart service network
$sudo /etc/init.d/networking restart
3. Cek hasil konf :
$ ifconfig