@kaspar, @Daniel I'm goint to try to sum up:
Node A (border router on samr21):
Iface 5: inet6 addr: fe80::585a:4b52:7476:b996
ifconfig 6 add affe::2 (Is that necessary then?)
ncache add 6 affe::1
ifconfig 6 add dead::585a:4b52:7476:b996
2016-03-07 17:10:09,884 - INFO # > ifconfig
2016-03-07 17:10:09,889 - INFO # Iface 5 HWaddr: 39:96 Channel: 26
Page: 0 NID: 0x23
2016-03-07 17:10:09,894 - INFO # Long HWaddr: 5a:5a:4b:52:74:76:b9:96
2016-03-07 17:10:09,903 - INFO # TX-Power: 0dBm State:
IDLE max. Retrans.: 3 CSMA Retries: 4
2016-03-07 17:10:09,913 - INFO # AUTOACK CSMA MTU:1280
HL:64 6LO RTR IPHC
2016-03-07 17:10:09,916 - INFO # Source address length: 8
2016-03-07 17:10:09,918 - INFO # Link type: wireless
2016-03-07 17:10:09,924 - INFO # inet6 addr: ff02::1/128
scope: local [multicast]
2016-03-07 17:10:09,931 - INFO # inet6 addr:
fe80::585a:4b52:7476:b996/64 scope: local
2016-03-07 17:10:09,936 - INFO # inet6 addr:
ff02::1:ff76:b996/128 scope: local [multicast]
2016-03-07 17:10:09,938 - INFO # Iface 6
2016-03-07 17:10:09,939 - INFO #
2016-03-07 17:10:09,943 - INFO # MTU:1280 HL:64 RTR RTR_ADV
2016-03-07 17:10:09,945 - INFO # Link type: wired
2016-03-07 17:10:09,951 - INFO # inet6 addr: ff02::1/128
scope: local [multicast]
2016-03-07 17:10:09,956 - INFO # inet6 addr: ff02::2/128
scope: local [multicast]
2016-03-07 17:10:09,962 - INFO # inet6 addr:
dead::585a:4b52:7476:b996/64 scope: global
2016-03-07 17:10:09,969 - INFO # inet6 addr:
ff02::1:ff00:2/128 scope: local [multicast]
2016-03-07 17:10:09,974 - INFO # inet6 addr:
ff02::1:ff76:b996/128 scope: local [multicast]
2016-03-07 17:10:09,978 - INFO # inet6 addr: affe::2/64
scope: global
Node B (gnrc_networking on samr21):
2016-03-07 17:09:28,005 - INFO # > ifconfig
2016-03-07 17:09:28,010 - INFO # Iface 7 HWaddr: 52:be Channel: 26
Page: 0 NID: 0x23
2016-03-07 17:09:28,014 - INFO # Long HWaddr: 5a:5a:45:5f:0d:d7:52:be
2016-03-07 17:09:28,021 - INFO # TX-Power: 0dBm State:
IDLE max. Retrans.: 3 CSMA Retries: 4
2016-03-07 17:09:28,029 - INFO # AUTOACK CSMA MTU:1280
HL:64 6LO RTR IPHC
2016-03-07 17:09:28,031 - INFO # Source address length: 8
2016-03-07 17:09:28,032 - INFO # Link type: wireless
2016-03-07 17:09:28,037 - INFO # inet6 addr: ff02::1/128
scope: local [multicast]
2016-03-07 17:09:28,043 - INFO # inet6 addr:
fe80::585a:455f:dd7:52be/64 scope: local
2016-03-07 17:09:28,050 - INFO # inet6 addr:
ff02::1:ffd7:52be/128 scope: local [multicast]
Linux:
/RIOT/dist/tools/tunslip$ sudo ./tunslip6 affe::1/64 -t tun0 -s /dev/ttyUSB0
********SLIP started on ``/dev/ttyUSB0''
opened tun device ``/dev/tun0''
ifconfig tun0 inet `hostname` up
ifconfig tun0 add affe::1/64
ifconfig tun0 add fe80::0:0:0:1/64
ifconfig tun0
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet adr:127.0.1.1 P-t-P:127.0.1.1 Masque:255.255.255.255
adr inet6: fe80::1/64 Scope:Lien
adr inet6: affe::1/64 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:500
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
Instead of adding a route, I want to try to ping beforehand:
ping6 -I tun0 affe::2 ACK
ping6 -I tun0 affe::585a:455f:dd7:52be NACK
ping6 -I tun0 dead::585a:455f:dd7:52be NACK
ping6 -I tun0 fe80::585a:455f:dd7:52be NACK
Which one should be ok?