/etc/network/interfaces

Aus Foxwiki

/etc/network/interfaces

Beschreibung

The file /etc/network/interfaces available in Debian and its derived distributions allows to define static and dynamic IP addresses for the interfaces, setup routing information and default gateways, masquerading network bonding and more.

The default interfaces file looks like the following

cat /etc/network/interfaces

Where auto starts the interface at boot and iface calls the network interface (in this case lo, loopback). All lines beginning with “auto” specify the interfaces which will be enabled when running “ifup -a”, a command executed at boot.

Lines beginning with “iface” have the following syntax

iface <interface> <address_family> <method>

For example

iface enp2s0 inet dhcp

Installation

Aufruf

Optionen

Parameter

Umgebungsvariablen

Exit-Status

Anwendung

Problembehebung

Konfiguration

Dateien

Anhang

Siehe auch

Dokumentation

Man-Page
Info-Pages

Links

Projekt
Weblinks
  1. https://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html


TMP