# 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 #----------------------------- # eth2 - WAN #----------------------------- auto eth2 iface eth2 inet static address 172.16.112.1 network 172.16.112.0 netmask 255.255.255.0 broadcast 172.16.112.255 gateway 172.16.112.254 #----------------------------- # eth1 - LAN + WLAN #----------------------------- auto eth1 eth1:ns iface eth1 inet static address 192.168.112.254 network 192.168.112.0 netmask 255.255.255.0 broadcast 192.168.112.255 iface eth1:ns inet static address 192.168.112.1 network 192.168.112.0 netmask 255.255.255.0 broadcast 192.168.112.255 ## - wlan iface eth1:1 inet static address 192.168.113.254 network 192.168.113.0 netmask 255.255.255.0 broadcast 192.168.113.255 # The primary network interface #allow-hotplug enp0s20f2 #iface enp0s20f2 inet dhcp