gateway {{ network.primary.gateway }}
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
+
+{% if 'secondary' in network %}
+# Secondary network interfaces
+{% for iface, v in network['secondary'].items() %}
+auto {{ iface }}
+iface {{ iface }} inet static
+ address {{ v.ip }}
+ netmask {{ v.mask }}
+ pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
+ pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
+
+{% endfor %}
+{% endif %}