/etc/network/interfaces for the ip address and /etc/resolv.conf for your dns settings examples below.
Code:
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 24.222.0.66 24.222.0.91
Code:
nameserver 24.222.0.66
nameserver 24.222.0.91