root@boxed:/var/www/html# more /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0
iface eth0 inet dhcp
auto eth0:1
allow-hotplug eth0:1
iface eth0 inet static
address 192.168.226.101
netmask 255.255.255.0
gateway 192.168.226.1
dns-maneservers 8.8.8.8
|