Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Unifi TMnet Streamyx/Unifi & IPv6, Now live!

views
     
Alpha Wolf
post Oct 17 2013, 07:08 AM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(XeactorZ @ Oct 7 2013, 11:11 PM)
Anybody facing frequent dc ?
Even i diaable ipv6 still same, what wrong ?
*
Could it be an issue with the newer 1.06TM firmware you've upgraded to? 1.01TM runs really stable for me and I am looking around for this version of the firmware so that I can revert back to it. I don't want to get stuck at 1.06TM after trying it.
Alpha Wolf
post Oct 18 2013, 01:51 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(XeactorZ @ Oct 17 2013, 04:29 PM)
no idea have been disable ipv6 for few days
no frequent dc issue for this few days
and before I upgrade to 1.06 firmware I do a backup during 1.01 firmware already
*
Yes, that is just the configuration backup. But what if you want to downgrade to 1.01 firmware? Because 1.06 might be the culprit for frequent dc. I had no dc issues with 1.01
Alpha Wolf
post Oct 21 2013, 05:33 AM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(Moogle Stiltzkin @ Oct 21 2013, 02:38 AM)
Yep  nod.gif

so i leave the static dns field blank ? prefix length 64 default. Accept RA from WAN but NOT lan (default) ?
i tried accessing my rb250gs switch but i forgot the username password. admin/blank doesn't work :/ so i may need to reset the switch and start over.

But rivzan's guide on his website is offline, so i can't do it right now  cry.gif is he going to restore the site anytime soon  ohmy.gif
*
You can choose to use google's ipv6 dns. Prefix length is 64, yes. Accept RA from WAN only unless this isn't your primary router connecting to the internet.

You could always use wayback machine - http://archive.org/web/ a copy of that site when it was up.
Alpha Wolf
post Oct 21 2013, 06:50 AM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(wKkaY @ Oct 21 2013, 06:27 AM)
I've been investigating the MTU issue more closely now that I have IPv6 working at home.

I think it's a problem specific to Mikrotik. MTU for the PPPoE interface is set to 1480 by default. So if you use clamp values that you found through googling, they might not work if calculated to assume an MTU of 1492.

Further compounding the problem, it appears that a ICMPv6 Packet Too Big isn't sent back to the host in this case.

In my opinion, the best solution on the Mikrotik is to set your IPv6 -> ND -> MTU advertisment to match your PPPoE interface MTU. Doing it this way is less hackish than writing mangle rules for the router to change  the TCP MSS. Furthermore the MTU hint will be usable by protocols other than TCP.
*
Yes, I wanted to suggest the same as it is more efficient. I've tried matching the MTU advertisement to the pppoe line's MTU (in my case 1492) and it works. I wonder what about the 60 bytes overhead deduction that the linked blog on MSS suggested. 1492 works fine for me. Clamping MSS is a work-around and technically not the solution. As a fail-safe approach, start setting your MTU advertisement to the min value of 1280 and slowly increase from there.

A more conclusive way to test whether your MTU setting works is to use the "Other IPv6 Sites" tab on http://test-ipv6.com/ after successfully running the initial test. This should properly test your MTU against many different servers located all around the world using IPv6. Don't be alarm if you get a grey-bluish dot, as some servers might be down occasionally but you should be getting green ticks otherwise:
» Click to show Spoiler - click again to hide... «



By the way, when will lowyat.net's IPv6 connection be up? I am starting to miss those IPv6 tags already.

QUOTE(Moogle Stiltzkin @ Oct 21 2013, 06:31 AM)
primary router..... so are you saying for my network setup

fiberhome modem > Microtik RB250GS switch > Linksys E4200 V1 router
So i need to Wan RA only for the microtik, but for the linksys, RA enable for both WAN and LAN ? is that what you meant  hmm.gif
today they were doing maintenance in the area, i suspect to do with IPV6 but what they changing exactly i'm not sure  hmm.gif
But is that recommended? Like i noticed some sites is blocked by the isp dns. But when use googledns or opendns can access them.

