First you have to make sure that the kernel is ipv6 kombatible, do an ifconfig and look for something like this inet6 addr: fe80::202:44ff:fe27:23bd/10 Scope:Link if you cant find it, try type modprobe ipv6 and look again, if it dosnt help you have to make a new kernel.
When you have assured that IPv6 support is in play you can go on by adding an IPv6 adress to your ethernet interface:
This makes the interface eth0 respond to the address “3ffe:1234:1234::1234” and sets the scope(netmask) to /48
ifconfig eth0 add 3ffe:1234:1234::1234/48
Now you can test this by pinging local network nodes , for an instance the router which will most likeley be “3ffe:1234:1234::1” or “3ffe:1234:1234::”
ping6 3ffe:1234:1234::1
Now when we have assured that we can ping our local route we can go on add the default gateway, this is done with this command:
route -A inet6 add 2000::/3 gw 3ffe:1234:1234::1
This tells the IPv6 stack to send all trafik which does not belong to 3ffe:1234:1234::0/48 to the router 3ffe:1234:1234::1
The ping6 and traceroute6 can be obtained from:
http://ftp.debian.org/debian/pool/main/i/iputils/iputils_20020124.orig.tar.gz