In the beginning, which officially starts in 1981 for this narrative, there was the Internet Protocol. This conveniently ignores ten years of development effort and unlike today where everything is permanently in beta and uses version 0.xxx they went through a few versions and the one that worked well enough was version four. From the viewpoint of 2025 it has a lot of problems and bad decisions but over the years other things have been done to address the issues as it fundamentally works and the chances are you're reading this thanks in part to IPv4.

By the mid 1990's it became clear that things could be a lot better. So various people got together and had another go and what eventually emerged was Internet Protocol version 6. There was also versions 5, 7, 8 and 9 but we don't speak of them any more. From the viewpoint of 2025 it has a lot of problems and bad decisions but other things are being done to address the issues as it fundamentally kinda works mostly and the chances are you're probably not reading this with any involvement of IPv6 still.

This is my second attempt to implement in the GeekLab. The first time mostly worked until the rug was pulled from under me, this one stands a better chance. Hopefully.

Why bother with IPv6?

For any project this should be the very first question: "Why do it?"

I have been running a home network for the best part of 25 years on IP (and NetBIOS/NETBEUI and IPX if you remember them) and was doing work networks for a long time before that. IPv4 works and is well understood. There is nothing (that I know of anyway) that IPv6 is magically going to fix for me and I've yet to have issues with accessing any internet content or service because I'm not running IPv6. Even in my professional life I've yet to do a project at a customer who are actively using IPv6 on their networks. When asked - and bearing in mind I'm dealing with architects and technical people - well over half respond with "what's that?" and the rest mostly being "nah, not worrying about that right now". And of course a few "oh my gods, no!".

For a long time I've been wanting to use IPv6 to get around the limit of only having a single public IPv4 address on my home network but now I have built a reverse proxy and can run a whole bunch of servers behind that single address. I'll need to keep that going for as long as users are on an IPv4 connection and it also does URL inspection to protect those services so even with IPv6 it's not going away.

Probably the biggest benefit of IPv6 is it offers a huge address space. Every device that wants to communicate using IP needs an address and IPv4 uses 32 bits for addresses which translates to about 4.3 billion for the entire world. They've long since all been allocated and we're relying on NAT and various other bodges to get around this by using "fake" address internally and only having a real IPv4 address at the point you connect to the "real" internet. IPv6 uses 128 bits for address which although still limited it's such a mindbogglingly huge number that 90% of available IPv6 addresses have been marked as don't use just to keep things manageable. Even a singe IPv6 "standard" subnet (a /64 in geek speak) provides enough addresses for 4 billion time the entire IPv4 internet. I doubt you could get a big enough grid connection to power enough devices to use an entire /64 let alone pay the bill. And that's just a single IPv6 subnet. A typical allocation to a residential customer, at least in the UK, is 65536 subnets (also known as a /48) and my current plan calls for using just 8 subnets with no more than a dozen addresses in each. So it really is overkill for my needs.

From the point of view of those who make the internet work, there are lots of reasons to use IPv6. The established ISPs all have good allocations if IPv4 addresses but the newer ones now arriving don't have that luxury and have had to buy allocations and that's expensive. Yes, an IPv4 address now has a monetary value. I pay an extra premium each month to have a "real" IPv4 address for my Geeklab. If you use any of the big cloudy services you'll also pay a charge to use one of "their" IPv4 addresses. So maybe one day when IPv4 has been retired I may be able to save £5 per month, but that day is still a long way off as even today (in 2025) adoption is at around 40-45% of publicly visible hosts depending on who you ask and how they measure it.

So in reality, the only reason for me doing this right now is simpy because it's there and there's no better way to understand a technology than to have a play with it and see what it can do.

Previously on Babylon 5 IPv6

To be honest, this is more of a redeployment than a first attempt although there are some significant differences this time around.

I used a Draytek Vigor router which claims it's "IPv6 Ready" and I guess that's true if you regard ready as meaning it can connect to an IPv6 network rather than it's fully like-for-like feature compatible with everything it can do with an IPv4 network. I was using a VDSL connection to Plusnet for internet access and since Plusnet didn't offer IPv6 to their customers I used a 6in4 tunnel from Hurricane Electric - which is supported by the Vigor directly - to provide IPv6 connection by encapsulating it within an IPv4 data stream.

