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/10-lan15.network | |
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/10-lan15.network')
-rw-r--r-- | roles/space_server/files/networkd/10-lan15.network | 23 |
1 files changed, 21 insertions, 2 deletions
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 |