Friday, May 27, 2011

Tunnelinel IPv6 traffic with Hurricane Electric Tunnel brokers

There are various mechanisms to access IPv6 resources in the internet, from your existing IPv4 only infrastructure.

One such solution is to use a tunnel broker who provides free IPv6 connectivity for the IPv4 users via tunnels.





this post will help you to create a free IPv6 tunnel with Hurricane Electric on your Ubuntu box. HE will allow the users to create up to 5 tunnels for each account.


Experience IPv6 with HE
----------------------------------------

Basic Requirements
------------------
  • IPv4 connectivity
  • IPv6 supported Hardware and Operating system
1. Create an account at http://tunnelbroker.net/ (free service)

2.Log in and click "create regular tunnel" from the left side bar


3. set the parameters and create the tunnel

  • IPv4 end-point = Your_IPv4_address (one end point of the tunnel)

  • Select the nearest or your favorite server from the given list ( this will be other end point of the tunnel that you are creating)

click "create tunnel"

4. network configuration on the host machine

  • Open the /etc/network/interfaces file with your favourite editor
e.g. #sudo nano /etc/network/interfaces

  • add following settings
# tunnel interface for HE IPv6 tunnel
    auto ipv6-HE
    iface ipv6-HE inet6 v4tunnel
        address <IPv6 address of the client machine>
        netmask 64
        remote <IPv4 address of the remote machine/server>
        local <IPv4 address of the client machine>
        endpoint any
        ttl 64
        up      ip -6 route add 2000::/3 via ::<IPv4 address of the remote machine> dev ipv6-HE
        up      ip -6 addr add <routed /64 address>::1:1/128 dev ipv6-HE
        up      ip -6 addr add <routed /64 address>::2:1/128 dev ipv6-HE
        down    ip -6 route flush dev ipv6-HE

4. bring the configured tunnel interface up



#ifup ipv6-HE

5. experience the IPv6 internet

  • test your IPv6 connectivity with whatismyv6.com or www.kame.net
  • search google with ipv6.google.com
  •  Find out the rest with googling for "cool IPv6 stuff"

No comments:

Post a Comment