Setting Static IPV4 In Debian 9

Tested: 01/27/2018


Edit:

nano /etc/network/interfaces
auto ens33
allow-hotplug ens33
iface ens33 inet static
      hwaddress ether 00:0c:29:d4:6b:14
      address 192.168.1.81
      netmask 255.255.255.0
      gateway 192.168.1.1

auto ens160
allow-hotplug ens160
iface ens160 inet static
      hwaddress ether 00:0c:29:d4:6b:1e
      address 10.90.0.81
      netmask 255.255.255.0

/etc/init.d/networking restart