From 7b6bd34e06ed9852e6c4b8f7d142b9e936278002 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Fri, 30 Nov 2018 21:06:31 +0100 Subject: space_server: use systemd-network for RAs ..rather radvd --- roles/space_server/files/networkd/10-lan11.network | 14 ++++++++++++- roles/space_server/files/networkd/10-lan12.network | 14 ++++++++++++- roles/space_server/files/networkd/10-lan13.network | 14 ++++++++++++- roles/space_server/files/networkd/10-lan14.network | 14 ++++++++++++- roles/space_server/files/networkd/10-lan15.network | 23 ++++++++++++++++++++-- 5 files changed, 73 insertions(+), 6 deletions(-) (limited to 'roles/space_server/files/networkd') 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 -- cgit v1.2.1