1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
[Match] Name=en* [Network] DHCP=ipv4 <%- unless @ip6.empty? -%> Gateway=<%= @ip6["gateway"] %> [Address] Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %> [Route] Destination=<%= @ip6["gateway"] %> <%- end -%> [DHCP] UseMTU=true