Also having trouble with this line
CODE
set interfaces ethernet eth0 vif 500 pppoe 0 dhcpv6-pd pd 0 prefix-length 64
Telling 64 is too large? Tried less than 64 is no error but no success as well. I think 64 same prefix with WAN part.
Tutorial Ubiquiti Edgerouter ipv6 unifi/maxis/time, ipv6 for malaysian isp(s)
|
|
Apr 15 2021, 03:25 PM
|
![]() ![]() ![]()
Junior Member
483 posts Joined: Jan 2003 |
No success on EdgeRouter X v2.0.9-hotfix.1, LAN part has no IPV6 assign, tried eth or switch0
Also having trouble with this line CODE set interfaces ethernet eth0 vif 500 pppoe 0 dhcpv6-pd pd 0 prefix-length 64 Telling 64 is too large? Tried less than 64 is no error but no success as well. I think 64 same prefix with WAN part. |
|
|
|
|
|
Apr 19 2021, 08:02 AM
|
![]() ![]()
Junior Member
152 posts Joined: Dec 2011 |
QUOTE(ahpaul @ Apr 15 2021, 03:25 PM) No success on EdgeRouter X v2.0.9-hotfix.1, LAN part has no IPV6 assign, tried eth or switch0 Is that to configure the DHCP prefix? /64 is meant for single flat subnet usage only. You can't (legally) subnet /64. I tried asking TIME if they'd give out larger prefix like /60, but they said No.Also having trouble with this line CODE set interfaces ethernet eth0 vif 500 pppoe 0 dhcpv6-pd pd 0 prefix-length 64 Telling 64 is too large? Tried less than 64 is no error but no success as well. I think 64 same prefix with WAN part. For that reason I've not enabled IPv6 for my EdgeRouterX. This post has been edited by tcwan: Apr 19 2021, 08:04 AM |
|
|
May 5 2021, 04:54 PM
|
![]() ![]()
Junior Member
289 posts Joined: Sep 2012 |
Still working in 2021. Thanks TS for the guide. Please post more tutorial like this, I just got my ER-X hands on after years haha.
|
|
|
May 5 2021, 07:38 PM
|
![]() ![]() ![]() ![]()
Junior Member
677 posts Joined: Apr 2008 |
QUOTE(jacktiew @ May 5 2021, 04:54 PM) Still working in 2021. Thanks TS for the guide. Please post more tutorial like this, I just got my ER-X hands on after years haha. Thanks for the appreciation. I rarely get it. 😂. Anyways stay tune for something fun in the future. Trying to get it as simple and easy to follow as i can. Cheers. |
|
|
May 5 2021, 10:06 PM
Show posts by this member only | IPv6 | Post
#25
|
![]() ![]()
Junior Member
289 posts Joined: Sep 2012 |
QUOTE(wanttotree @ May 5 2021, 07:38 PM) Thanks for the appreciation. I rarely get it. 😂. Anyways stay tune for something fun in the future. Trying to get it as simple and easy to follow as i can. Cheers. I got a doubt that's need to clear. After adding the DNS to the nameserver, I still see TM IPv6 DNS on my device. Is it normal?Edit: I already reboot my router, AP and phone. ![]() ![]() This post has been edited by jacktiew: May 5 2021, 10:06 PM |
|
|
May 8 2021, 02:45 PM
Show posts by this member only | IPv6 | Post
#26
|
![]() ![]()
Junior Member
289 posts Joined: Sep 2012 |
QUOTE(jacktiew @ May 5 2021, 10:06 PM) I got a doubt that's need to clear. After adding the DNS to the nameserver, I still see TM IPv6 DNS on my device. Is it normal? So previously I was able to use IPV6 DNS on LAN device but not the WI-FI devices. Turns out it needs to use the router advertisement for the devices to know the edgerouter is distributing IPV6 DNS instead of TM. (Not sure I explained it in the correct way or not. Sifus please correct me if I'm wrong)Edit: I already reboot my router, AP and phone. ![]() ![]() Here's the code I used to enable the router advertisements. CODE set interfaces switch switch0 ipv6 router-advert prefix ::/64 CODE set interfaces switch switch0 ipv6 router-advert managed-flag true Apply the MSS Clamping on both IPv4 & IPv6 CODE set firewall options mss-clamp6 mss 1432 set firewall options mss-clamp6 interface-type all CODE set firewall options mss-clamp mss 1452 set firewall options mss-clamp interface-type all Hope this helps. This post has been edited by jacktiew: Sep 4 2021, 01:40 PM |
|
|
|
|
|
May 25 2021, 10:17 PM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,941 posts Joined: Jan 2003 |
I'm still having some issue with my ER-12 with IPv6.
The configuration seems to have half working. Android/Apple devices, no issue getting IPv6 while the Windows 10 laptop I'm having fail to get IPv6. other than that, it seems to be working fine. |
|
|
May 26 2021, 12:09 AM
Show posts by this member only | IPv6 | Post
#28
|
![]() ![]()
Junior Member
289 posts Joined: Sep 2012 |
QUOTE(thankyou @ May 25 2021, 10:17 PM) I'm still having some issue with my ER-12 with IPv6. I have a ER-X. This is what I do. (Just to give you an idea, not sure if it works for your case.The configuration seems to have half working. Android/Apple devices, no issue getting IPv6 while the Windows 10 laptop I'm having fail to get IPv6. other than that, it seems to be working fine. I assume your router is in fresh factory state 1. Upgrade the firmware to the latest. 2. Go through basic wizard. Insert your all your data required. Do not check any IPv6 related such as delegation / firewall setting. 3. Follow the TS's instruction. Make sure you change according to your own usage. (Interface etc.) 4. Insert the commands in my previous post in terminal. (Change according to your usage as well. For the switch0 part, change to your LAN interface) 5. Done. This post has been edited by jacktiew: May 26 2021, 12:11 AM |
|
|
Aug 3 2021, 03:40 PM
Show posts by this member only | IPv6 | Post
#29
|
![]()
Junior Member
8 posts Joined: Dec 2008 |
QUOTE(wanttotree @ Sep 26 2018, 07:49 PM) Hi guys, its me, im back for a tutorial! Thank you very very much for this guide. I am now able to connect to Internet with both IPv4 and IPv6 with my EdgeRouter 10X. ISP TM Unifi.I read that someone is interested for a tutorial. so i assume maybe at least half of the edgerouters owner wanna use ipv6. ipv6 is all cli based setup. 1)first step is to enable ssh. Go to login page and click system then enable and save. 2)use putty to ssh on windows, or terminal on mac. 3)copy and paste these commands configure edit firewall ipv6-name WAN6_IN set default-action drop set rule 10 action accept set rule 10 description "allow established" set rule 10 protocol all set rule 10 state established enable set rule 10 state related enable set rule 20 action drop set rule 20 description "drop invalid packets" set rule 20 protocol all set rule 20 state invalid enable set rule 30 action accept set rule 30 description "allow ICMPv6" set rule 30 protocol icmpv6 top edit firewall ipv6-name WAN6_LOCAL set default-action drop set rule 10 action accept set rule 10 description "allow established" set rule 10 protocol all set rule 10 state established enable set rule 10 state related enable set rule 20 action drop set rule 20 description "drop invalid packets" set rule 20 protocol all set rule 20 state invalid enable set rule 30 action accept set rule 30 description "allow ICMPv6" set rule 30 protocol icmpv6 set rule 40 action accept set rule 40 description "allow DHCPv6 client/server" set rule 40 destination port 546 set rule 40 source port 547 set rule 40 protocol udp top set interfaces ethernet eth0 vif 500 pppoe 0 firewall in ipv6-name WAN6_IN set interfaces ethernet eth0 vif 500 pppoe 0 firewall local ipv6-name WAN6_LOCAL set interfaces ethernet eth0 vif 500 pppoe 0 dhcpv6-pd pd 0 interface eth1 service slaac set interfaces ethernet eth0 vif 500 pppoe 0 dhcpv6-pd pd 0 prefix-length 64 set interfaces ethernet eth0 vif 500 pppoe 0 dhcpv6-pd prefix-only set interfaces ethernet eth0 vif 500 pppoe 0 dhcpv6-pd rapid-commit enable set interfaces ethernet eth0 vif 500 pppoe 0 ipv6 address autoconf set interfaces ethernet eth0 vif 500 pppoe 0 ipv6 dup-addr-detect-transmits 1 set interfaces ethernet eth0 vif 500 pppoe 0 ipv6 enable commit save exit these settings are assuming your(please check and adjust accordingly): -eth0- is your wan port(the one connects no your fiber/vdsl2/adsl modem) [etc - eth0 / eth1 / eth2 ] -eth1- is your lan port(the one connects to your computer or switch or access points) [etc - eth0 / eth1 / eth2 / or br0 if you have bridge interface] -pppoe0- is your pppoe interface [etc - pppoe0 / pppoe1] -vif 500- is your vlan tag (your vlan based connection according to you isp) [etc - vif 500 for unifi / vif 621 for maxis fibre / remove vif 500 entirely for anything else like time fibre] dont forget to setup your ipv6 dns server at name server you can use cloudfare google or opendns. go to login page, system and fill up system name server cloudfare 2606:4700:4700::1111 2606:4700:4700::1001 2001:4860:4860::8888 2001:4860:4860::8844 opendns 2620:0:ccc::2 2620:0:ccd::2 My router is running firmware 2.0.0. Only changes that I had made is not including vif 500 because my TP-Link smart switch is doing the job. So my eth1 is replace with switch0. |
|
|
Mar 27 2022, 05:17 PM
Show posts by this member only | IPv6 | Post
#30
|
![]()
Probation
2 posts Joined: Mar 2022 |
QUOTE(wanttotree @ Feb 18 2021, 01:19 PM) Hi guys, need to ask about whoever successfully setup ipv6 on their edgerouters. I understand that some firmware is buggy still. May i know which firmware is working so far? Hi, are having problem? I never have any issue in connecting to TM IPV6 through my EdgeRouter 4 at all. My firmware is the latest v2.0.9-hotfix.2. After every reboot, the router never failed to get an IPV6 address. Thanks to the guides posted here before. |
|
|
Mar 27 2022, 05:23 PM
Show posts by this member only | IPv6 | Post
#31
|
![]()
Probation
2 posts Joined: Mar 2022 |
QUOTE(thankyou @ May 25 2021, 10:17 PM) I'm still having some issue with my ER-12 with IPv6. Sometimes, this has happened to me on my Windows 10 machines. I simply disable the network adapter (WiFi/ethernet) and enable it back. Then, boom! I can get a local IPV6 address from my EdgeRouter 4.The configuration seems to have half working. Android/Apple devices, no issue getting IPv6 while the Windows 10 laptop I'm having fail to get IPv6. other than that, it seems to be working fine. thankyou liked this post
|
|
|
Mar 27 2022, 10:05 PM
|
![]() ![]() ![]() ![]()
Junior Member
677 posts Joined: Apr 2008 |
QUOTE(mamatkhalid8481 @ Mar 27 2022, 05:17 PM) Hi, are having problem? I never have any issue in connecting to TM IPV6 through my EdgeRouter 4 at all. My firmware is the latest v2.0.9-hotfix.2. After every reboot, the router never failed to get an IPV6 address. Thanks to the guides posted here before. Was just checking for another fellow forumer. One of the build was having a weird bug. He fixed it by downgrading temporarily until the new fw was released. Im glad you appreciate the guide. Was helped by @ahasenak on ubnt forum 6 years ago. Cheers. |
|
|
Mar 28 2022, 01:23 AM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,781 posts Joined: Jul 2010 |
meanwhile with mikrotik we have a nice GUI to do everything with. I have both mikrotik and edgerouter, and i find the edgerouter very lacking in GUI to configure. It tries to appear nice but it is very very lacking. What isn't lacking is that you can install MIPS debian packages but the limited onboard storage is another matter, though you can actually set up nginx proxy cache if you have limited bandwidth.
The one thing that i use this for is to provide CPU based LACP bonding because i do not want to spend another 40 watts using my 36 core CCR for it Support at ubiquiti forums are non existant from experience, whereas with mikrotik, litespeed, blesta i can badger their dev teams all i want This post has been edited by System Error Message: Mar 28 2022, 01:24 AM |
|
|
|
|
|
Mar 28 2022, 04:20 PM
|
![]() ![]() ![]() ![]()
Junior Member
677 posts Joined: Apr 2008 |
QUOTE(System Error Message @ Mar 28 2022, 01:23 AM) meanwhile with mikrotik we have a nice GUI to do everything with. I have both mikrotik and edgerouter, and i find the edgerouter very lacking in GUI to configure. It tries to appear nice but it is very very lacking. What isn't lacking is that you can install MIPS debian packages but the limited onboard storage is another matter, though you can actually set up nginx proxy cache if you have limited bandwidth. Your opinion is legit. Though i think this thread is not for you. Please open another thread for your complain or a tutorial to help others. Heres an idea, make a tutorial for policy routing on mikrotik for example(that would be interesting to read). Whats your point to mention the ccr anyway? Care to share what interesting thing u need the 36 core for(maybe share 'how to' with us)? I have a 16 core ccr and i think its overkill for many things i do. I ended up just firing up a low power debian server with minimal iptables for my routing needs. Before u ask, yes i am planning to post a tutorial about that too(maybe you can enjoy that one).The one thing that i use this for is to provide CPU based LACP bonding because i do not want to spend another 40 watts using my 36 core CCR for it Support at ubiquiti forums are non existant from experience, whereas with mikrotik, litespeed, blesta i can badger their dev teams all i want |
|
|
Mar 28 2022, 05:29 PM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,781 posts Joined: Jul 2010 |
QUOTE(wanttotree @ Mar 28 2022, 04:20 PM) Your opinion is legit. Though i think this thread is not for you. Please open another thread for your complain or a tutorial to help others. Heres an idea, make a tutorial for policy routing on mikrotik for example(that would be interesting to read). Whats your point to mention the ccr anyway? Care to share what interesting thing u need the 36 core for(maybe share 'how to' with us)? I have a 16 core ccr and i think its overkill for many things i do. I ended up just firing up a low power debian server with minimal iptables for my routing needs. Before u ask, yes i am planning to post a tutorial about that too(maybe you can enjoy that one). i have both since people thought i was a mikrotik fanboy. I'm just not happy with the way that ubiquiti does things and their focus, not to mention at one point they made unfair comparisons using my posts. I remember at one point they made an unfair comparison between what i said was equivalent in hardware, a dual core 800Mhz PPC mikrotik and an ERP3 which at that time was a dual core 800Mhz MIPS too, showing just how much faster the ERP3 was. The unfair comparison was that the ERP3 was not using QoS and was relying on hardware NAT while mikrotik at that time did not have acceleration for NAt, and the speed was someone elses bench on their non standard/non home consumer config.I would'nt really call the edgerouter a low powered debian server though as 20W is still more than what the raspberry pi uses. The main thing lacking which isn't as easy to find is the block diagram for ubiquiti devices which tells you the internal architecture so that you can best set up the device. As for the CCR i did actually load it up for fun with traffic generator. Theres a lot that mikrotik provides that actually makes it quite interesting, and its actually useful in hacking, but i did make a tutorial before on the net on silencing and replacing the fans and comparing the noise to the ERPRO including the PSU issues for mikrotik which they did fix in the 2nd generation of CCRs. Still though a lot of what you can do with edgerouters are best done using SSH like a linux server, so the best tutorial for edgerouter would be how to add debian package repository and to use it like a debian server. You will need to understand the limits though like with the ERPRO the CPU can do 80Mb/s of squid per core as a proxy, so it may do 3x that if using nginx instead. The hardware limits for edgerouters are more that they do well for simpler logic instructions than calculations like ARM, so things like filters should run fast while things like non standard VPN servers or anything heavier including RTMP on nginx may run poorly. Still, could be worse (cisco) This post has been edited by System Error Message: Mar 28 2022, 05:30 PM |
|
|
Mar 28 2022, 10:42 PM
|
![]() ![]() ![]() ![]()
Junior Member
677 posts Joined: Apr 2008 |
QUOTE(System Error Message @ Mar 28 2022, 05:29 PM) i have both since people thought i was a mikrotik fanboy. I'm just not happy with the way that ubiquiti does things and their focus, not to mention at one point they made unfair comparisons using my posts. I remember at one point they made an unfair comparison between what i said was equivalent in hardware, a dual core 800Mhz PPC mikrotik and an ERP3 which at that time was a dual core 800Mhz MIPS too, showing just how much faster the ERP3 was. The unfair comparison was that the ERP3 was not using QoS and was relying on hardware NAT while mikrotik at that time did not have acceleration for NAt, and the speed was someone elses bench on their non standard/non home consumer config. I dont really mind whether or not you are a fanboy, the whole point of these tutorials are helping out the community rather than proving a point from a singular point of view. I definitely not gonna side on any party who made a bias comparison. I would'nt really call the edgerouter a low powered debian server though as 20W is still more than what the raspberry pi uses. The main thing lacking which isn't as easy to find is the block diagram for ubiquiti devices which tells you the internal architecture so that you can best set up the device. As for the CCR i did actually load it up for fun with traffic generator. Theres a lot that mikrotik provides that actually makes it quite interesting, and its actually useful in hacking, but i did make a tutorial before on the net on silencing and replacing the fans and comparing the noise to the ERPRO including the PSU issues for mikrotik which they did fix in the 2nd generation of CCRs. Still though a lot of what you can do with edgerouters are best done using SSH like a linux server, so the best tutorial for edgerouter would be how to add debian package repository and to use it like a debian server. You will need to understand the limits though like with the ERPRO the CPU can do 80Mb/s of squid per core as a proxy, so it may do 3x that if using nginx instead. The hardware limits for edgerouters are more that they do well for simpler logic instructions than calculations like ARM, so things like filters should run fast while things like non standard VPN servers or anything heavier including RTMP on nginx may run poorly. Still, could be worse (cisco) Like i said earlier, you will be better off venting somewhere else, which is much more appropriate. Traffic generator in my opinion is useful for a somewhat narrow group of people who actually can make use of the data. In our case, it would be a normal user - enthusiasts level, the scope is rather simplistic and straight forward. All these ssh are mostly copy and paste for the majority user and i dont think i mind it at all. Just a side note, i didnt refer any edgerouters as a debian server. I literally meant debian server on low power x86 and setup the rest so it would work as a router. Thats why i mentioned it would need its own tutorial to setup. Anyway i hope u find your channel somewhere. Unless you are working on something interesting and needed some insight, i am more than happy to give me opinion. |
|
|
Mar 30 2022, 11:08 PM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,781 posts Joined: Jul 2010 |
QUOTE(wanttotree @ Mar 28 2022, 10:42 PM) I dont really mind whether or not you are a fanboy, the whole point of these tutorials are helping out the community rather than proving a point from a singular point of view. I definitely not gonna side on any party who made a bias comparison. nah i have a place to vent about ubiquiti. There are some good and bad things and they are not useful everywhere. The issue i have with ubiquiti areLike i said earlier, you will be better off venting somewhere else, which is much more appropriate. Traffic generator in my opinion is useful for a somewhat narrow group of people who actually can make use of the data. In our case, it would be a normal user - enthusiasts level, the scope is rather simplistic and straight forward. All these ssh are mostly copy and paste for the majority user and i dont think i mind it at all. Just a side note, i didnt refer any edgerouters as a debian server. I literally meant debian server on low power x86 and setup the rest so it would work as a router. Thats why i mentioned it would need its own tutorial to setup. Anyway i hope u find your channel somewhere. Unless you are working on something interesting and needed some insight, i am more than happy to give me opinion. - lacking in network configuration - lack of community support - lack of information and proper supplier support - wrong customer target (they try to target the professional/enterprise user promoting themselves as a cisco alternative but from what i find they fail here too. - vendor lock in for some of their products That said they aren't a total loss. Their wifi is good if you want basic functionality and good signal. I do question the use of an edgerouter, i mean i do like having different interesting architectures to work with. The TILERA TILE isn't far from MIPS though it is more capable at running software, comparing from the MIPS that ubiquiti uses, but to me edgerouters have always been a jack of all trades, master of none. They are more useful as a combined router/debian server. For instance why not make a tutorial on setting up nginx proxy cache for web browsing on one that is also a router? Could be very useful for those that use mobile internet. Make sure to have usb storage for this as well. The only problem is, the use cases i get asked, its extremely rare such use case would be better off with a ubiquiti device. For instance if you wanted a good firewall fortigate has some, but if poor the answer is a linux server, if you wanted the best internet load balancer peplink is the answer, with mikrotik second for the poorer users (not as perfect as peplink). I see mikrotik used a lot by ISPs and coreISPs in their datacenters (i did even work for a coreISP as well and it was fun having the same router as my ISP before (not in malaysia) as their edge router). To me ubiquiti naming is off because mikrotik CCRs make better edgerouters than ubiquiti edgerouters while for core routing CCRs are not used if bgp is needed but i believe for OSPF it is used. Feature level is the reason why cisco is still used for bgp rather than ubiquiti or mikrotik. I'm just letting you know the details on what to cover for ubiquiti for your tutorials as to what their strengths are rather than their weaknesses. |
|
|
Jul 17 2022, 01:10 AM
Show posts by this member only | IPv6 | Post
#38
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,203 posts Joined: Dec 2007 From: Bumi Kenyalang, Kuala Lumpur |
Tutorial still working as of yesterday 16 July 2022. Uploaded latest firmware, with DHCP and IPV6 enabled with Maxis fiber 300MBPS. Thanks TS.
One question which is out of topic, where can i still get Cloud Key Gen2 Plus in KL/Selangor? This post has been edited by bulkbiz: Jul 17 2022, 01:12 AM |
| Change to: | 0.0267sec
0.46
5 queries
GZIP Disabled
Time is now: 24th December 2025 - 01:11 AM |