modules/network: fix slow connection to ipv6 nodes in mainland

This commit is contained in:
xinyangli 2025-04-23 20:49:08 +08:00
parent 64aa4d8bf8
commit de2908d3e0
No known key found for this signature in database
2 changed files with 5 additions and 27 deletions

View file

@ -35,7 +35,11 @@
systemd.network.enable = true;
systemd.network.networks."10-wan" = {
matchConfig.MACAddress = "00:16:3e:0a:ec:45";
networkConfig.DHCP = "ipv4";
networkConfig = {
DHCP = "ipv4";
LinkLocalAddressing = "no";
IPv6AcceptRA = "no";
};
dhcpV4Config = {
UseDNS = true;
};