IPv6 Communication between nodes from different sites
|Number of nodes involved||Around 10, 5 on each site|
|Time of platforms usage||Hours|
I tried to establish communication between a node from Grenoble and a node from Strasbourg using IPv6.
On each platform, a network was built with RPL routing and a border router making the link between the wireless network and the virtual machine using SLIP. The nodes in the network where idle, except one on Grenoble running a ’ping6’ application with one node from Strasbourg as destination.
The difficulty is that the virtual machines are on private networks only accessible trough ssh.
It works with the following setup:
I looked at ways to built vpn over SSH. It is not possible to use the tunneling feature of ssh because there is no direct access to root account with ssh. So I ended up building a PPP tunnel over SSH like described in this tutorial http://www.tldp.org/HOWTO/ppp-ssh/index.html.
I set up 3 different subnets, one for each part of the network, the wireless networks and the VPN. And I established routes going through the VPN to link the two platforms.
The route of packet is:
Ping6 Node -> Node -> Node -> Border router: via Radio
Border router -> Virtual Machine: via the serial link
Virtual Machine -> Virtual Machine: via PPP tunnel
Virtual Machine -> Border router: via the serial link
Border router -> Node -> Destination Node: via Radio
I only wanted to test if a route could be established, I didn’t checked the quality of the connection.
Contiki + ping6 app (senslab site version)
ip linux command
ssh + ppp