But problem is if use google or opendns
1. higher latency for games
2. harder to use the local akamai cache servers, so may result in exceeding my monthly bandwidth quotas.
*
Your primary router is the device that performs the pppoe connection through your modem. Is that Microtik switch performing the internet connection? Not familiar with that Microtik device as it sounds like just a switch? Anyway, if your Linksys connects to your Microtik via Linksys's WAN port, then yes.

True, it does depend on the websites you use. I personally find google dns much faster compared to open dns. If you want to give priority to local servers, use TM for primary dns and google for secondary dns.

QUOTE(JohnLai @ Oct 19 2013, 10:05 AM)
Weird, the guideline of enabling IPV6 from the first post mentioned D-Link DIR 615 (I assumed the guideline has typo DOR615? Screenshot mentioned otherwise).

But there is no "Enable Ipv6" checkbox for my friend particular model.
He is using DIR-615 H/W Version G2 with firmware 7.09 and I can't find any IPV6 option.
*
It is indeed a typo. Key "i" and "o" are next to each other on the keyboard. I guess the person who put together that ipv6 guide was pressed for time.

You need to update your firmware.

This post has been edited by Alpha Wolf: Oct 21 2013, 07:34 AM


Attached thumbnail(s)
Attached Image
Alpha Wolf
post Oct 21 2013, 07:10 AM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(Moogle Stiltzkin @ Oct 21 2013, 06:59 AM)
I can't login to my rb250gs have to reset, but rivzan's website seems down so i can't remember the guide to set up again, so i'm stuck X_X:

also been a long time since i did it, so i'm not sure about this. But i usually enter my internet info in my router, so maybe the dial up is performed there ? Whereas only the vlan tagging is done via the rb250gs.
Does anyone have a cache for this page ?
http://unifi.athena.my/mikrotik_rb250gs.php
*
Like I've mentioned, use wayback machine. Latest snapshot January 2013. I thought his site was down far back than this?
http://web.archive.org/web/20130118122637/...tik_rb250gs.php

Looks like it's just a switch indeed. Dial up is performed by your modem. Which modem are you using?

This post has been edited by Alpha Wolf: Oct 21 2013, 07:12 AM
Alpha Wolf
post Oct 21 2013, 07:43 AM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(XeactorZ @ Oct 18 2013, 06:14 PM)
no idea
so far now didn't facing frequent dc issue on 1.06 firmware with disable ipv6
yet, by the time I using 1.01 firmware me also didn't get frequent dc issue
and when using 1.01 firmware can't enable ipv6 config also
*
Yeah, for some reason dual wan cannot be enabled in fw 1.01.
Alpha Wolf
post Oct 21 2013, 06:43 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(XeactorZ @ Oct 21 2013, 10:45 AM)
any idea how to downgrade to 1.01 firmware ?
*
You need to get a copy of the 1.01 firmware first, where DellMalaysia has requested through an email awaiting reply from TM. This is also the reason why I am in search for that firmware.


QUOTE(rizvanrp @ Oct 21 2013, 01:43 PM)
Agreed, the mangle rules have an additional disadvantage of using more resources on the router. Setting the MTU flag in the RAs seems to work biggrin.gif

My only remaining issue is getting rid of the expired v6 prefixes once the session is killed. My home server interface currently looks like this.. :

CODE
         inet6 addr: 2001:e68:5420:15bf:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:15bd:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:15bc:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:15bb:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:15ba:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:15b9:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:15b8:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:1590:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:1585:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: 2001:e68:5420:1583:16da:e9ff:fe98:e847/64 Scope:Global
         inet6 addr: fe80::16da:e9ff:fe98:e847/64 Scope:Link
         inet6 addr: 2001:e68:5420:1583:46:f4ff:fe2c:93f0/64 Scope:Global
         inet6 addr: 2001:e68:5420:1581:46:f4ff:fe2c:93f0/64 Scope:Global

*
I was having the same issue with RA clients preferring the older prefixes over the newer ones, thus accumulating a long list of v6 addresses. For wireless devices, his can be fixed by disconnecting and reconnecting to the network. But this can be troublesome. The solution is to shorten the lifetime these prefixes remained preferred in the RA deamon. Most ISP provide static prefixes as v6 prefixes are meant to be static in general, hence why RA deamons have it set to 1 day or more. For some reason, TM is handing out dynamic prefixes. If your router uses radvd like mine for RAs, you can configure this in the config file within the prefix section:
QUOTE
# Shorter lifetimes 1 day valid and 2 hour preferred
                AdvValidLifetime 86400;
                AdvPreferredLifetime 7200;

Otherwise, look for settings related to the time advertised prefixes remain valid.


QUOTE(zhuoyang @ Oct 21 2013, 02:19 PM)
how to enable IPv6 on Unifi DIR-615 with DD-WRT firmware?
*
Just when I was about to wonder if anyone else was using DD-WRT with IPv6... I guess technically none yet?

Incidentally, I've spent the last few days relentlessly sorting out and getting IPv6 connection working with DD-WRT. It was an IPv6 learning experience for me too as I was completely new to IPv6. I finally have my Asus RT-N66U running on DD-WRT fully working with Unifi's native IPv6 along side 500 and 600 vlan tagging. icon_rolleyes.gif

Currently DD-WRT has less support for IPv6 compared to other custom firmwares like Tomato and OpenWRT, at least this is according to the web interface of DD-WRT, most of which needs to be manually configure using the command line interface and script files. But being well accustomed to DD-WRT and its extensive features, I wanted this to work. Only the big builds have IPv6 modules included, but with optware and ipkg and lots of patience, it's fully possible.

In short, here are the applications I am using:
1) rdisc6 to get ICMPv6 from ISP for the WAN interface.
2) DHCPv6 client to get v6 prefix from ISP.
3) and finally radvd to advertise that obtained prefix out to clients.

I also added and configured ip6tables for the v6 firewall.

Here are more details on my setup. Note this is a custom web interface page I included using the MyPage feature of DD-WRT for debugging and status purposes. So far it's been running really stable. No point in masking my IP addresses since they are dynamic plus I run a server. biggrin.gif
» Click to show Spoiler - click again to hide... «


This post has been edited by Alpha Wolf: Oct 21 2013, 08:17 PM


Attached thumbnail(s)
Attached Image
Alpha Wolf
post Oct 21 2013, 08:10 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(wKkaY @ Oct 21 2013, 08:08 PM)
In RFC 4862 section 5.5.3, it is recommended that hosts ignore AdvValidLifetime < 2 hours, to avoid a denial of service attack from bogus advertisements. So I think you should raise that to 2 hours.
*
Good point, I read about that too. I will have it adjusted. The default settings for radvd is 1 day valid and 4 hours preferred.

This post has been edited by Alpha Wolf: Oct 21 2013, 08:18 PM
Alpha Wolf
post Oct 21 2013, 08:30 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(Moogle Stiltzkin @ Oct 21 2013, 07:33 PM)
does all new ipv6 have to do this for first time setup ? Or is this something have to do on a regular basis after router reboot  hmm.gif
*
Honestly, if I did not reconnect to TM with my router so frequently during my debugging phase, this issue would have been non-existent for me. In fact, I could have left them at the default settings because I leave my router running 24/7 and my pppoe connection is rock solid. This setup is only required if you get very frequent disconnects on your pppoe connection and it auto reconnects within less than the preferred lifetime setting.
Alpha Wolf
post Oct 21 2013, 08:38 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(Moogle Stiltzkin @ Oct 21 2013, 08:32 PM)
what is causing this ? Whos fault is it ? Unifis implementation, or the router firmware which lack support ?
Same situation here. 24/7, but when i debug, i reboot my router after update or changes, so this could add up and start to be annoying for me too  shakehead.gif
*
It's not really a "fault". But if I were to blame something, it's the dynamic prefixes that TM hands out.

