Lib/Networking: Accept router advertisements
This commit is contained in:
@ -56,14 +56,14 @@
|
|||||||
address = ips;
|
address = ips;
|
||||||
gateway = routers;
|
gateway = routers;
|
||||||
dns = nameservers;
|
dns = nameservers;
|
||||||
routes = builtins.map (r: {Gateway = r;}) routers;
|
routes = builtins.map (r: {Gateway = r;}) routers; # TODO: We need to add a way to specify addresses without routes (IPv6 ULA)
|
||||||
|
|
||||||
# See man systemd.network
|
# See man systemd.network
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
# This corresponds to the [NETWORK] section
|
# This corresponds to the [NETWORK] section
|
||||||
DHCP = "no";
|
DHCP = "no";
|
||||||
|
|
||||||
# IPv6AcceptRA = "no";
|
IPv6AcceptRA = "yes"; # Accept Router Advertisements
|
||||||
# MulticastDNS = "no";
|
# MulticastDNS = "no";
|
||||||
# LLMNR = "no";
|
# LLMNR = "no";
|
||||||
# LinkLocalAddressing = "ipv6";
|
# LinkLocalAddressing = "ipv6";
|
||||||
|
|||||||
Reference in New Issue
Block a user