From LedHed's Wiki
Each Linux Distro handles Network Interface configuration a little differently
Contents
Debian
To change IP, Mask, & Gateway edit /etc/network/interfaces
Example:
#Primary Network Interface iface eth0 inet static address 10.0.0.100 netmask 255.255.255.0 gateway 10.0.0.254 network 10.0.0.0
Then run (as root/su)
/sbin/ifdown -a && /sbin/ifup -a
This restarts all interfaces