Name=<%= @interface[:interface] %>
[Network]
+<% if @interface.dig(:inet6, :dhcp) -%>
+DHCP=ipv6
+<% end -%>
<% if @interface[:inet] -%>
Address=<%= @interface[:inet][:address] %>/<%== @interface[:inet][:prefix] %>
<% end -%>
<% Array(@interface[:vlans]).sort.uniq.each do |vlan| -%>
VLAN=<%= @interface[:interface] %>.<%= vlan %>
<% end -%>
+<% if @interface.dig(:inet6, :dhcp) -%>
+
+[DHCPv6]
+<% if @interface[:inet6][:dhcp][:duidtype] -%>
+DUIDType=<%= @interface[:inet6][:dhcp][:duidtype] %>
+<% end -%>
+<% if @interface[:inet6][:dhcp][:duidrawdata] -%>
+DUIDRawData=<%= @interface[:inet6][:dhcp][:duidrawdata] %>
+<% end -%>
+WithoutRA=solicit
+<% end -%>
<% if @interface.dig(:inet, :gateway) && @interface[:inet][:gateway] != @interface[:inet][:address] -%>
[Route]
:inet6 => {
:address => "2001:bc8:2d57:100:aa1e:84ff:fe72:e660",
:prefix => "48",
- :gateway => "2001:bc8:2::2:258:1"
+ :gateway => "2001:bc8:2::2:258:1",
+ :dhcp => {
+ :duidtype => "link-layer",
+ :duidrawdata => "00:01:14:e9:19:1c:49:e0"
+ }
}
}
}