Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
linux:networkconfig [2021/12/02 17:04] Joseph Mertens |
linux:networkconfig [2024/08/31 11:39] (aktuell) Joseph Mertens |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== | + | ====== |
| Unter Debian kann man folgende Datei bearbeiten um das Network Interface zu konfigurieren | Unter Debian kann man folgende Datei bearbeiten um das Network Interface zu konfigurieren | ||
| <WRAP left round box 100%> | <WRAP left round box 100%> | ||
| Zeile 8: | Zeile 8: | ||
| ++++ Beispiel Konfiguration für eth0 | | ++++ Beispiel Konfiguration für eth0 | | ||
| - | # This file describes the network interfaces available on your system\\ | + | <color #00a2e8># This file describes the network interfaces available on your system\\ |
| - | # and how to activate them. For more information, | + | # and how to activate them. For more information, |
| source / | source / | ||
| - | # The loopback network interface\\ | + | <color #00a2e8># The loopback network interface</ |
| auto lo\\ | auto lo\\ | ||
| iface lo inet loopback\\ | iface lo inet loopback\\ | ||
| - | # The primary network interface\\ | + | <color #00a2e8># The primary network interface\\ |
| - | # allow-hotplug eth0\\ | + | # allow-hotplug eth0</ |
| auto eth0\\ | auto eth0\\ | ||
| iface eth0 inet static\\ | iface eth0 inet static\\ | ||
| Zeile 27: | Zeile 27: | ||
| ++++ | ++++ | ||
| + | |||
| + | Damit die Einstellungen wirksam werden. Dienst neustarten: | ||
| + | systemctl restart networking | ||
| + | | ||
| + | ===IPv6 unter Linux/ | ||
| + | |||
| + | echo " | ||
| + | |||
| + | sysctl -p | ||
| + | | ||
| + | ggf. Reboot des Systems | ||