ipv6.help

I want to learn IPv6

The best way to learn IPv6 is by running it. Do read up on it, but above all build your own network at home where you can experiment, make mistakes and see what happens. It doesn't take much: a router or firewall that you control yourself, a couple of computers or virtual machines, and IPv6 addresses that are yours to experiment with.

A stable prefix makes a big difference

In a home lab, a prefix that doesn't change is worth a lot. Many broadband providers that offer IPv6 hand out a prefix that can change on a reboot or after an outage, and when that happens every device on the network changes address. That breaks exactly the things you want to practise:

With a static prefix you can build something, leave it and come back next week without having to start by troubleshooting the addresses.

Route64 gives you a static prefix through a tunnel

route64.org is a good fit for a home lab. It is a non-profit service that gives you your own routed /56 with a static assignment through a tunnel, completely free of charge. A /56 holds 256 networks, so you have plenty of room to split the lab into several parts.

You can choose between several tunnel types, including WireGuard, GRE and IP6IP, and everything is set up in a self-service portal. It works whether or not your own ISP provides IPv6.

Why not Hurricane Electric?

Hurricane Electric's tunnels have helped many people get started and work well if you have a static, public IPv4 address. But they rely on the tunnel terminating directly on your IPv4 address, and that causes problems in two common cases:

Route64 with WireGuard copes much better with CGNAT: the tunnel is established from the inside out over UDP, just like any other traffic, and tolerates your address changing along the way.

MikroTik and containers

A MikroTik router is a good foundation for the lab. RouterOS has full support for IPv6 and for the tunnel types above, and it doesn't cost much. From version 7 the router can also run containers, and they work well with IPv6: each container gets its own interface and its own address from your prefix, and can be reached directly without port forwarding or address translation.

That makes it easy to set up small services to practise on, such as a name server or a web server, without any extra hardware.

Start with RIPE Atlas

A container running RIPE Atlas is a good first step. RIPE Atlas is a global measurement network where thousands of small probes measure how the internet works, over both IPv4 and IPv6. The probe is also available as software, and RIPE describes how to install it and links to ready-made container images in its documentation on software probes.

You learn how a container gets its IPv6 address and reaches the outside world, and you get something running that is useful: the measurements help operators and researchers, and you earn credits that you can use for your own measurements towards your network.

464XLAT and IPv6-only networks

The most fun thing you can try in the lab right now is a network with no IPv4 at all. What held this back for a long time was applications and services that only speak IPv4. 464XLAT solves that with translation in two steps:

In between, everything runs over IPv6. The client learns which prefix NAT64 uses from the router's RA (PREF64) or through DNS64.

iOS, Android, ChromeOS and macOS have run CLAT for many years. The one missing was Windows, but now Windows 11 has CLAT too, or WinCLAT as it is called. Microsoft is rolling it out gradually following a public preview. This means all common clients can handle an IPv6-only network.

NAT64 in your router

You need a NAT64 in the lab. This is what it looks like in some common routers and firewalls:

Things to keep in mind

What should I try?

Further reading