Neo
6 April 2017 10:59
#1
Hello RIOT'ers,
I'm using RIOT with fixed IP-Addresses up to now. How can I invoke
neighborhood detection and what is the functionality behind this
feature? What is used to distinguish between border-routers in the near area?
The goal is to use the nearest border-router - is it the field-strength
which is used to detect the nearest border-router?
Sorry for this question but I'm not so deep in the materia about 6LoWPAN
Thanks a lot!
Best regards,
Neo
Hi,
if you really want to use vanilla NDP (6LoWPAN-NDP assumes the
link-local IP address was automatically generated from the hardware
address) in a LoWPAN, compile gnrc_networking with the following
modules instead of `gnrc_ipv6_router_default`:
USEMODULE += gnrc_sixlowpan
USEMODULE += gnrc_sixlowpan_frag
USEMODULE += gnrc_sixlowpan_iphc
USEMODULE += gnrc_ipv6_router # (or gnrc_ipv6 for host behavior)
USEMODULE += gnrc_icmpv6
USEMODULE += gnrc_ndp_router # (or gnrc_ndp_host for host behavior)
Did not test this configuration for a while now, so this might not work at all.
Be aware however, that this also might be more power consuming, since
this causes a lot more broadcasts in your network.
Cheers,
Martine