diff --git a/hosts/router/151-net-technik-iot.nix b/hosts/router/151-net-technik-iot.nix index 366650d..958c044 100644 --- a/hosts/router/151-net-technik-iot.nix +++ b/hosts/router/151-net-technik-iot.nix @@ -6,10 +6,23 @@ interface = "ens18"; }; + networking.interfaces.net-technik-iot.ipv6.addresses = [ + { address = "fe80::1"; prefixLength = 64; } + { address = "fd00:10:42:151::1"; prefixLength = 64; } + ]; networking.interfaces.net-technik-iot.ipv4.addresses = [ { address = "10.42.151.1"; prefixLength = 24; } ]; + services.radvd.config = '' + interface net-technik-iot { + AdvSendAdvert on; + prefix ::/64 {}; + RDNSS 2a01:4f8:1c0c:8221::8 {}; + DNSSL bula22.de {}; + }; + ''; + services.kea.dhcp4 = { settings = { interfaces-config = { diff --git a/hosts/router/prefix-delegation.nix b/hosts/router/prefix-delegation.nix index 9ea3946..27c991b 100644 --- a/hosts/router/prefix-delegation.nix +++ b/hosts/router/prefix-delegation.nix @@ -28,7 +28,7 @@ ia_pd 1/::/56 net-hospital/203/64 net-zoll/204/64 net-leitstelle/205/64 net-verwaltung/206/64 interface ppp-uplink-b ipv6rs - ia_pd 1/::/56 net-ikt/201/64 net-technik/202/64 net-yolo/208/64 net-infojurte/209/64 net-internation/210/64 net-programmtre/211/64 net-open-office/212/64 + ia_pd 1/::/56 net-technik-iot/151/64 net-ikt/201/64 net-technik/202/64 net-yolo/208/64 net-infojurte/209/64 net-internation/210/64 net-programmtre/211/64 net-open-office/212/64 ''; }; }