aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/files/networkd
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-12-05 19:07:35 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2018-12-05 19:21:39 +0100
commitc624e52a8357da8db022831b86f2c85bb7bfed2f (patch)
treebfa87a875c3bd6b6cb31cec5614bdf6118d5421f /roles/space_server/files/networkd
parent6827f7826451a2b9e99800d2fdb4e1793e61b968 (diff)
downloadlabitat-ansible-c624e52a8357da8db022831b86f2c85bb7bfed2f.tar.gz
labitat-ansible-c624e52a8357da8db022831b86f2c85bb7bfed2f.tar.xz
labitat-ansible-c624e52a8357da8db022831b86f2c85bb7bfed2f.zip
space_server: enable NAT64/DNS64 network
Diffstat (limited to 'roles/space_server/files/networkd')
-rw-r--r--roles/space_server/files/networkd/10-lan15.network2
-rw-r--r--roles/space_server/files/networkd/10-nat64.netdev3
-rw-r--r--roles/space_server/files/networkd/10-nat64.network15
3 files changed, 19 insertions, 1 deletions
diff --git a/roles/space_server/files/networkd/10-lan15.network b/roles/space_server/files/networkd/10-lan15.network
index b202b9b..4c6babc 100644
--- a/roles/space_server/files/networkd/10-lan15.network
+++ b/roles/space_server/files/networkd/10-lan15.network
@@ -2,7 +2,7 @@
Name=lan15
[Link]
-ARP=no
+ARP=yes
[Network]
DHCP=no
diff --git a/roles/space_server/files/networkd/10-nat64.netdev b/roles/space_server/files/networkd/10-nat64.netdev
new file mode 100644
index 0000000..af0b249
--- /dev/null
+++ b/roles/space_server/files/networkd/10-nat64.netdev
@@ -0,0 +1,3 @@
+[NetDev]
+Name=nat64
+Kind=tun
diff --git a/roles/space_server/files/networkd/10-nat64.network b/roles/space_server/files/networkd/10-nat64.network
new file mode 100644
index 0000000..097e388
--- /dev/null
+++ b/roles/space_server/files/networkd/10-nat64.network
@@ -0,0 +1,15 @@
+[Match]
+Name=nat64
+
+[Network]
+DHCP=no
+IPv6AcceptRA=no
+Address=10.42.128.1/17
+IPForward=yes
+LLMNR=no
+MulticastDNS=no
+LLDP=no
+
+[Route]
+Destination=2a01:4262:1ab:0:0:f::/96
+PreferredSource=2a01:4262:1ab::