[riot-commits] [RIOT-OS/RIOT] 3a8695: gnrc_ipv6_nib: only discard RAs without ABROs on 6...

Kaspar Schleiser kaspar at schleiser.de
Wed Apr 11 22:32:35 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 3a8695bd0c0c05ddf8e9d384f9ff6db3888e66b7
      https://github.com/RIOT-OS/RIOT/commit/3a8695bd0c0c05ddf8e9d384f9ff6db3888e66b7
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c

  Log Message:
  -----------
  gnrc_ipv6_nib: only discard RAs without ABROs on 6LR

[RFC6775] only talks of *routers* processing router advertisements,
with regards of discarding them if they do not contain an ABRO.

Additionally, this change makes configuration of tests setups a lot
easier, where one note is a router distributing a prefix and the other
is a host to be configured with the RA. Just do the following on the
router:

```
> ifconfig <if> add <GUA>
> ifconfig <if> rtr_adv
```

e voilĂ ! In current master both nodes would have needed to be compiled
with `GNRC_IPV6_NIB_CONF_MULTIHOP_P6C=0`.

[RFC6775]: https://tools.ietf.org/html/rfc6775#section-8.1.3


  Commit: 328408bd21107f348dd76b517e533566031a8bb6
      https://github.com/RIOT-OS/RIOT/commit/328408bd21107f348dd76b517e533566031a8bb6
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M sys/include/net/gnrc/ipv6/nib/conf.h

  Log Message:
  -----------
  gnrc_ipv6_nib: only activate MULTIHOP_P6C for 6LR and up

Non-routing 6LN can ignore the ABRO, so we can deactivate multihop
prefix and 6LoWPAN distribution altogether (since hosts do not have a
downstream hop).


  Commit: d2db1ba2c388b9569fc1924d8ecb25b98456582a
      https://github.com/RIOT-OS/RIOT/commit/d2db1ba2c388b9569fc1924d8ecb25b98456582a
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2018-04-11 (Wed, 11 Apr 2018)

  Changed paths:
    M sys/include/net/gnrc/ipv6/nib/conf.h
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c

  Log Message:
  -----------
  Merge pull request #8568 from miri64/gnrc_ipv6_nib/fix/abro-ignore-only-on-6lr

gnrc_ipv6_nib: only discard RAs without ABROs on 6LR


Compare: https://github.com/RIOT-OS/RIOT/compare/cd25f73b1e02...d2db1ba2c388


More information about the commits mailing list