Closed Khayhen closed 4 years ago
@miri64 can you help out here?
I actually got here as the top result of googling "riot border router" and I've realized after reading it that this will perhaps be a very commonly encountered thing so I thought it important to answer even if it's too late to help @Khayhen.
The information provided is very good but the other thing that helps complete the picture is the ipv6 routing table of the UbuKhay
host that is running the tunslip6 command. It looks like this, although this is from a setup using ethos instead of tunslip:
UbuKhay# ip -6 r
2001:470:4bb0:ffff::/64 via fe80::2 dev tap0 metric 1024 pref medium
unreachable fd00:dead:beef::1 dev lo proto kernel metric 256 error -101 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev tap0 proto kernel metric 256 pref medium
default via fe80::ba27:ebff:fe7d:f917 dev eth0 metric 202 pref medium
default via fe80::2 dev tap0 metric 221 pref medium
I don't know whether there are additional problems but the one that sticks out is that you've used an ip range from 2001:db8::/32
which is the designated ipv6 address space for examples and documentation. It isn't routable on the public internet, so if you want to ping the internet you need to replace this with an ip network that gets routed to you. If you need some ipv6 address space it's easy to get an allocation from https://tunnelbroker.net/ and route it to your border router through a tunnel.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.
Hi, I'm trying to setup 6LoWPAN network where the nodes can transmit data to a server someway or other. My preferred method would be MQTT-SN. My current hardware that I'm using is a SAMR21 Xplained-Pro board for the border router and the nodes. By following the tutorial, I manage to setup the border router through ethos and ping the nodes from my Linux PC where my border router is connected to. However, it still can't connect to the internet. Hence, I attempted to follow the slip method but still unsuccessful.
The method I'm using to test the connection to the internet is simply pinging the google.com IPv6 address. Here is what I did, I first connected a FTDI UART connector to the board PA22 and PA23 pins respectively and also connected a cable to the debug port. Then I flashed the board with the example/gnrc_border_router file with making changes to the Makefile to enable slip routing and commenting out ethos uhcp. The content of the Makefile is as below:
I then followed to run the tunslip program and got this output:
I then open pyterm for the border router and added the following commands as instructed:
I managed to ping the tunslip and add the fibroute to ping google's addr but then it didnt work.
Sorry for the long post, a few main questions are: