Aug 052010
 

source: http://www.atoomnet.net/ipv62002.php

2 easy steps to make IPv6 work without a tunnel broker.

The technique used to make this work is called 6to4. You use a computer of somebody else to put your IPv6 traffic on the very big IPv6 network.

Okay, lets make things work:

Step 1

type this on your console to activate IPv6:

# /sbin/ip tunnel add tun6to4 mode sit ttl 64 remote any local 202.127.98.148
# /sbin/ip link set dev tun6to4 up
# /sbin/ip -6 addr add 2002:ca7f:6294::/16 dev tun6to4
# /sbin/ip -6 route add 2002::/3 via ::192.88.99.1 dev tun6to4 metric 1

Explanation: 202.127.98.148 is your ip adress from your internet provider. It is used to calculate a special part of the 2002:ca7f:6294::/16 IPv6 address as you see above. Your ip address is converted into hex and inserted as the ca7f:6294 part in this 2002: thingy.
Your IPv6 adress on the very big IPv6 network is now: 2002:ca7f:6294::

Step 2

Test your fresh IPv6 connection.
Type ping6 -nc4 www.ipv6.org in your linux console. It should say something like this:

# ping6 -nc4 www.ipv6.org
PING www.ipv6.org(2001:6b0:1:ea:a00:20ff:fe8f:708f) 56 data bytes
64 bytes from 2001:6b0:1:ea:a00:20ff:fe8f:708f: icmp_seq=1 ttl=241 time=90.7 ms
64 bytes from 2001:6b0:1:ea:a00:20ff:fe8f:708f: icmp_seq=2 ttl=241 time=97.4 ms
64 bytes from 2001:6b0:1:ea:a00:20ff:fe8f:708f: icmp_seq=3 ttl=241 time=91.4 ms
64 bytes from 2001:6b0:1:ea:a00:20ff:fe8f:708f: icmp_seq=4 ttl=241 time=89.4 ms

Congrats if you seen no errors, you now have a working IPv6 connection. Do something usefull with it.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.