# The primary network interface allow-hotplug enp0s3 {% if ipv4 is defined %} iface enp0s3 inet static address {{ipv4}}/31 gateway {{ipv4route}} # dns-* options are implemented by the resolvconf package, if installed dns-nameservers {{ipv4route}} dns-search emma.ccchb.de {% endif %} {% if ipv6 is defined %} iface enp0s3 inet6 static address {{ipv6}}/127 gateway {{ipv6route}} {% endif %}