Comments on Using IPv6 On Debian Etch
Using IPv6 On Debian Etch This document describes how you can configure a Debian Etch system for IPv6 so that a) it can connect to other IPv6 hosts and b) other IPv6 hosts can connect to it. IPv6 should become more important in the future as recent estimates assume that there will be no more IPv4 addresses left by 2010 or 2011. Therefore it's time time to learn IPv6.
6 Comment(s)
Comments
It's also possible to have the tunnel created "automagically" by an upstream router. This way you don't have to register your tunnel. A configuration generator for Debian/Ubuntu can be found at my website: http://deban6to4.gielen.name/
Dude take it easy. What are you upto ? I doubt they give pulitzer award for technical articles.
-
Oz
Why use ifconfig (old tools) to configure tunnel ?
Use ip command, example:
ip tunnel add TUNNEL_NAME mode sit remote IPv4_tunnel_endpoint
ip link set TUNNEL_NAME up
ip addr add YOUR_IPv6/PREFIX dev TUNNEL_NAME
ip route add ::/0 dev TUNNEL_NAME
An excellent article - clear and concise. Would some mention of adding sit0 and sit1 to the firewall settings be appropriate?
Really liked this artikle. Right time for me too :)
But how about firewall for IPv6? Any one you recommend?
I created a systemd unit to set up my hurricain tunnel:\
I save the following script as he-ipv6.service under /etc/systemd/system/ with root as the owner.
Change "tunnel-ip address" to be the IPv4 address of Hurricain's tunnel server, and 2001:X:Y:Z::2 to the IPv6 address Hurricain assigns to you.
********************
$ cat he-ipv6-example.txt #he-ipv6.service # tunnel ip address is supplied by hurricane electric# X, Y and Z are parts of the ipv6 address given to you by hurricane eletric.# IF you are doing dhcp behind a NAT router then use your local lan IP and use your MAC address to make the router give you the same IP at every login. [Unit]Description=he.net IPv6 tunnelAfter=network.target[Service]Type=oneshotRemainAfterExit=yesExecStart=/bin/ip tunnel add he-ipv6 mode sit remote "tunnel-ip address" local 192.168.11.100 ttl 255ExecStart=/bin/ip link set he-ipv6 up mtu 1480ExecStart=/bin/ip addr add 2001:X:Y:Z::2 dev he-ipv6ExecStart=/bin/ip -6 route add ::/0 dev he-ipv6ExecStop=/bin/ip -6 route del ::/0 dev he-ipv6ExecStop=/bin/ip link set he-ipv6 downExecStop=/bin/ip tunnel del he-ipv6[Install]WantedBy=multi-user.target*********************************************
After you save the script then run "systemctl enable he-ipv6.service" to activate it.
If you test your browser at https://ipv6-test.com/ you should notice that IPv6 is your primary protocal with a fallback to IPv4 in less than a second. IF IPv4 is your primary protocal then edit /etc/gai.conf to make it IPv6, IF you want to.
Speed? I have a 500 mbps fiber optic connection.. I've tested at anywhere between 512 mbps to around 400 mbps average, to less, depending on the Internet server.