che distribuzione usi?
In debian sotto /etc/network/ trovi il file interfaces.
codice:
auto eth0
iface eth0 inet address x,y,z,k
                netmask 255.255.255.0
                gateway ip router
il file per i DNS e' /etc/resolv.conf