From c815bd89bfa7fed01a477cf3ce5d49d733315d30 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 15 Nov 2021 10:55:53 +0059 Subject: vidhar: ... --- hosts/vidhar/default.nix | 14 ++++++++++++++ hosts/vidhar/dsl.nix | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 18eb0629..25040f7d 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -158,6 +158,20 @@ "eno2".networkConfig.LinkLocalAddressing = "no"; "telekom".networkConfig.LinkLocalAddressing = "no"; }; + services.dhcpd6 = { + enable = true; + configFile = pkgs.writeText "dhcpd6.conf" '' + interface dsl { + send ia-pd 0; + } + + id-assoc pd 0 { + prefix-interface eno1 { + sla-id 0; + } + } + ''; + }; services.timesyncd.enable = false; services.chrony = { diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix index 74008594..202e3c18 100644 --- a/hosts/vidhar/dsl.nix +++ b/hosts/vidhar/dsl.nix @@ -63,7 +63,8 @@ in { text = '' #!${pkgs.runtimeShell} ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/use_tempaddr=1 - ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/forwarding=0 + # ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/forwarding=0 + ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/forwarding=1 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/autoconf=1 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/accept_ra=1 ${pkgs.ndisc6}/bin/rdisc6 $1 -- cgit v1.2.3