Sollit

ENABLE IPV6 ON UBIQUITI UNIFI SECURITY GATEWAY

I recently looked in to enabling full ipv6 support on my Unifi network since my ISP supports ipv6. It wasn’t all that straightforward to get it up and running so by this blogpost i would like to share my findings.

Open your Unifi controller and browse to Settings there you will see Networks and Internet

Click edit on Internet – WAN – Advanced – IPv6 Connection  and set  Prefix Deligation to 60 (mine is based on Telenet) normally all the rest should be set by default

Now click edit on Networks – LAN –  Advanced and scroll down to IPv6. Check if settings are all set correctly to listen to WAN

After this we need to go in the console to make some alterations since these above setting did not fix my internal ipv6 problems.

Make sure SSH access is enabled in your controller you can choose to use a username/password or add ssh key

Located under Settings – System – Application Configuration – Device SSH Authentication

I found a hint, that rapid-commit could lead to problems I have.

ssh admin@youripoftheunifiusg

show interfaces

Based on that output you need to change the below commands

configure
set interfaces ethernet eth0 dhcpv6-pd rapid-commit disable
commit
save
exit
release dhcpv6-pd interface eth0
delete dhcpv6-pd duid
renew dhcpv6-pd interface eth0

you can use the following commands to test if your usg can use ipv6.

note: this worked without above cli changes as well the above was needed to get my clients to work on ipv6

show ipv6 route

ping6 google.com

2 thoughts on “Enable ipv6 on Ubiquiti UniFi Security Gateway

  • Wim
    05/06/2021
    • Wim
      05/06/2021