Hi,
this may be more related to the Linux side of the system, but I’m not completely sure so I figured I’d ask.
I’m trying to get a 6LowPAN network running between a RIOT device and an embedded Linux border router.
I’m using a SAMR30 for the RIOT device using the gnrc_networking example and an embedded Linux device (not RPi) with an RF212 radio.
I have been able to bring up a lowpan network and can ping from both devices using the link local addresses.
I have been referencing a Linux Journal article for all of this: https://jan.newmarch.name/IoT/LinuxJournal/Routing/
I configure radvd on the Linux device to provide a global address to the RIOT device which is does, config below. The boarder router global address is set to fd28::1. The RIOT device gets a global address of fd28::ec0a:363b:7506:d64d.
I can ping fd28::1 from the RIOT device, but I cannot ping the global address assigned to the RIOT device from the Linux board.
This could be me not understanding ipv6, but I thought that it sohould be a routable address an directly reachable from the border router’s interface.
Any ideas what I’m missing?
Thanks, Matt
radvd.conf: interface lowpan0 { AdvSendAdvert on; AdvCurHopLimit 255; AdvSourceLLAddress on;
prefix fd28::/64
{
#AdvOnLink off;
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
abro fe80::1
{
AdvVersionLow 10;
AdvVersionHigh 2;
AdvValidLifeTime 2;
};
};
Linux box:
ifconfig
lowpan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1280 metric 1 inet6 fe80::24db:56ee:8137:dc92 prefixlen 64 scopeid 0x20 inet6 fd28::1 prefixlen 64 scopeid 0x0 inet6 fd28::24db:56ee:8137:dc92 prefixlen 64 scopeid 0x0 unspec 26-DB-56-EE-81-37-DC-92-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC) RX packets 86 bytes 6422 (6.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 143 bytes 13280 (12.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wpan0: flags=195<UP,BROADCAST,RUNNING,NOARP> mtu 123 metric 1 unspec 26-DB-56-EE-81-37-DC-92-00-00-00-00-00-00-00-00 txqueuelen 300 (UNSPEC) RX packets 86 bytes 3885 (3.7 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 151 bytes 12790 (12.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ping6 -I lowpan0 fd28::ec0a:363b:7506:d64d
PING fd28::ec0a:363b:7506:d64d (fd28::ec0a:363b:7506:d64d): 56 data bytes // nothing …
ping6 -I lowpan0 fe80::ec0a:363b:7506:d64d
PING fe80::ec0a:363b:7506:d64d (fe80::ec0a:363b:7506:d64d): 56 data bytes 64 bytes from fe80::ec0a:363b:7506:d64d: seq=0 ttl=255 time=13.733 ms 64 bytes from fe80::ec0a:363b:7506:d64d: seq=1 ttl=255 time=12.483 ms 64 bytes from fe80::ec0a:363b:7506:d64d: seq=2 ttl=255 time=14.133 ms
RIOT device:
ifconfig Iface 6 HWaddr: 56:4D Channel: 5 Page: 2 NID: 0x23 PHY: O-QPSK
Long HWaddr: EE:0A:36:3B:75:06:D6:4D
TX-Power: 0dBm State: IDLE max. Retrans.: 3 CSMA Retries: 4
AUTOACK ACK_REQ CSMA L2-PDU:102 MTU:1280 HL:255 RTR
RTR_ADV 6LO IPHC
Source address length: 8
Link type: wireless
inet6 addr: fe80::ec0a:363b:7506:d64d scope: link VAL
inet6 addr: fd28::ec0a:363b:7506:d64d scope: global TNT[3]
inet6 group: ff02::2
inet6 group: ff02::1
inet6 group: ff02::1:ff06:d64d
inet6 group: ff02::1a
Statistics for Layer 2
RX packets 67 bytes 6735
TX packets 37 (Multicast: 9) bytes 2407
TX succeeded 37 errors 0
Statistics for IPv6
RX packets 67 bytes 6296
TX packets 37 (Multicast: 9) bytes 2874
TX succeeded 37 errors 0
ping fd28::1 12 bytes from fd28::1: icmp_seq=0 ttl=255 rssi=-46 dBm time=10.010 ms 12 bytes from fd28::1: icmp_seq=1 ttl=255 rssi=-46 dBm time=8.856 ms 12 bytes from fd28::1: icmp_seq=2 ttl=255 rssi=-47 dBm time=10.478 ms
— fd28::1 PING statistics — 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 8.856/9.781/10.478 ms