etcnetworkinterfaces
The /etc/network/interfaces file, commonly referred to as the interfaces file, is a traditional configuration mechanism for the ifupdown network management system used on Debian and many derivatives. It defines how network interfaces are configured at boot and when brought up or down, covering both IPv4 and IPv6 settings.
The file resides at /etc/network/interfaces and may reference additional per-interface definitions via source directives, such as
Configuration in the interfaces file is organized into stanzas for each interface. Each stanza starts with
A typical Ethernet example using DHCP is:
dns-nameservers 8.8.8.8 8.8.4.4
Usage and interaction: The system uses ifup to bring interfaces up and ifdown to take them down,
See also: ifupdown, /etc/network/interfaces, /etc/network/interfaces.d, network-manager, systemd-networkd.