Once we have IPv6 enabled on the WAN and we're receiving the routing prefix we can then add IPv6 support to the LAN interfaces ready to deploy to servers, PCs and other devices. We are going to assign IPv6 Global Unicast Addresses to the LANs on the Draytek Vigor 2862 router I use for internet access in my home GeekLab based on the routing prefix obtained from my ISP.
Previously
In the IPv4 world most people get a single IPv4, companies may get 4 or 8 if they're really lucky, and rely on NAT and private addresses as per RFC 1918 and do their own thing when it comes to assigning addresses. While it's possible to do similar things with IPv6 there's no need since there's plenty of addresses to go around. This means we can have "real" or Global Unique Adresses but these need to be managed and allocated and for most people that means getting a block of IPv6 addresses from your ISP. Hence the first step was to get the Vigor WAN interface enabled for IPv6 so it can get the addresses, called a routing prefix and we completed this in Enable IPv6 on Draytek Vigor - WAN.
Hopefully you've made a note of the prefix as it'll come in useful when setting up the Vigor LANs for IPv6.
If you cast your mind back to IPv6 Basics you'll recall an IPv6 address is 128 bits long and usually written as 32 hexadecimal digits. The recommendation is customers should be given a 48 bit routing prefix, also known as a /48 but some ISPs may give a smaller prefix and then you get to use the remaining space down to /64 for your subnet IDs. As I have a /48 I can use the next four digits in the address, or 32 bits if you prefer, for subnet ID and as per the subnetting plan for LAN1 I'm going to use a subnet ID of 1000.
| Routing Prefix | Subnet ID | Interface ID |
|---|---|---|
| 12 digits / 48 bits | 4 digits / 16 bits | 16 digits / 64 bits |
| 2001:0db8:0001 | 1000 | 0123:4567:89AB:CDEF |
By default the Vigor will assign each IPv6 LAN a subnet ID equal to the LAN number if you're using DHCPv6 Client to get the details from the WAN interface, so LAN1 gets [prefix]:1::, LAN2 gets [prefix]:2:: and so on. We don't need to keep these but it has a habit of adding them back in if you remove them. It also uses [prefix]:0:: for itself which you'll see on the WAN address that gets reported.
This process is going to trigger some reboots of the Vigor so this will be disruptive for your users.
Enable LAN IPv6
The first step is to enable IPv6 on the required LAN(s) and reboot the Vigor before setting any other options.
On the Vigor web console go to LAN > General Setup
This will display a table of all the LAN subnets. Click on the IPv6 button for the LAN you want to configure. In this example I'm going to configure LAN1. The LANs IPv6 Setup page will open

This is a very different page compared the the IPv4 configuration. The first step is to tick the Enable IPv6 checkbox and set the WAN Primary Interface which for me is WAN2 since that's the one we configured earlier.
Click the OK button at the bottom of the screen and you'll then be asked to reboot.

Select "Using current configuration" and then click OK and wait about a minute or so.
Hint: Rebooting using factory default will be a very bad choice. In my opinon even presenting this option for a routine config change is bad user interface design as you could easily wipe out your enitre configuration which could be days of work to recreate unless you have a recent configuration backup. And you do take config backups before and after changes don't you? I thought so.
When the router comes back online return to the LAN > General Setup > LANx : IPv6 page and now we can complete the configuration. On a fresh config and using DHCPv6 Client 2 addresses should then be allocated to the LAN automatically.
- A GUA address using the address prefix with the LAN number for the subnet ID and a node address based on the MAC address of the LAN ports
- A link-local address

