diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-30 21:06:31 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-30 21:58:48 +0100 |
commit | 7b6bd34e06ed9852e6c4b8f7d142b9e936278002 (patch) | |
tree | 30f8fe4883767d1cde693f478efef912630eb0f0 /roles/space_server/files/networkd | |
parent | 380377e55a9373c8203e62d184107e1c5bbe1da0 (diff) | |
download | labitat-ansible-7b6bd34e06ed9852e6c4b8f7d142b9e936278002.tar.gz labitat-ansible-7b6bd34e06ed9852e6c4b8f7d142b9e936278002.tar.xz labitat-ansible-7b6bd34e06ed9852e6c4b8f7d142b9e936278002.zip |
space_server: use systemd-network for RAs
..rather radvd
Diffstat (limited to 'roles/space_server/files/networkd')
-rw-r--r-- | roles/space_server/files/networkd/10-lan11.network | 14 | ||||
-rw-r--r-- | roles/space_server/files/networkd/10-lan12.network | 14 | ||||
-rw-r--r-- | roles/space_server/files/networkd/10-lan13.network | 14 | ||||
-rw-r--r-- | roles/space_server/files/networkd/10-lan14.network | 14 | ||||
-rw-r--r-- | roles/space_server/files/networkd/10-lan15.network | 23 |
5 files changed, 73 insertions, 6 deletions
diff --git a/roles/space_server/files/networkd/10-lan11.network b/roles/space_server/files/networkd/10-lan11.network index 88d714f..52c2359 100644 --- a/roles/space_server/files/networkd/10-lan11.network +++ b/roles/space_server/files/networkd/10-lan11.network @@ -4,10 +4,10 @@ Name=lan11 [Network] DHCP=no IPv6AcceptRA=no -LinkLocalAddressing=no Address=10.42.1.1/24 #Address=2a01:4262:1ab:b::1/64 Address=fe80::1/64 +IPv6PrefixDelegation=static IPForward=yes LLMNR=yes MulticastDNS=yes @@ -17,3 +17,15 @@ EmitLLDP=yes [Route] Destination=2a01:4262:1ab:b::/64 PreferredSource=2a01:4262:1ab:: + +[IPv6PrefixDelegation] +RouterLifetimeSec=14400 +RouterPreference=medium +EmitDNS=yes +DNS=2a01:4262:1ab:: +DNSLifetimeSec=14400 + +[IPv6Prefix] +Prefix=2a01:4262:1ab:b::/64 +ValidLifetimeSec=86400 +PreferredLifetimeSec=14400 diff --git a/roles/space_server/files/networkd/10-lan12.network b/roles/space_server/files/networkd/10-lan12.network index 7f48f5b..e35b8db 100644 --- a/roles/space_server/files/networkd/10-lan12.network +++ b/roles/space_server/files/networkd/10-lan12.network @@ -4,10 +4,10 @@ Name=lan12 [Network] DHCP=no IPv6AcceptRA=no -LinkLocalAddressing=no Address=10.42.2.1/24 #Address=2a01:4262:1ab:c::1/64 Address=fe80::1/64 +IPv6PrefixDelegation=static IPForward=yes LLMNR=yes MulticastDNS=yes @@ -17,3 +17,15 @@ EmitLLDP=yes [Route] Destination=2a01:4262:1ab:c::/64 PreferredSource=2a01:4262:1ab:: + +[IPv6PrefixDelegation] +RouterLifetimeSec=14400 +RouterPreference=medium +EmitDNS=yes +DNS=2a01:4262:1ab:: +DNSLifetimeSec=14400 + +[IPv6Prefix] +Prefix=2a01:4262:1ab:c::/64 +ValidLifetimeSec=86400 +PreferredLifetimeSec=14400 diff --git a/roles/space_server/files/networkd/10-lan13.network b/roles/space_server/files/networkd/10-lan13.network index 81e3911..26c8345 100644 --- a/roles/space_server/files/networkd/10-lan13.network +++ b/roles/space_server/files/networkd/10-lan13.network @@ -4,10 +4,10 @@ Name=lan13 [Network] DHCP=no IPv6AcceptRA=no -LinkLocalAddressing=no Address=10.42.3.1/24 #Address=2a01:4262:1ab:d::1/64 Address=fe80::1/64 +IPv6PrefixDelegation=static IPForward=yes LLMNR=yes MulticastDNS=yes @@ -17,3 +17,15 @@ EmitLLDP=yes [Route] Destination=2a01:4262:1ab:d::/64 PreferredSource=2a01:4262:1ab:: + +[IPv6PrefixDelegation] +RouterLifetimeSec=14400 +RouterPreference=medium +EmitDNS=yes +DNS=2a01:4262:1ab:: +DNSLifetimeSec=14400 + +[IPv6Prefix] +Prefix=2a01:4262:1ab:d::/64 +ValidLifetimeSec=86400 +PreferredLifetimeSec=14400 diff --git a/roles/space_server/files/networkd/10-lan14.network b/roles/space_server/files/networkd/10-lan14.network index 5b40bbf..ece840c 100644 --- a/roles/space_server/files/networkd/10-lan14.network +++ b/roles/space_server/files/networkd/10-lan14.network @@ -4,10 +4,10 @@ Name=lan14 [Network] DHCP=no IPv6AcceptRA=no -LinkLocalAddressing=no Address=10.42.4.1/24 #Address=2a01:4262:1ab:e::1/64 Address=fe80::1/64 +IPv6PrefixDelegation=static IPForward=yes LLMNR=yes MulticastDNS=yes @@ -17,3 +17,15 @@ EmitLLDP=yes [Route] Destination=2a01:4262:1ab:e::/64 PreferredSource=2a01:4262:1ab:: + +[IPv6PrefixDelegation] +RouterLifetimeSec=14400 +RouterPreference=medium +EmitDNS=yes +DNS=2a01:4262:1ab:: +DNSLifetimeSec=14400 + +[IPv6Prefix] +Prefix=2a01:4262:1ab:e::/64 +ValidLifetimeSec=86400 +PreferredLifetimeSec=14400 diff --git a/roles/space_server/files/networkd/10-lan15.network b/roles/space_server/files/networkd/10-lan15.network index e3c99dd..fbcfb87 100644 --- a/roles/space_server/files/networkd/10-lan15.network +++ b/roles/space_server/files/networkd/10-lan15.network @@ -4,11 +4,30 @@ Name=lan15 [Network] DHCP=no IPv6AcceptRA=no -LinkLocalAddressing=no -Address=2a01:4262:1ab:f::1/64 +# systemd-networkd thinks link is degraded +# unless it has an ipv4 address :( +Address=10.42.5.1/24 +#Address=2a01:4262:1ab:f::1/64 Address=fe80::1/64 +IPv6PrefixDelegation=static IPForward=ipv6 LLMNR=yes MulticastDNS=yes LLDP=yes EmitLLDP=yes + +[Route] +Destination=2a01:4262:1ab:f::/64 +PreferredSource=2a01:4262:1ab:: + +[IPv6PrefixDelegation] +RouterLifetimeSec=14400 +RouterPreference=medium +EmitDNS=yes +DNS=2a01:4262:1ab:: +DNSLifetimeSec=14400 + +[IPv6Prefix] +Prefix=2a01:4262:1ab:f::/64 +ValidLifetimeSec=86400 +PreferredLifetimeSec=14400 |