diff --git a/hosts/carbon/ppp.nix b/hosts/carbon/ppp.nix index 8a22cf6..7502205 100644 --- a/hosts/carbon/ppp.nix +++ b/hosts/carbon/ppp.nix @@ -57,4 +57,23 @@ ip46tables -t mangle -A forward-mangle -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1416 ''; + networking.interfaces.net-heimnetz.useDHCP = true; + networking.interfaces.ppp-dtagdsl.useDHCP = true; + + networking.dhcpcd = { + enable = true; + allowInterfaces = [ + "net-heimnetz" + "ppp-dtagdsl" + ]; + wait = "ipv6"; + extraConfig = '' + ipv6only + noipv6rs + interface ppp-dtagdsl + ipv6rs + ia_pd 1/::/56 net-heimnetz/201/64 + ''; + }; + }