1
0
Fork 0

router: add ula, ll gateway address and enable router advertisements

This commit is contained in:
clerie 2022-07-17 15:10:55 +02:00
parent 2f84e34fe4
commit f6fdbf038f
1 changed files with 12 additions and 0 deletions

View File

@ -10,9 +10,21 @@
{ address = "10.42.10.2"; prefixLength = 24; }
];
networking.interfaces.net-services.ipv6.addresses = [
{ address = "fe80::1"; prefixLength = 64; }
{ address = "fd00:10:42:10::1"; prefixLength = 64; }
{ address = "fd00:10:42:10::2"; prefixLength = 64; }
{ address = "2a01:4f8:1c0c:8221::2"; prefixLength = 64; }
];
services.radvd.config = ''
interface net-services {
AdvSendAdvert on;
prefix ::/64 {};
RDNSS 2a01:4f8:1c0c:8221::8 {};
DNSSL bula22.de {};
};
'';
# Everyone is allowed reaching this, no firewall therefore
clerie.uplink-selector.interfaces.net-services.uplink = "uplink-a";