The rest of the software stack was Centos 7 for the internal firewalls for each network, running Quagga RIPng for internal routing and eventually IPv6 Router Advertisements. I used iptables for firewalls and DNSmasq to provide a DNS service. Samba servers on Ubuntu 20.04 running DNSmasq provided DHCPv6 and I scripted lease updates to the Samba AD DNS. End user devices were a mixture of Mint, Android and Windows.

This worked quite nicely for a while. All hosts got an IPv6 address using SLAAC, servers and PCs had an additional address, either static or were allocated one using DHCPv6. Success.

And then Hurricane Electric got on the wrong side of Google and a few a few other "internet giants" in a spat over peering fees. From what I read at the time Google et al decided they didn't want to pay them and understandably HE were not too happy about that. The rather childish response was instead of just nicely refusing connections via HE so browsers would gently fall back to IPv4 they blackholed them so your browser would freeze, time-out and then reconnect and repeat the process and users would blame HE. Another version is the same group were claiming HE did not respond quickly enough to abuse complaints so they decided to block all HE users regardless of innocence. At the time I was doing a lot of stuff with GCP so this got very frustrating very quickly. Other IPv6 sites (as reported by a browser plugin) never had these issues and just worked. I suspect there's probably more to the story but it's history now.

New Approach

This time around I still have the same Draytek Vigor router - with the latest firmware of course.  I have since switched from PlusNet to BRSK since they offer a full IPv6 /48 to all residential customers as well as a full fiber connection so no more messing with HE tunnels or having to plug in a line filter during thunderstorms to prevent a near miss killing the router.

All other components are incremental upgrades. Centos 7 is now Rocky 9, Ubuntu 20.04 is now Ubuntu 24.04 and Mint 19 is now Mint 22. IPtables has been replaced by IFtables for internal firewall rules, Quagga has been replaced with FRRouting (which is a fork of the Quagga project)  for RIP / RIPng between internal subnets, and all other applications are with the latest version in the respective repos too.

Overall this should be a bit of a simplification with some enhanced functionality.

 

Testing Considerations

Before rolling out changes to a network or applications you should work out what is likely to be impacted and test it before inflicting on real users. On the one hand deploying IPv6 is a fundamental change to a network and affects everything that connects to it. On the other hand, most applications really don't care as that's handled by the operating system. For example, Writer just needs to access files, how that happens is handled by Samba. Others will use standard libraries and as long as they don't deliberately restrict themselves to IPv4 will work quite happily.

This still leave quite a list of things that need to be checked. Some I can do in a test networks, but others I need downtime which basically means trying it out when everyone else is either asleep, out or doing other things. And also keeping good notes and a backup of the original config.

ItemStatusSummary
Draytek Router Suspicious Some issues. Basic connectivity works but have seen problems after a reboot and some features no or limited support for IPv6. Many IPv6 related changes need a reboot of the router to take effect so configuration is disruptive.
Wifi Access Point Yes Management is IPv4 only, Wireless frames don't care about IP version so of course devices can connect.
Managed Switches Yes Managment is IPv4 only. Ethernet frames don't care about IP version either.
Server iDrac Console   Claimed to support, needs testing but not expecting issues
ESXi Server   Claimed to support, needs testing but not expecting issues
Ubuntu 24.04 Yes Just works
Linux Mint Yes Just works
Windows Yes Just works
Android Fail

Address allocation is SLAAC only, Google refuse to implement DHCPv6 despite 10 years of requests to do so. Will need to rethink how I manage android devices as I can't restrict by address.

Android setup on a new work phone also failed when IPv6 was active on my work subnet. Worked fine once IPv6 disabled. The phone is a Pixel so entirely 100% genuine Google too.

It's probably not fair to brand the entirety of Android as a fail, but for my needs and based on what I've seen so far it's clearly not working for me. I suspect the Vigor is a large part of the reason it fails.

