How To: Setup your home network with IPv6 using Mikrotik routers and Telus Optik Fibre
I recently played around with my internal network to see if I can get IPv6 working seeing that Telus is providing ipv6 addresses to subscribers. The reason why I wanted to do this is well… to get to the 21st century…and there is arguably a speed increase in your overall connectivity experience. Big big shout out to Denis Lemire (@Denislemire) that responded to a cry for help on Twitter at midnight on Labor Day and helped me get this done (I am not an expert on IPv6 yet).
My Setup
- Telus Actiontec router setup in port 1 bridge mode
- Mikrotik router in router mode with port 1 connected to actiontech port 1 bridge
- Mikrotik router is on firmware version 6.34.6 (bugfix only release). on the current release (6.36.2) my routes were unreachable. I had to go down to the bugfix release to get things stable.
Actiontec setup
- Logon to your actiontec router with your admin username and password (Normally noted at the back of the router), go to advanced settings and set port 1 into bridge mode.
Mikrotik Setup
- logon to webfig or winbox and navigate to System / Packages and install the ipv6 package.
- Open a new terminal window and paste the below code
The following code worked for me. Note that you need to change the parameters in red to your own interface names in order for it to work:
1 2 3 4 5 6 7 8 9 10 11 |
/ipv6 dhcp-client add add-default-route=yes interface=<span style="color: #ff0000;">1-wan-telus</span> pool-name=telus-ipv6 request=prefix /ipv6 firewall filter add chain=forward protocol=icmpv6 add chain=input protocol=icmpv6 add chain=input comment="Allow DHCPv6 inbound" dst-port=546 proto add chain=forward connection-state=established,related add chain=forward out-interface=<span style="color: #ff0000;">1-wan-telus</span> add action=drop chain=forward in-interface=<span style="color: #ff0000;">1-wan-telus</span> /ipv6 address add address=::1/64 from-pool=telus-ipv6 interface=<span style="color: #ff0000;">2-int-switch</span> |
I had to do quite a lot of troubleshooting at this point because it should just work, but routes were unreachable. Going down to firmware 6.34.6 is what fixed it for me.
At this point after you restart your pc’s nic you should get new shiny ipv6 ips. Type “what is my ip” in google and you should see your ipv6 ip. Welcome to IPv6!