If you are looking for a way to put your OpenWSN mesh network on the Internet, this page is the one you're looking for. After you go through this page, you will be able to ping your motes from internetthe Internet.
Note |
---|
We assume you have gone through the Kickstart Linux or Kickstart Windows. If not, please do it first. |
...
Open an IPv6-in-IPv4 tunnel
Hurricane Electric (HE) provides free tunnel broker services. It lets you reach the IPv6 Internet by tunneling over existing IPv4 connections from your IPv6 enabled host or router, through one of HE's IPv6 routers. Before using this service, you need make sure you have an IPv6-capable host or router which also has IPv4 connectivity.
To open a tunnel:
- create an account on tunnelbroker
- login your account and select "Create Regular Tunnel"
- then you will see a textbox, which lets you fill your IPv4 address (see tips below)
- select an available Tunnel Server in the list and click "create Tunnel"
The tunnel broker assigns you an IPv6 address and a /64 IPv6 prefix. You will see something like this:
Tip |
---|
You can use http://ip4.me/ to check your public IPv4 address. |
...
This is because your standard Windows distribution does not answer ping (ICMPv6 echo request). Issue the following command to configure Windows (Vista in this case) to reply to ping (. Note that you need to open a Command Prompt by right clicking and choosing Open as Administrator). See Set Up Tunneling for details.
...
Code Block |
---|
# netsh interface ipv6 set interface interface=IP6Tunnel forwarding=enabled |
Tip |
---|
...
IP6Tunnel is the default tunnel name when you create the tunnel. Change it if you used another name. |
In the command windows, type in "ipconfig". You should see something like this:
No Format Tunnel adapter IP6Tunnel: Connection-specific DNS Suffix . : EECS.Berkeley.EDU IPv6 Address . . . . . . . . . . : 2001:470:66:70a::2 Link-local IPv6 Address. . . . . : fe80:51ae:8b62:94ab:79f9%16 Default Gateway. . . . . . . . . : 2001:470:66:70a::1
...