aboutsummaryrefslogtreecommitdiff
path: root/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network')
-rw-r--r--ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network11
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network b/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
new file mode 100644
index 0000000..853556d
--- /dev/null
+++ b/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
@@ -0,0 +1,11 @@
+[Match]
+Name=eth0
+
+[Network]
+DHCP=ipv4
+Address={{ ipam6.networks.lhn2_dn42.hosts.lhn2pi }}
+# IPv6Forwarding=yes # needs newer systemd
+
+# Disables the automatic activation of DHCPv6 from RA packets
+[IPv6AcceptRA]
+DHCPv6Client=no