Revert "better ipv6 config"

This reverts commit 1999030ee2.
This commit is contained in:
Rouven Seifert 2023-05-30 13:45:51 +02:00
parent 1999030ee2
commit de4d969a0e
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 5 additions and 14 deletions

View file

@ -1,14 +1,5 @@
{ ... }: { ... }:
{ {
services.radvd = {
enable = true;
config = ''
interface ens3 {
AdvSendAdvert on;
prefix 2a01:4f8:c012:49de::/64 {};
};
'';
};
networking = { networking = {
hostName = "falkenstein-1"; hostName = "falkenstein-1";
useNetworkd = true; useNetworkd = true;
@ -23,8 +14,10 @@
networks."10-wired" = { networks."10-wired" = {
matchConfig.Name = "ens3"; matchConfig.Name = "ens3";
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "ipv4";
IPv6AcceptRA = "yes"; IPv6AcceptRA = "yes";
Address = "2a01:4f8:c012:49de::1/64";
Gateway = "fe80::1";
}; };
}; };
}; };

View file

@ -46,8 +46,6 @@
linkConfig.RequiredForOnline = false; linkConfig.RequiredForOnline = false;
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";
IPv6AcceptRA = "yes";
IPv6PrivacyExtensions = "yes";
}; };
dhcpV4Config = { dhcpV4Config = {
RouteMetric = 10; RouteMetric = 10;
@ -77,7 +75,7 @@
DHCP = "yes"; DHCP = "yes";
IgnoreCarrierLoss = "3s"; IgnoreCarrierLoss = "3s";
IPv6AcceptRA = "yes"; IPv6AcceptRA = "yes";
IPv6PrivacyExtensions = "yes"; #IPv6PrefixDelegation = "dhcpv6";
}; };
dhcpV4Config = { dhcpV4Config = {
RouteMetric = 20; RouteMetric = 20;