1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples: bootstrap host-side DHCPv6 server with gnrc_border_router

This commit is contained in:
Martine S. Lenders 2020-03-10 16:17:06 +01:00 committed by Martine S. Lenders
parent 0c51285b9b
commit 74b34c2a03
No known key found for this signature in database
GPG Key ID: CCD317364F63286F
3 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ QUIET ?= 1
# Ethos/native TAP interface and UHCP prefix can be configured from make command
TAP ?= tap0
IPV6_PREFIX ?= 2001:db8::/64
IPV6_PREFIX ?= 2001:db8::/32
# MODULE DEPENDENT CONFIGURATION IMPORT
# =====================================

View File

@ -3,10 +3,10 @@ CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
STATIC_ROUTES ?= 1
ifeq (1,$(USE_DHCPV6))
ETHOS_ONLY=--ethos-only
FLAGS_EXTRAS=--use-dhcpv6
endif
# Configure terminal parameters
TERMDEPS += host-tools
TERMPROG ?= sudo sh $(RIOTTOOLS)/ethos/start_network.sh
TERMFLAGS ?= $(ETHOS_ONLY) $(PORT) $(TAP) $(IPV6_PREFIX)
TERMFLAGS ?= $(FLAGS_EXTRAS) $(PORT) $(TAP) $(IPV6_PREFIX)

View File

@ -5,10 +5,10 @@ CFLAGS += -DSLIPDEV_PARAM_BAUDRATE=$(SLIP_BAUDRATE)
STATIC_ROUTES ?= 1
ifeq (1,$(USE_DHCPV6))
SLIP_ONLY=-e
FLAGS_EXTRAS=-d
endif
# Configure terminal parameters
TERMDEPS += sliptty
TERMPROG ?= sudo sh $(RIOTTOOLS)/sliptty/start_network.sh
TERMFLAGS ?= $(SLIP_ONLY) $(IPV6_PREFIX) $(PORT) $(SLIP_BAUDRATE)
TERMFLAGS ?= $(FLAGS_EXTRAS) $(IPV6_PREFIX) $(PORT) $(SLIP_BAUDRATE)