source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.56.12 netmask 255.255.255.0 gateway 192.168.56.1 allow-hotplug eth2 iface eth2 inet static address 10.240.100.101 netmask 255.255.255.0 network 10.240.100.0 broadcast 10.240.100.255 gateway 10.240.100.250 # dns-* options are implemented by the resolvconf package, if installed dns-search localdomain dns-nameservers 8.8.8.8 8.8.4.4