[riot-notifications] [RIOT-OS/RIOT] shell/sc_gnrc_ipv6_nib: extend for ABR (#10951)
benpicco
notifications at github.com
Wed Sep 11 22:32:06 CEST 2019
I've tried the `examples/gnrc_border_router` now too.
Not sure if I'm doing this right:
```
Iface 6 HWaddr: 34:82 Channel: 26 Page: 0 NID: 0x23
Long HWaddr: 79:7A:34:2F:9D:73:B4:82
TX-Power: 0dBm State: IDLE max. Retrans.: 3 CSMA Retries: 4
AUTOACK ACK_REQ CSMA L2-PDU:102 MTU:1280 HL:64 RTR
RTR_ADV 6LO IPHC
Source address length: 8
Link type: wireless
inet6 addr: fe80::7b7a:342f:9d73:b482 scope: local VAL
inet6 addr: 2001:db8::7b7a:342f:9d73:b482 scope: global VAL
inet6 group: ff02::2
inet6 group: ff02::1
inet6 group: ff02::1:ff73:b482
Iface 7 HWaddr: 02:F7:3F:09:66:96
L2-PDU:1500 MTU:1500 HL:64 RTR
RTR_ADV Source address length: 6
Link type: wired
inet6 addr: fe80::f7:3fff:fe09:6696 scope: local VAL
inet6 addr: fe80::2 scope: local VAL
inet6 group: ff02::2
inet6 group: ff02::1
inet6 group: ff02::1:ff09:6696
inet6 group: ff02::1:ff00:2
> nib abr
2001:db8::7b7a:342f:9d73:b482 v0 expires 10000min
> nib abr del 2001:db8::7b7a:342f:9d73:b482
> nib abr
[none]
> nib abr add 2001:db8::7b7a:342f:9d73:b482
address 2001:db8::7b7a:342f:9d73:b482 is not assigned to a 6LBR interface
```
The other nodes in the network get the prefix.
```
2019-09-11 22:26:44,537 - INFO # nib abr
2019-09-11 22:26:44,541 - INFO # 2001:db8::7b7a:342f:9d73:b482 v0 expires 9994min
```
Looks like they only get one border router though - I turned on the raspi too. (I guess that makes sense - but how do they select which to use?)
The border router is also pretty persistent: even after turning off the raspi and resetting a node, it would still have the raspi as border router - I guess there is some peer to peer exchange about neighborhood information going on? So I had to reset all nodes (or just wait a couple of weeks 😉 ) before the new border router was accepted after shutting the raspi down.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10951#issuecomment-530553437
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190911/3552ac8c/attachment.htm>
More information about the notifications
mailing list