Apcupsd   Retest needed. Only supports single IP address so can't run dual stack
Bacula   Retest needed. Previous BaculaPi could not support dual stack.
Postfix Yes Default is dual stack support.
Dovecot   Test needed, but also expect it to just work by default
Nextcloud Yes Relies on Apache & PHP. Brute-force protection will need IPv6 addresses for whitelists.
Nextcloud Office   Test needed but expect it also just works as configured using hostnames.
Samba 4 (AD and file shares) Yes  
NTPd   Test needed but expected to work
Firefox and other browsers Fail

Many sites with issues. Even if IPv6 supported I've encountered bad proxies and referenced components that fail or homepage is IPv6 but subdomains with the content are not.

I haven't been able to determine if this is issues with the Vigor or even Firefox, but I've had fewer problems when using the ISP-supplied Technicolor router.

iftables Yes Replaced iptables. Rules need re-working to use inet tables and then add in approriate ip6-specific filters
DNSmasq - DNS and DHCP/DHCPv6 Yes  
FRR Yes Replaced Quagga for internal RIP & RIPng routing, additional features too.

 

Since I can't get rid of IPv4 then it's not a big issue if some of my internal applications are still IPv4 only.

One issue that I've already found is with legacy config on the new hosts. I had an infuriating issue with the test server where routing was failing for no apparent reason. I could ping from a Sandpit host to the application subnet interface on the Test router, and from a Test application host to any interface on the Test router but end-to-end testing failed. The problem was eventually found to be the Quagga config that was imported into FRR on Test included a no forward ipv6 directive which didn't exist on Sandpit. A lesson from this is that during the rollout to remove all prior config. For what it's worth, FRR also recommend controlling IP forwarding via /etc/sysctl.d only. Another lesson is to check the entire friggin' config and make sure you note and understand all differences between tiers.

Constraints

I also have some constraints to work under while doing this. The biggest one is minimal disruption to my users, especially given two rely on internet access for school work and of course I'm dependent on it for remote working. While mobile data is an option as a backup it's limited and expensive.

  • I don't want to replace any of the current hardware either. The Draytek router is now officially end of life but they are still releasing security updates.
  • I do not want to use SLAAC for IPv6 addressing, which is a problem for Android since it only supports SLAAC. Under IPv4 i know the address of all devices on my network and block internet access at certain times for some of them. This also helps with diagnostics (and I'm sure there'll be a lot of that especially at the beginning) so I will need to find alternative methods for this. While network level blocks are pretty crude and can often be sidestepped with a little research the two targets for "enhanced management" are not yet at that level of expertise or experience - I think (hope?) I've still got another year or two on that front. This is a apparently a widespread issue and the cause of a lot of debate in corporate networks too. While there are alternative ways to manage users they all mean more research and effort to implement and so the simplest thing at least in the short term is to not enable it.
  • Only use free software to implement. And free as in available on Rocky or Ubuntu. If this was a corporate network with hundreds of users then you'd rightly be justified to invest in security and management tooling. This is a home GeekLab and even though I'm doing a lot of "real networking" deploying full price corporate tooling is not sensible. Especially as I can't be a full time 24x7 operation center.
  • This is also going to be bottom priority in terms of other things I've got going on.

Rollout Plan

This is not a cunning plan. This is also not the final plan as I expect to discover new (to me at least) things and quite likely will change my mind at some point. But it's always good to have a plan even if you plan to change the plan.

  1. Enable IPv6 on the Draytek WAN interface and be able to ping a public address somewhere ✅
  2. Enable an unused Vigor LAN for IPv6 and prove basic testing and prove outbound connections can work ✅
  3. Re-enable IPv6 on LAN1 and the internal Sandpit router ✅
  4. Enable IPv6 on selected hosts in the Sandpit network ✅
  5. Enable IPv6 on the Test network router and selected hosts and prove end-to-end connectivity with Sandpit ✅
  6. Enable main House network router and with a single PC and properly test for several days before enabling a wider rollout.  FAIL
  7. Enable IPv6 on each application after testing on the Test network.
  8. Enable IPv6 on all other hosts over a few days.
  9. Enable IPv6 on the test Public hosts and allow inbound routing to them on the Vigor
  10. Enable IPv6 on live Public hosts. BLOCKED

Update: June '25

Rollout is currently paused due to the issues encountered. I suspec the root cause is the Vigor Router itself but testing that is extremely disruptive and time consuming so I need to stop this untill other priorities have been completed.