Skip to content

Commit

Permalink
examples/gnrc_border_router: request temp address
Browse files Browse the repository at this point in the history
Additionally to requesting a delegated prefix via DHCPv6 this also
enables to ask for a temporary (non-permanent) address on the 6lbr. If
the upstream DHCP server provides one, this can be used to establish
end-to-end connectivity from the 6lbr towards an Internet host directly.
  • Loading branch information
OlegHahm committed Jan 2, 2025
1 parent 74eddd6 commit 11a23b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/gnrc_border_router/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BOARD ?= native
RIOTBASE ?= $(CURDIR)/../..

# Default to using ethos for providing the uplink when not on native
UPLINK ?= ethos
UPLINK ?= cdc-ecm

# Check if the selected Uplink is valid
ifeq (,$(filter ethos slip cdc-ecm wifi ethernet,$(UPLINK)))
Expand Down Expand Up @@ -57,6 +57,7 @@ endif
ifeq (dhcpv6,$(PREFIX_CONF))
# include DHCPv6 client for 6LoWPAN border router
USEMODULE += gnrc_dhcpv6_client_6lbr
USEMODULE += dhcpv6_client_ia_na
else ifeq (uhcp,$(PREFIX_CONF))
# include UHCP client
USEMODULE += gnrc_uhcpc
Expand Down

0 comments on commit 11a23b5

Please sign in to comment.