Arch expects /24 for netmask, but users usually specify as a netmask block like 255.255.255.0. This automatically converts it.
9 lines
244 B
Plaintext
9 lines
244 B
Plaintext
Connection=ethernet
|
|
Description='A basic IPv6 ethernet connection'
|
|
Interface=<%= options[:device] %>
|
|
IP6=static
|
|
Address6=('<%= options[:ip]%>/<%= options[:netmask] %>')
|
|
<% if options[:gateway] -%>
|
|
Gateway6='<%= options[:gateway] %>'
|
|
<% end -%>
|