Ручная настройка сети в Debian

Конфигурационный файл /etc/network/interfaces

# 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 ens32
auto ens32
iface ens32 inet static
  address 192.168.0.54
  netmask 255.255.248.0
  gateway 192.168.0.1
  broadcast 192.168.0.255
  dns-nameserver 192.168.0.2

Обновление конфигурации ifup ens32