about summary refs log tree commit diff
path: root/nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-10-13Merge pull request #195154 from veehaitch/networkd-ipv6-pdFlorian Klink1-1/+1
nixos/networkd: add/adopt IPv6 options
2022-10-10nixos/tests: Use kea in networkd prefix-delegation testMartin Weinelt1-36/+87
With the announced EOL of the venerable ISC DHCP Server it is time to migrate this test to Kea, it's successor. The ISP has also received an upgrade to its interface configuration, which now happens completely through networkd. https://www.isc.org/blogs/isc-dhcp-eol/
2022-10-09nixos/networkd: `DHCPv6PrefixDelegation` -> `DHCPPrefixDelegation`Vincent Haupert1-1/+1
Adapt to changes introduced in Systemd 250: > The [DHCPv6PrefixDelegation] section in .network file is renamed to > [DHCPPrefixDelegation], as now the prefix delegation is also > supported with DHCPv4 protocol by enabling the Use6RD= setting. Replaces the `dhcpV6PrefixDelegationConfig` with `dhcpPrefixDelegationConfig` and throws an error if the old option is used. Also adapt the respective IPv6 prefix delegation test.
2022-01-20nixos/tests/systemd-networkd-ipv6-prefix-delegation: fixrnhmjoj1-14/+5
Since dhcpd has been hardened (DynamicUser → NoNewPrivileges) it can't use a setcap wrapper. Instead, we add the net_admin capability to it's ambient set and run `ip route` directly. This is also safer that giving everyone permisison to change the routing table.
2021-09-22nixos/tests/systemd-networkd-ipv6-prefix-delegation: fix wrapperrnhmjoj1-0/+2
The owner,group options are mandatory after #126289.
2021-04-08treewide: fix eval without aliases after ↵ajs1241-1/+1
9378fdf87e0626e8c63a90a378c38444ff54808b
2021-01-31nixos/tests: adapt systemd-networkd-ipv6-prefix-delegationVincent Haupert1-12/+8
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl1-1/+1
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2020-08-25nixos/tests: use ::1 instead of anycast address (#96250)Rouven Czerwinski1-4/+4
According to RFC4291[1], 2001:db8:: is the anycast address for the prefix and will be answered by all routers responsible for this prefix. This means that before the iputils bump, the ping from client to isp was answered by the router and not by the ISP machine. Switching away from the anycast address fixes this issue. Credits for finding this go to @primeos. [1]: https://tools.ietf.org/html/rfc4291#section-2.6.1 Fixes #96188
2020-05-01nixos/tests: add systemd-networkd-ipv6-prefix-delegationAndreas Rammhold1-0/+295
This is a follow-up to the PR #82026 that contains the promised tests. In this test I am testing if we can properly propagate prefixes received via DHCPv6 PD with the networkd options in our module system. The comments in the test should be sufficient to follow the idea and what is going on.