Saturday, May 26, 2007

Simple Steps To Get IPv6 in Debian

[The original version or this article is located at http://blog.irwan.name/?p=84]

Question: I don't give any crap about IPv6! Why the hell I need IPv6???
Answer: Get answer from Linuxreviews.org

Want to get working IPv6 in less than 5 minutes? Here you are,

1. Create an account from Freenet6
http://www.go6.net/4105/register.asp

2. Received Confirmation Email
Welcome to go6!

Your new go6 account gives you access to forums, documents and the go6 wiki. Your account can also be used with Freenet6, the free IPv6 access service. In order to get IPv6 access, please download and install the go6 client here.


3. Install TSPC Client
apt-get install tspc

4. Edit /etc/tsp/tspc.conf
42 # user identification:
43 # userid=anonymous|your_userid
44 # anonymous means no userid. With anonymous, you don't need to register
45 # to get an userid from the broker. However, prefixes (router mode) nor
46 # permanent ipv6 address are available in anonymous mode.
47 # your_userid means the userid you registered to the broker. The userid
48 # must be using only legal dns label names (eg: [a-zA-Z0-9-] ) since
49 # the userid is used inside your user hostname.
50 userid=PUT_YOUR_USERNAME


52 #
53 # password:
54 # passwd=your_password
55 # leave empty if userid=anonymous
56 # your_password means the password you have been assigned with your
57 # userid
58 passwd=PUT_YOUR_PASSWORD

76 #
77 # 'server' is the tunnel broker identifier
78 # Value is the tunnel broker IP address or FQDN and an optional port number
79 # The default port number is 3653.
80 #
81 # Examples:
82 # server=hostname # FQDN
83 # server=A.B.C.D # IPv4 address
84 # server=hostname:port_number
85 # server=A.B.C.D:port_number
86 #
87 # For users with accounts, 'server' should be set to the Freenet6
88 # tunnel broker with authenticated accounts (broker.freenet6.net)
89 server=broker.freenet6.net
90 #
91 # The default value is the Freenet6 tunnel broker for
92 # anonymous accounts (anon.freenet6.net)
93 #server=anon.freenet6.net


5. Start TSPC
/etc/init.d/tspc start

6. Check Network Interface
meister:~# ifconfig tun
tun Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: 2001:xxxx:xxxx:xxxx::xx/128 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:572 errors:0 dropped:0 overruns:0 frame:0
TX packets:598 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:329102 (321.3 KiB) TX bytes:61411 (59.9 KiB)

7. Test and Verify. Voila!

firefox-ipv6-edited.jpg firefox2-ipv6-edited.jpg bitchx-ipv6-edited.jpg

[1] Surf to http://www.kame.net/
[2] Surf to http://demo.nautilus6.org/
[3] Connecting BitchX to ipv6.chat.freenode.net

Now, you will say;
"w00t, I didn't know it's so easy to get IPv6!"

1 comment:

Unknown said...

Yup, I didn't know that's all to it.... A lot of people are doing IPv6 research, basically to measure performance. I guess this would be valuable to them too.