IPv6

If you're new to IPv6 there's a lot to learn. What is fun and helps to dive into the IPv6 world is Hurricane Electric's IPv6 Certification Project.

I walked through all levels - and here's my badge:

IPv6 Certification Badge for tbv6tunl

First steps with IPv6:

Tools you'll probably need:

  • ping6
  • ip
  • traceroute6
  • dig
  • radvd
  • DHCPv6

Concepts you'll have to learn:

  • Router Advertisements (RA)
  • SLAC (StateLess Address AutoConfiguration)

Common Address Prefixes

PrefixPurpose
::1/128localhost/loopback
::/128unspecified address
fe80::/10link-local
fc00::/7unique local unicast
2001:db8::/32reserved for documentation
0:0:0:0:0:ffff::/96IPv4 mapped, e.g. ::ffff:192.168.10.5
2001:0::/32Teredo tunnel
2002::/166to4
64:ff9b::/96NAT64
ff00::/8multicast
Multicast
AddressGroup
ff02::1all hosts (LAN)
ff02::2all routers (LAN)
ff02::5all OSPFv3 SPF-router (LAN)
ff02::6all OSPFv3 DR-router (LAN)
ff02::9all RIPng router (LAN)
ff02::Aall EIGRP router (LAN)
ff02::1:2all DHCP server and relays (LAN)
ff02::1:3all DHCP server (site)
ff0x1)::fball multicast DNS servers
ff0x::101all NTP servers
Scope
Host
Link
Admin
Site
Organisation
Global

1st Steps - Play Around

Check your interfaces:

ip -6 addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::230:48ff:fe60:15ee/64 scope link
       valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::230:48ff:fe60:15ef/64 scope link
       valid_lft forever preferred_lft forever

ip -6 route
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0
fe80::/64 dev eth1  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0

Ping localhost

 ping6 -c 1 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.024 ms

--- ::1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.024/0.024/0.024/0.000 ms

Ping your link local ip:

ping6 fe80::227:eff:fe26:390a%eth0
PING fe80::227:eff:fe26:390a%eth0(fe80::227:eff:fe26:390a) 56 data bytes
64 bytes from fe80::227:eff:fe26:390a: icmp_seq=1 ttl=64 time=0.017 ms

IPv6 And DNS

Resolvers:
Both Google and OpenDNS provide free resolvers you can use instead of your ISPs resolvers (unless your ISP offers IPv6 resolvers at all).

The Google Public DNS IPv6 addresses are as follows:

  • 2001:4860:4860::8888
  • 2001:4860:4860::8844

OpenDNS ipv6 resolvers:

  • 2620:0:ccc::2
  • 2620:0:ccd::2

You can find out more here:

Lookups:

dig AAAA ipv6.example.com
dig AAAA ipv6.example.com +short
host -t AAAA ipv6.example.com
nslookup -type=AAAA ipv6.example.com

IPv6 Tunnel Broker

There are several tunnelbrokers available who offer their service for free. Here'S my (incomplete) list:

1)
replace x with scope
networking/ipv6.txt · Last modified: 2014-05 by tb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready