mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
chore: disable mdns on all vlans except services
This commit is contained in:
parent
d7b79ab6e9
commit
58f2c82b65
3 changed files with 3 additions and 3 deletions
|
@ -85,7 +85,7 @@ in
|
|||
matchConfig.Name = "vlan-${vlanName}";
|
||||
networkConfig = {
|
||||
IPv6PrivacyExtensions = "yes";
|
||||
MulticastDNS = true;
|
||||
MulticastDNS = vlanName == "services";
|
||||
};
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
|
|
|
@ -112,7 +112,7 @@ in
|
|||
matchConfig.Name = "me-${vlanName}";
|
||||
networkConfig = {
|
||||
IPv6PrivacyExtensions = "yes";
|
||||
MulticastDNS = true;
|
||||
MulticastDNS = vlanName == "services";
|
||||
};
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
IPv6SendRA = true;
|
||||
IPv6AcceptRA = false;
|
||||
# DHCPPrefixDelegation = true;
|
||||
MulticastDNS = true;
|
||||
MulticastDNS = vlanName == "services";
|
||||
};
|
||||
# dhcpPrefixDelegationConfig.UplinkInterface = "wan";
|
||||
# dhcpPrefixDelegationConfig.Token = "::ff";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue