1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_dhcpv6_client
Martine Lenders 38d14b6335
dhcpv6_client: make IA_PD an optional module
Prefix delegation used to be the only supported feature of our DHCPv6
client, but by now it also supports MUD, DNS recursive name servers and
IA_NA is on the horizon. So it makes sense to make IA_PD an optional
module like all those other features are as well.
2021-07-21 11:37:29 +02:00
..
tests-as-root tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
dhcpv6_server.sh tests: add dhcpv6_client test application 2020-01-16 12:36:10 +01:00
kea-dhcp6.conf tests: add dhcpv6_client test application 2020-01-16 12:36:10 +01:00
main.c tests: add dhcpv6_client test application 2020-01-16 12:36:10 +01:00
Makefile dhcpv6_client: make IA_PD an optional module 2021-07-21 11:37:29 +02:00
Makefile.board.dep tests: add dhcpv6_client test application 2020-01-16 12:36:10 +01:00
Makefile.ci boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
README.md tests/gnrc_dhcpv6: add test-as-root to README 2021-02-09 19:47:47 +01:00

Overview

This folder contains a test application for RIOT's DHCPv6 client.

How to test

The test script requires Kea as DHCPv6 server. It is available as kea-dhcp6-server on Ubuntu since Ubuntu 16.04:

apt-get install kea-dhcp6-server

On Arch Linux it is available in the kea package:

pacman -Syu kea

If you use any platform other than native, you need to use ethos, otherwise netdev_tap is chosen.

An instance of Kea that configured via kea-dhcp6.conf is started in parallel to make term/make test-as-root.

Read the Kea documentation on the configuration file for more information.

The default set-up is configured so a 2001:db8::/32 is delegated via the tapbr0 bridge as created with the dist/tools/tapsetup/tapsetup script. If you created your interface and without the script, please reconfigure Kea by search & replacing "tapbr0" in the configuration file.

BOARD=samr21-xpro make flash test-as-root