If you reboot your router that connects to your client devices, the prefixes would automatically clear themselves, just like how disconnecting and reconnecting the ethernet interface on the client devices solves the problem. Rebooting your router is analogous to disconnecting and reconnecting to your client devices. So I really don't see any issues in this at all.

I have a an access point connected to my router which my wireless laptop still connects to when I reboot my router, hence the old prefixes aren't cleared.

Edit: haha, noticed that you edited to add that picture

This post has been edited by Alpha Wolf: Oct 21 2013, 08:41 PM
Alpha Wolf
post Oct 21 2013, 08:44 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(wKkaY @ Oct 21 2013, 08:39 PM)
Ahh yeah Windows has that problem. I did some reading and found one way to address it: the routers sends a 0-second ValidLifetime RA to "clear" the prefix. This probably isn't supported by Mikrotik though.
*
Interesting approach but I wonder if it works. This could be scripted in DD-WRT - launch radvd with a separate config file with 0 ValidLifeTime then kill radvd and launch it again with the primary config file.
Alpha Wolf
post Oct 21 2013, 09:06 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(Moogle Stiltzkin @ Oct 21 2013, 07:11 PM)
Okay i can't test ipv6 i found out.

So just wondering, does anyone with a tomato router who managed to get ipv6 to work yet ? Interested to know doh.gif
@alpha -

thx for confirming unifi ipv6 works on dd-wrt. i'm sure others will appreciate a pictorial guide to set that up  nod.gif
*
The web interface for configuring ipv6 on Tomato looks very promising as they have options for native ipv6. I am sure it's possible.

hmm.gif I'm considering where to place such a guide because it is going to be long and it pre-requires enabling jffs for installing additional applications or using optware and most importantly, running startup scripts to automate the process every time it boots up. Depending on the version of dd-wrt, additional ipv6 modules need to be downloaded and loaded onto dd-wrt separately.

As for my setup, the only thing I'm wondering about right now is: Why do I get two different v6 prefixes for my WAN and LAN? Shouldn't they be the same? Also, I can reach my router from the external internet by using both my WAN or LAN v6 IP.

This post has been edited by Alpha Wolf: Oct 21 2013, 09:16 PM
Alpha Wolf
post Oct 21 2013, 09:21 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(Moogle Stiltzkin @ Oct 21 2013, 09:16 PM)
that sounds.... complicated  shocking.gif

*
Yes sweat.gif , but this could all be easily scripted. You only need to get the right modules and application for your version of dd-wrt, particularly if you're using a different Linux kernel version. I am using the latest K3.X.

On a side note, I had to modify and compile a switch driver to enable support for vlanids above 15, namely 500 and 600 that Unifi uses, for my Broadcom based router running linux kernel 3.10. This enables me to directly connect my dd-wrt router to the fiber modem. One less device to run 24/7 and no more requiring the use of that TM router as a bridge for internet, plus my IPTV still works when I need it.

I could now use that L7 TM router for testing. Doubt it will work but maybe I could try flashing it with dd-wrt.

This post has been edited by Alpha Wolf: Oct 21 2013, 09:32 PM
Alpha Wolf
post Oct 21 2013, 10:49 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(asellus @ Oct 21 2013, 10:25 PM)
Because that's how it works. If your PPPoE dialer supports IPv6, it can get itself its own /64, then another /64 for clients behind the router. Not that different really than a HE.net tunnel.
*
Oh good! So I'm not over pulling a prefix too many or anything like that. I still find it interesting how I can use both my WAN and LAN v6 IP as my public IP. It's like I'm having two public addresses. I guess IPv6 has too many addresses to offer. The way IPv6 works is almost entirely different from IPv4, apparently it's not just as simple as "adding more addresses". I've never tried tunnels as I started straight with native IPv6.

QUOTE(zhuoyang @ Oct 21 2013, 10:30 PM)
Hmm, is it possible in the DIR-615 ? the space in DIR-615 is quite limited
*
You are only required to enable JFFS support on your router to use ipkg. Then, attach a usb drive to your router and bind mount it to /jffs and poof! Your jffs has the space of your USB drive! You have to change your usb mount path accordingly.
CODE
mount --bind /mnt/sda1/jffs /jffs

