[Match]
MACAddress={{ mac }}

[Network]
DHCP=no
{% if ipv4 %}Address={{ ipv4 }}/{{ ipv4.prefix }}{% endif %}
{% if ipv6 %}Address={{ ipv6 }}/{{ ipv6.prefix }}{% endif %}
LinkLocalAddressing=ipv6