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:
parent
0c51285b9b
commit
74b34c2a03
@ -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
|
||||
# =====================================
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user