Skip to content

Ndppd

services.ndppd.configFile

Path to configuration file. Type: null or path

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.enable

Whether to enable daemon that proxies NDP (Neighbor Discovery Protocol) messages between interfaces. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.interface

Interface which is on link-level with router. (Legacy option, use services.ndppd.proxies.\<interface>.rules.\<network> instead)

Type: null or string

Default

null

Example

"eth0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.network

Network that we proxy. (Legacy option, use services.ndppd.proxies.\<interface>.rules.\<network> instead)

Type: null or string

Default

null

Example

"1111::/64"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies

This sets up a listener, that will listen for any Neighbor Solicitation messages, and respond to them according to a set of rules.

Type: attribute set of (submodule)

Default

{ }

Example

{eth0.rules."1111::/64" = {};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.interface

Listen for any Neighbor Solicitation messages on this interface, and respond to them according to a set of rules. Defaults to the name of the attrset.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.router

Turns on or off the router flag for Neighbor Advertisement Messages.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.rules

This is a rule that the target address is to match against. If no netmask is provided, /128 is assumed. You may have several rule sections, and the addresses may or may not overlap.

Type: attribute set of (submodule)

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.rules.<name>.interface

Interface to use when method is iface. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.rules.<name>.method

static: Immediately answer any Neighbor Solicitation Messages (if they match the IP rule). iface: Forward the Neighbor Solicitation Message through the specified interface and only respond if a matching Neighbor Advertisement Message is received. auto: Same as iface, but instead of manually specifying the outgoing interface, check for a matching route in /proc/net/ipv6_route.

Type: one of "static", "iface", "auto"

Default

"auto"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.rules.<name>.network

This is the target address is to match against. If no netmask is provided, /128 is assumed. The addresses of several rules may or may not overlap. Defaults to the name of the attrset.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.timeout

Controls how long to wait for a Neighbor Advertisement Message before invalidating the entry, in milliseconds.

Type: signed integer

Default

500

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.proxies.<name>.ttl

Controls how long a valid or invalid entry remains in the cache, in milliseconds.

Type: signed integer

Default

30000

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix

services.ndppd.routeTTL

This tells 'ndppd' how often to reload the route file /proc/net/ipv6_route, in milliseconds.

Type: signed integer

Default

30000

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ndppd.nix