IPv6 connection between Amazon EC2 Instance

Hi all, I try to set up an IPv6 tunnel broker in an Amazon EC2 instance. Normally I can do it by configuring the tunnel broker for each of the instances and this works perfectly. But the problem is, I have more than ten instances that need to be configured with an IPv6 tunnel. HE only provides five tunnels per account. And for FreeNet6 using the anonymous tunnel broker will cause the IP to change if I turn off the instance.

So I try to configure router advertisement (RTADVD). The problem is it seems that Amazon EC2 does not support IPv6 networks in their virtual network although all my instances are able to communicate perfectly using IPv4. I did a link-local ping test and nothing works. I got an idea where I tunnel each of the instances to the master IPv6 which acts as a gateway through the HE tunnel. Well its works perfectly.

A hiccup I encountered is that I have to keep pinging each of the instances from the gateway so that the tunnels will stay alive. This is not a problem for me. The problem arises when I try to set up multiple tunnels to each of the instances. I need to configure each of the tunnel interfaces for a gateway with an IPv6 addresses and this leads to multiple IPv6 addresses that arrive at the same host (my gateway). Below are my configurations. I hope someone who is knowledgeable is willing to help me. Thanks.

IPv6 tunnel gateway configuration. (FreeBSD)

Code:
ifconfig gif1 create
ifconfig gif1 tunnel 10.0.0.103 10.0.0.101
ifconfig gif1 inet6 2001:470:36:add::1 2001:470:36:add::2 prefixlen 128
ifconfig gif1 up

ifconfig gif2 create
ifconfig gif2 tunnel 10.0.0.103 10.0.0.102
ifconfig gif2 inet6 2001:470:36:add::1:1 2001:470:36:add::3 prefixlen 128
ifconfig gif2 up

This will go on till until gif20 so I have 21 IPv6 addresses pointing to my gateway. I hope someone can help me fix this. Thank you.
 
Back
Top