1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/net/gnrc_dhcpv6_client
Frederik Haxel 5ed0bafc92 examples, tests: Changes for the native64 board
- Adapted build system and test checks for the native boards to include native64
- Added `native64` to the same tests as `native`
2024-02-05 22:02:14 +01:00
..
tests-with-config tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
dhcpv6_server.sh tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
kea-dhcp6.conf tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
main.c tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Makefile examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
Makefile.board.dep examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
Makefile.ci boards/nucleo-c031c6 initial add 2024-01-30 10:11:57 -05:00
README.md tests: move net related applications to tests/net 2023-05-12 16:36:39 +02: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-with-config. The {{ env.IFACE }} template variable will be replaced by the dhcpv6_server.sh script.

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