Содержание

Настройка сети Debian 10 Buster

systemctl status networking
ls /sys/class/net

DHCP

/etc/network/interfaces
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp

Static

/etc/network/interfaces
auto eth0
iface eth0 inet static
    address 192.168.0.2/24
    gateway 192.168.0.1

DNS

/etc/resolv.conf
nameserver 192.168.0.1