Open electronut opened 7 years ago
Mahesh Venkitachalam notifications@github.com wrote:
1 Raspberry Pi 3 + CC1310 Launchpad running rpl-border-router 2 CC1310 launchpad running http-socket example
okay.
> On the pi I have:
> $sudo ./tunslip6 fd00:1/64 -s /dev/ttyACM0
Is there a typo here? fd00::1?
> I open [fd00::212:4b00:e07:c1f5] in a browser on the pi and I can see
> my other launchpad at fd00::212:4b00:e07:d059.
> On the pi, I have assigned an IP address to tun0 as follows:
> $sudo ifconfig tun0 add 2001:470:6d:3fd::2/64
okay, but if you are using ULA fd00: addresses on your RPL, that won't be announced to the world. You need to use the /64 that HE gave you. It seems like you are expecting some kind of NAT66 behaviour.
> tun0 Link encap:UNSPEC HWaddr
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
> inet addr:127.0.1.1 P-t-P:127.0.1.1 Mask:255.255.255.255
> inet6 addr: fd00::1/64 Scope:Global
> inet6 addr: fe80::1/64 Scope:Link
> inet6 addr: 2001:470:6d:3fd::2/64 Scope:Global
So, you have added the /64 there. You could use a different IP, although it shouldn't matter. I think you should be running:
sudo ./tunslip6 2001:470:5d:3fd::1/64 -s /dev/ttyACM0
and not using ULAs at all.
-- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works | network architect [ ] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
@mcr thank you for responding.
I used fd00::1 because I heard that the previous prefix of aaaa has been changed. I am just adapting instructions from link below:
http://anrg.usc.edu/contiki/index.php/RPL_Border_Router
I was thinking that the nodes using fd00 prefix will talk to tun0, which will then talk to the internet. (I am a novice at IPv6 and networking in general.)
Mahesh Venkitachalam notifications@github.com wrote:
I used fd00::1 because I heard that the previous prefix of aaaa has been changed. I am just adapting instructions from link below:
http://anrg.usc.edu/contiki/index.php/RPL_Border_Router
I was thinking that the nodes using fd00 prefix will talk to tun0, which will then talk to the internet. (I am a novice at IPv6 and networking in general.)
The Internet doesn't know about your fd00: address (nor would it know about your aaaa: one). IPv6 is not IPv4+NAT. You will need to learn about routing if you intend to work with RPL.
-- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works | network architect [ ] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
I have the following setup:
On the pi I have:
I open
[fd00::212:4b00:e07:c1f5]
in a browser on the pi and I can see my other launchpad atfd00::212:4b00:e07:d059
.On the pi, I have assigned an IP address to tun0 as follows:
Here's my ifconfig:
For IPv6, I have set up a tunnel via Hurricane Electric and I can ping sites like ipv6.google.com fine.
I have been using the site below to test ping6 externally:
http://www.subnetonline.com/pages/ipv6-network-tools/online-ipv6-ping.php
I am able to reach tun0 from outside at 2001:470:6d:3fd::2.
But my http-socket is still not working. I don't think it's able to reach outside the local network.
I am guessing that I need add a few routes to make this happen. Could you please help me to connect the node with the Internet?
Thanks!