Alpha Wolf
post Oct 22 2013, 11:13 AM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(JohnLai @ Oct 22 2013, 10:22 AM)
Technically, IPv6 could solve the issue, assuming if the router at TM side is capable of IPv6 support.
This way, you will have the private IPv4 and public IPv6 address.

Problem, how do you know if your other end of connection support IPv6 as well?
Example, location A supports both IPv4 (Private or Public) and IPv6 (Public) while location B (the one you want to access) can only support IPv4 (Private, NAT-ed). You gonna have issue setting up teredo tunneling etc just to get pseudo IPv6 working.  rclxub.gif
*
Instead of going through the hassle setting up tunnels, an ipv6 proxy could be used. http://www.ipv6proxy.net/
Alpha Wolf
post Oct 22 2013, 05:05 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(maxiscool @ Oct 22 2013, 04:52 PM)
Need some understanding, what happen to the device behind the router when turn on IPv6 for Unifi?

Will all be IPv6 or it is still IPv4?

Being using Mikrotik.
*
IPv6 and IPv4 can run concurrently so they will have both.
Alpha Wolf
post Oct 22 2013, 07:35 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(asellus @ Oct 22 2013, 06:36 PM)
From the router. TM DHCP only hands out prefix(es), router's DHCP (or RA) hands out address(es) to client computers.

edt: BTW, routerOS does not support DHCPv6 yet (probably never), so RA is the way to go.
*
Is there no way to run downloaded ipkg installations on routerOS like WRT-based OS?
Alpha Wolf
post Oct 24 2013, 07:30 AM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(Kiding @ Oct 23 2013, 10:51 PM)
Finally got my TP-Link TL-WR841ND v7 with OpenWRT 12.09 IPV6 working properly after two nights of studying and troubleshooting.

[attachmentid=3688825]

Now my Windows, Solaris, iPad and Android phone are getting ipv6  flex.gif  laugh.gif

Too bad TM not giving fixed ipv6 address  sleep.gif
*
good job rclxms.gif Took me slightly longer to get it all figured out in dd-wrt. Good to see that the LAN and WAN prefixes are indeed different.


QUOTE(XeactorZ @ Oct 24 2013, 02:27 AM)
hmm me mainly using s3 and note 2
wonder how to enable ?

btw this few days keep frequent dc again, but phone can connect doh.gif
*
My S2 support IPv6 out-of-the-box without any extra settings, so I'm assuming S3 and Note 2 and any products later should. Just make sure your web browser app supports IPv6. I tested it on Dolphin.
Alpha Wolf
post Oct 24 2013, 03:42 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(OngHoeYuan0214 @ Oct 24 2013, 03:39 PM)
Hi,
My Modem D-Link DSL-2730E gt IPv6 DNS and IP already
DHCPv6 Mode Set to Auto Mode already
Why my compuer IPv6 still is No Internet Access..
Help please..
*
Have you actually tired restarting both the modem and your computer?
Alpha Wolf
post Oct 24 2013, 05:22 PM

Getting Started
**
Junior Member
263 posts

Joined: Mar 2008
From: SS2, Petaling Jaya


QUOTE(XeactorZ @ Oct 24 2013, 05:06 PM)
how to check whether support or not
btw this 2 days get frequent dc again doh.gif
*
Make sure that you are connected to an IPv6 network then visit a site like test-ipv6.com to test your ipv6 connectivity. Most mobile internet do not have ipv6 yet like my umobile.

Here's my test in chome browser app:
Attached Image

My S2 doesn't show the ipv6 address in the wifi connection details nor the phone status page but that test site shows my ipv6 address and it has full 10/10 v6 connectivity.

Btw, this post is sent from my S2 for extra testing too.

As for your dc issues, do you think it's related to your firmware update?

2 Pages  1 2 >Top
 

Change to:
| Lo-Fi Version
0.0449sec    0.29    7 queries    GZIP Disabled
Time is now: 1st December 2025 - 02:39 AM