This LAN is now enabled for IPv6 and hosts could use the 2a10:xxx:xxx:1::/64 subnet. I use LAN1 as a backbone for the GeekLab subnets since it supports IPv4 RIP so all the hosts that connect to it are routers or proxies with static IP addresses. This means I can leave Management set to Off and DHCPv6 disabled. Don't make any changes yet though.
If you click on the second Advance Settings button at the bottom of the screen you can check the settings for Router Advertisements. This opens in a pop-up window.
The defaults should be good. We definitely want the Router Advertisements to be enabled since we will be routing IPv6 traffic through the Vigor. I will also be using RIPng as an interior routing protocol so I want that enabled as well. The other settings all appear to be sane defaults so I don't see any reason to change them. Click OK to save and close the window when you've finished checking
I now need to add the subnets from the subnetting plan. Simply type the required address into the IPv6 address box and the prefix length into the box next to it and click Add for each address in turn.
| Address | Purpose |
|---|---|
| 2a10:nnnn:nnnn:1000::1/64 |
The real subnet to use for LAN1. This lets me use aggregation to address all subnets on LAN1, and also if the automatically assigned addreses ever change internal IPv6 config will still be valid even if external routing gets messed up . Using ::1 provides an internal well-known address for the Vigor LAN1 interface which can also be used for routing by directly attached hosts or if allowed by inter-LAN firewall rules. |
| fe80::1 /64 | Simplifies the configuration of the default route for directly connected hosts as I don't need to keep looking up the specific link-local address of the Vigor LAN interface when configuring. |
As per the plan, the first 12 digits of the address are the address prefix from the ISP and the next four being the subnet ID under our control.
For other LANs I may also enable autoconfiguration using SLAAC or the DHCPv6 server if needed. One drawback of the Vigor DHCPv6 server is you cannot set reservations. The Advanced settings supposedly let you configure DHCPv6 Prefix Delegation. The manual is very quiet on this, just showing a screenshot with no explanation and I've not managed to get it to work yet. I've seen suggetions that it's actually broken but nothng to prove either way. Prefix Delegation could be an article to itself and opens a whole lot of other issues. Since I don't really need it's i'm going to leave it along for now.
Note: If you make a change on the LAN x IPv6 Setup page and then open either of the advanced settings pages you will lose the changes, so I've found it's best to set the advanced settings first and then complete the rest of the setup
Check Routing Table
Go to Diagnostics > Routing Table and you should see the addresses you entered along with the LAN they're for. These should have the U flag indicating the address is up but no other or a Next Hop. The FF00::/8 entry is added automatically and is used for IPv6 multicasts.
Destination Interface Flags Metric Next Hop
----------------------------------------------------------------------------------------------------
2A10:nnnn:nnnn:1::/64 LAN1 U 256 ::
2A10:nnnn:nnnn:1000::/64 LAN1 U 256 ::
FE80::/64 LAN1 U 256 ::
FF00::/8 LAN1 U 256 ::
Check IPv6 Neighbour Table
Go to Diagnostics > IPv6 Neighbour Table
At this point IPv6 Neighbour table may have some entries depending on whether you have any IPv6-enabled hosts connected to the LAN.
IPv6 Address Mac Address Interface State
-----------------------------------------------------------------------------------------------
FF02::1:nnnn:nnnn 33-33-ff-nn-nn-nn LAN1 CONNECTED FE80::20C:29FF:nnnn:nnnn FAILED LAN1
FF02::9 33-33-00-00-00-09 LAN1 CONNECTED
FF02::9 is the all RIPng routers multicast address, which is good to see given we've enabled RIPng. The MAC address 33-33-00-00-09 is a special address used by IPv6 on ethernet networks also for RIPng multicast. All of the 33-33-nn-nn-nn-nn MAC address are reserved for IPv6 multicast which helps switches and other layer 2 devices to forward mulicast correctly, at least if their firmware supports it.
FF02::1:nnnn:nnnn aka FF02::1/104 is the solicited node multicast address and it also has a MAC address starting 33-33. Other nodes may appear, such as the VM which had briefly connected - 20C:29FF:nnnn:nnnn is consistent with ESXi virtual machines which use MAC addresses starting 02-0C-29.
Additional Vigor LANs
With LAN1 configured and connection tests passing we can enable the remainig Vigor LANs in exaclty the same style using the appropriate Subnet ID for their addresses as per the Subnet Plan in IPv6 Basics and with management set to SLAAC(stateless) instead of Off so the devices would get an IPv6 address.
| LAN | Status | Subnet ID | Purpose | Comment |
|---|---|---|---|---|
| 1 | Completed | 1000 | Internal backbone | Completed |
| 2 | Test | 2000 | IPv6 Testing | Testing for directly-connected laptop and VMs |
| 4 | Stopped | 4000 | Work devices | Dedicated subent for work devices. IPv6 disabled after issues with Google setup. |
| 5 | Disabled | 5000 | Guest Wifi | Dedicated subnet for visitors devices. IPv6 disabled until all issues resolved. |
| 8 | Planned - hold | 8000 | Public-facing hosts | Not deploying IPv6 until all issues resolved. |
This is a slight detour from the original plan as I've enabled LAN2 to test with a directly connected laptop to see if the problems were with the Vigor or the internal GeekLab frewalls since I was getting some weird results. Given the weird results continued it appears the issue is the Vigor.
Note: As of June '25 only the backbone LAN 1 and a IPv6 direct connection test LAN 2 are enabled for IPv6 due to issues encountered during testing. IPv6 is suspended on the rest due to issues with browsers accessing IPv6-enabled sites.
Network Instability and Temporary IPv6 Suspension
During the rollout with just specific internal service connecting to each other all went well, if there were issues connecting to internet services e.g. apt then fallback to IPv4 took care of it and all just worked and I didn't see anything odd going on. Once I started deploying to real users things quickly went awry and it was clear external connectivity was getting badly affected.
The quick way to fix this is to simply disable address allocation:
- Management = Off
- DHCPv6 Server = Disable Server
- Advanced > Router Advertisement Configuration = Disable
This takes effect on the Vigor as soon as you click OK and does not require a reboot of the router. A similar change on the GeekLab internal routers for FRR also meant the other user PCs and laptops stopped using IPv6 too and hosts shut down their IPv6 addresses as the Router Announcements timed out.
Vigor Firewall Rules
The factory default for the Vigor is to permit all outbound access and to deny all inbound access and also deny all communication between its own LANs. I modified this to:
- Block all outboud access unless permitted in a separate rule set so I could monitor specific outbound traffic. The last rule is a permit all though so it's doesn't actually block anything
- Allow some services to pass between the different LANs
- Allow some inbound connections via IPv4 NAT to dedicated proxies, with direct access for IPv6
Most of these were based on TCP/UDP port and the source and destination LAN, but a few referred to specific subnets. This is an issue on the Vigor as you cannot specify IPv6 addresses or subnets in firewall rules directly, but you can use IPv6 Objects. I'll put this into a separate article (TBC) later.
IPv6 Only operation
The Vigor 2862 still needs IPv4 internally which means we're going to have a dual-stack configuration. While we cannot disable IPv4 completely, you can disable DHCP so devices don't get an address and if you're really keen I think you could prevent routing of IPv4 address space using the firewall rules but given the huge number of internet services that are still IPv4 only I really can't see why you'd want to do that.
While the Vigor supports SLAAC for IPv6 address autoconfig on LAN interfaces it does not appear to support RDNSS for sharing DNS details to clients. Setting the O flag should mean DHCPv6 is used to supply additional info such as DNS settings, but there's issues with this on android at least. While some apps could function with just an IPv6 address other such as Firefox struggled to connect even to known IPv6 sites - but later testing showed a lot of issues with Chrome and IE so there's other issues at play here - not just the WAN instability that's become apparent. Interestingly ipv6-test.com gives a very low score for a IPv6-only site too.
In practical termss IPv6 only operation is not really an option.
Next Step: Coffee and a rethink
The instablitly on getting the prefix on the WAN interface and what I suspect might be DNS issues - possibly related to the WAN too - casusing failures for apt updates and my users browsing the web means there's no point in continuing for the moment. This is something I will return to at some point though as purely internal connections have been working just fine. But IPv6 is not essential and I've got other project that are now becoming more pressing so for now it's time to revert everything out until I have time