Dies ist eine alte Version des Dokuments!
Unter Debian kann man folgende Datei bearbeiten um das Network Interface zu konfigurieren
nano /etc/network/interfaces
Beispiel Konfiguration für eth0
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8 1.1.1.1
Damit die Einstellungen wirksam werden. Dienst neustarten:
systemctl restart networking