/etc/network/interfaces

From Linuxintro

/etc/network/interfaces holds the network configuration in debian-based distributions. Here is an example:

iface eth0 inet static
address 192.168.178.7
netmask 255.255.255.0
gateway 192.168.178.1

This will work well when connecting to the net with a fritzBox as the Fritz!BOx has the IP address 192.168.178.1 by default.

See also