====== /etc/network/interfaces ====== auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.0.2.7 netmask 255.255.255.0 gateway 192.0.2.254