Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3909782
D2111.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
968 B
Referenced Files
None
Subscribers
None
D2111.diff
View Options
diff --git a/roles/core/network/files/netif.rc b/roles/core/network/files/netif.rc
--- a/roles/core/network/files/netif.rc
+++ b/roles/core/network/files/netif.rc
@@ -21,3 +21,6 @@
{% for ip in ipv4_aliases %}
ifconfig_{{ interface }}_alias{{ loop.index0 }}="inet {{ ip }} netmask 255.255.255.255"
{% endfor %}
+{% if has_native_ipv6 %}
+ifconfig_{{ ipv6_interface }}_ipv6="inet6 accept_rtadv"
+{% endif %}
diff --git a/roles/core/network/init.sls b/roles/core/network/init.sls
--- a/roles/core/network/init.sls
+++ b/roles/core/network/init.sls
@@ -26,6 +26,8 @@
ipv4_netmask: {{ network['ipv4_netmask'] | default('255.255.255.0') }}
ipv4_aliases: {{ salt['node.get_list']('network:ipv4_aliases') }}
dhcp_required: {{ salt['node.has']('network:dhcp_required') }}
+ ipv6_interface: {{ network['ipv6_interface'] }}
+ has_native_ipv6: {{ salt['node.has']('network:ipv6_native') }}
/etc/rc.conf.d/routing:
file.managed:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 21:41 (20 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306893
Default Alt Text
D2111.diff (968 B)
Attached To
Mode
D2111: Configure native IPv6 for FreeBSD servers
Attached
Detach File
Event Timeline
Log In to Comment