ipv6 is about ten years old, and it is well and largely supported by most operating systems.
So, coming back to Debian, if you want to enable ipv6 in your machines, here’s how to:
You will need:
- an editor (a real one, like vi)
- ifconfig’s output
- ipv6calc (exists as a debian package)
- two ipv6 enabled machines
go to root, use ifconfig, read the output carefully.
let’s say your IP is 10.0.10.68
Edit /etc/network/interfaces with your favourite vi version
auto tun6to4
iface tun6to4 inet6 v4tunnel #tun6to4 can be changed by any other name
address 2002:a00:144::1 #to obtain this value, see below
netmask 16
gateway ::192.88.99.1
endpoint any
local 10.0.1.68
Calculating ipv6 address
ipv6calc --quiet --action conv6to4 10.0.1.68
this will give the the prefix, you can add a “1″ at the end, like I did. (if you want to know why: ipv6 )
If you are brave enough, try this script. It will give you your ipv4 and ipv6 IPs
8<-----------------------------------------------
#!/bin/sh
echo “your ipv4 ip is: ”
a=$(/sbin/ifconfig | grep eth. -C 2 | grep “inet addr” | sed s/[a-z,:]//g | awk -F ‘ ‘ ‘{print $1}’)
echo $a
if [ -e /usr/bin/ipv6calc ]
then
echo “your ipv6 ip is:”
printf `ipv6calc –quiet –action conv6to4 $a`”1\n”
else
echo “ipv6calc is not installed, please install it”
fi
8<-----------------------------------------------
Now do the same for the second machine, and try ssh or ping6
Good Luck!
[...] See the original post: ipv6 with debian « the permanent TODO [...]
Pingback by ipv6 with debian « the permanent TODO | Just linux! — March 18, 2010 @ 3:23 pm
[...] So, coming back to Debian, if you want to enable ipv6 in your machines, here’s how to…More here You will [...]
Pingback by ipv6 with debian | Debian-News.net - Your one stop for news about Debian — March 19, 2010 @ 8:30 pm
The title is misleading due to its inprecision: you’re just showing how to enable 6to4 with the special anycast address. You don’t even mention the existence of tunnel brokers, or the possibility to set up a name server for reverse DNS.
As a matter of fact I’m pretty certain that you took parts of already posted articles to make this one. And there are already too many on this very simple procedure.
Comment by Aurelien Derouineau — March 19, 2010 @ 10:07 pm
Thanks for your valuable help Aurelien, I will rename the post.
Comment by {Francisco,François} Varas — March 20, 2010 @ 6:30 pm