IPv6
IPv6 under Linux
Links
- Getting IPv6 connectivity under Linux
- the Debian IPv6 project page
- the work by Peter Bieringer
- a call by Madduck
Brokers
Gogo6 / Freenet6
apt-get install gogoc
Anonymous
Edit /etc/gogoc/gogoc.conf and verify you've:
server=anonymous.freenet6.net auth_method=anonymous
Registered
You need a freenet6 account: http://gogonet.gogo6.com/page/freenet6-account
Your Freenet6 account will also be your domain name, for example me.broker.freenet6.net
Edit /etc/gogoc/gogoc.conf and set:
userid=xxx passwd=xxx server=authenticated.freenet6.net auth_method=any
But... if you want to be certain that you get a static address then your choise is montreal.freenet6.net , amsterdam.freenet6.net, sydney.freenet6.net or taipei.freenet6.net. (from here
From README.Debian: If you use the authentication methods to login to the broker, you will need to get the server key. The program will check for the correct key and not start without it. To obtain the key, run /usr/sbin/gogoc on the command line and agree to add the key
sudo gogoc -n
Commands
- traceroute6 -n www.kame.net
- ping6
- netcat6 - TCP/IP swiss army knife with IPv6 support
- mrd6 - IPv6 Multicast Routing Daemon
- ndisc6 - IPv6 diagnostic tools
ndisc6 gathers a few diagnostic tools for IPv6 networks including:- - ndisc6, which performs ICMPv6 Neighbor Discovery in userland,
- - rdisc6, which performs ICMPv6 Router Discovery in userland,
- - rltraceroute6, a UDP/ICMP IPv6 implementation of traceroute,
- - tcptraceroute6, a TCP/IPv6-based traceroute implementation,
- - tcpspray6, a TCP/IP Discard/Echo bandwidth meter,
- - addrinfo, easy script interface for hostname and address resolution,
- - dnssort, DNS sorting script.
- ipv6calc - small utility for manipulating IPv6 addresses
- subnetcalc - IPv4/IPv6 Subnet Calculator
Tutorials
GLMF #136
- http://formation-libre.fr/articles/ in French, complementary to articles published in GLMF
Relies on Netkit, so I chose to run the livecd iso (from here) in Virtualbox
- Netkit base commands: vstart, vlist, vconfig, vhalt, vcrash, vclean
- Netkit advanced commands: lstart, lhalt, lcrash
Once the iso booted in Virtualbox, open a user shell and type
wget http://formation-libre.fr/foad/static/labs/art1-lab-commande-ip6.tar.bz2 tar xjf art1-lab-commande-ip6.tar.bz2 cd lab-commande-ip6 lstart
Commands illustrated in the tutorial:
ifconfig = ip addr show ifconfig ethx inet6 add 2001:.../64 = ip addr add 2001:.../64 dev eth0 ifconfig ethx inet6 del 2001:.../64 = ip addr del 2001:.../64 dev eth0
route -n -A inet6 = ip -6 route show route -A inet6 add 2001:.../64 gw 2001:... = ip route add 2001:.../64 via 2001:... route -A inet6 del 2001:.../64 gw 2001:... = ip route del 2001:.../64 via 2001:... route -A inet6 add default gw 2001:... = ip route add default via 2001:... route -A inet6 del default gw 2001:... = ip route del default via 2001:...
ping6 on local link: need to specify device
ping6 -I ethx fe80:... = ping6 fe80:...%ethx
Basic router: static routes +
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
Neighbors discovery:
ping6 -I ethx ip6-allnodes = ping6 -I ethx ff02::1
Neighbors cache:
ip neigh show