Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: meinemitternacht on September 01, 2012, 06:29:00 AM

Title: General Instructions for IPv6 Tunneling (Debian 6+/Ubuntu 11.04+)
Post by: meinemitternacht on September 01, 2012, 06:29:00 AM
I'm limiting the instructions to those specific distributions and above because I cannot test on any other versions.

Note:  You may need root permissions to complete the following steps depending on your machine configuration.

1. Begin by removing any tunnels you have in place (unless they work!)
2. Edit /etc/network/interfaces and add the following lines, replacing the tokens in {} with the values from the tunnel you created on tunnelbroker:

auto tun6to4
iface tun6to4 inet6 v4tunnel
 address {Tunnelbroker Client IPv6 Address}
 netmask 64
 endpoint {Tunnelbroker Server IPv4 Address}
 gateway {Tunnelbroker Server IPv6 Address}
 ttl 64
 up ip link set mtu 1280 dev $IFACE

3. Execute the command 'ifup tun6to4'
4. Test your configuration by running 'ping6 ipv6.google.com'
Title: Re: General Instructions for IPv6 Tunneling (Debian 6+/Ubuntu 11.04+)
Post by: ryanhampdenzz on September 17, 2012, 05:56:02 PM
These are very detailed instructions.

Exactly just what I was searching for. Thank you!