| 12345678910111213141516171819202122232425262728293031 | # 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 interfaceauto loiface lo inet loopback# The primary network interfaceallow-hotplug {{ primary_interface }}iface {{ primary_interface }} inet static	address {{ primary_v4_address }}	netmask {{ primary_v4_netmask }}{% if primary_v4_network is defined %}	network {{ primary_v4_network }}{% endif %}{% if primary_v4_broadcast is defined %}	broadcast {{ primary_v4_broadcast }}{% endif %}	gateway {{ primary_v4_gateway }}{% if primary_pointopoint %}	pointopoint {{ primary_v4_gateway }}{% endif %}iface {{ primary_interface }} inet6 static	address {{ primary_v6_address }}	gateway {{ primary_v6_gateway }}{% if primary_pointopoint %}    pre-up ip -6 route add {{ primary_v6_gateway }} dev {{ primary_interface }}{% endif %}
 |