Debian Network Config

Debians interface config is in: /etc/network/interfaces

# The primary network interface
auto ens192
allow-hotplug ens192
iface ens192 inet static
        address 192.168.1.140/24
        gateway 192.168.1.254
# This is an autoconfigured IPv6 interface
iface ens192 inet6 auto

restart interface:
sudo ifdown ens192
sudo ifup ens192

for bigger changes use: sudo systemctl restart networking