Static network configuration

The information listed below can usually be also be given by some graphical application (NetworkManager, Yast) in the system settings.

/etc/network/interfaces:

auto lo
iface lo inet loopback
# The primary network interface
iface eth0 inet static
   address 128.130.169.??      # Ask Iris Mansky for an ip-number
   netmask 255.255.255.128     # 128 at the end, an /25 mask.
   network 128.130.169.0
   broadcast 128.130.169.127
   gateway 128.130.169.1
   # dns-* options are implemented by the resolvconf package, if installed
   # siehe /etc/resolv.conf
   # dns-nameservers 128.130.4.3 128.131.4.3
   # dns-search fluid.tuwien.ac.at tuwien.ac.at
auto eth0

/etc/resolv.conf

nameserver 128.130.4.3
nameserver 128.131.4.3
search fluid.tuwien.ac.at tuwien.ac.at
options ndots:2
#search and domain are mutually exclusive
#by default, domain is everything after the first '.'.
# domain fluid.tuwien.ac.at