mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-10 06:32:42 +02:00
docs: IPv6AcceptRA
This commit is contained in:
@@ -36,10 +36,10 @@ in {
|
|||||||
systemd.network.networks."10-${iface}" = {
|
systemd.network.networks."10-${iface}" = {
|
||||||
matchConfig.Name = [iface];
|
matchConfig.Name = [iface];
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
DHCP = "ipv6"; # enable DHCPv6 only, so we can get a GUA.
|
|
||||||
Address = [ipv4WithMask ipv6WithMask];
|
Address = [ipv4WithMask ipv6WithMask];
|
||||||
DNS = nameservers;
|
DNS = nameservers;
|
||||||
IPv6AcceptRA = true;
|
DHCP = "ipv6"; # enable DHCPv6 only, so we can get a GUA.
|
||||||
|
IPv6AcceptRA = true; # for Stateless IPv6 Autoconfiguraton (SLAAC)
|
||||||
LinkLocalAddressing = "ipv6";
|
LinkLocalAddressing = "ipv6";
|
||||||
};
|
};
|
||||||
routes = [
|
routes = [
|
||||||
|
|||||||
Reference in New Issue
Block a user