Welcome Guest ( Log In | Register )

69 Pages « < 10 11 12 13 14 > » Bottom

Outline · [ Standard ] · Linear+

Unifi TMnet Streamyx/Unifi & IPv6, Now live!

views
     
TSwKkaY
post Oct 21 2013, 06:27 AM

misutā supākoru
Group Icon
VIP
6,008 posts

Joined: Jan 2003
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.
Moogle Stiltzkin
post Oct 21 2013, 06:31 AM

Look at all my stars!!
*******
Senior Member
4,454 posts

Joined: Jan 2003
bruce.gif

This post has been edited by Moogle Stiltzkin: Jul 15 2017, 10:36 AM
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
Moogle Stiltzkin
post Oct 21 2013, 06:59 AM

Look at all my stars!!
*******
Senior Member
4,454 posts

Joined: Jan 2003
bruce.gif

This post has been edited by Moogle Stiltzkin: Jul 15 2017, 10:36 AM
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
Moogle Stiltzkin
post Oct 21 2013, 07:11 AM

Look at all my stars!!
*******
Senior Member
4,454 posts

Joined: Jan 2003
bruce.gif

This post has been edited by Moogle Stiltzkin: Jul 15 2017, 10:37 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.
asellus
post Oct 21 2013, 08:03 AM

#gompusas
Group Icon
Elite
4,541 posts

Joined: Jan 2003
From: BSRPPG51 Access Concentrator


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.
*
Did you also see the bug I mentioned in point no.3 I mentioned here?

BTW, setting the MTU in ND do work.
XeactorZ
post Oct 21 2013, 10:45 AM

♥ PandaDog ♥
*********
All Stars
31,607 posts

Joined: Aug 2010
QUOTE(Alpha Wolf @ Oct 21 2013, 07:43 AM)
Yeah, for some reason dual wan cannot be enabled in fw 1.01.
*
any idea how to downgrade to 1.01 firmware ?
rizvanrp
post Oct 21 2013, 01:43 PM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



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.
*
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

zhuoyang
post Oct 21 2013, 02:19 PM

Getting Started
**
Junior Member
197 posts

Joined: Jul 2011
how to enable IPv6 on Unifi DIR-615 with DD-WRT firmware?
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
Moogle Stiltzkin
post Oct 21 2013, 07:11 PM

Look at all my stars!!
*******
Senior Member
4,454 posts

Joined: Jan 2003
bruce.gif

This post has been edited by Moogle Stiltzkin: Jul 15 2017, 10:37 AM
rizvanrp
post Oct 21 2013, 07:16 PM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



QUOTE(Alpha Wolf @ Oct 21 2013, 06:43 PM)
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:

Otherwise, look for settings related to the time advertised prefixes remain valid.
Adjustable in IPv6 -> ND -> Prefixes -> Default for RouterOS

No Unifi at my site so maybe someone else with a Mikrotik can test if it works
Eoma
post Oct 21 2013, 07:29 PM

- ,. -
Group Icon
Elite
4,603 posts

Joined: Jan 2003
From: PJ


On Windows (vista/7) a quick disable and enable on the ethernet adapter gets rid of the old prefix.

This post has been edited by Eoma: Oct 21 2013, 07:29 PM
Moogle Stiltzkin
post Oct 21 2013, 07:33 PM

Look at all my stars!!
*******
Senior Member
4,454 posts

Joined: Jan 2003
bruce.gif

This post has been edited by Moogle Stiltzkin: Jul 15 2017, 10:37 AM
Eoma
post Oct 21 2013, 07:46 PM

- ,. -
Group Icon
Elite
4,603 posts

Joined: Jan 2003
From: PJ


Not for the first time, if you redial, it seems the old prefix is not removed.
I initially thought it was due to the half baked TP Link firmware, but it seems others are experiencing the same thing too.
TSwKkaY
post Oct 21 2013, 08:04 PM

misutā supākoru
Group Icon
VIP
6,008 posts

Joined: Jan 2003
QUOTE(rizvanrp @ Oct 21 2013, 07:16 PM)
Adjustable in IPv6 -> ND -> Prefixes -> Default for RouterOS

No Unifi at my site so maybe someone else with a Mikrotik can test if it works
*
I have set lowered it from 30d/1w to 2h/1h for Valid/Preferred. Confirmed on Linux that the new lifetimes have taken effect.
TSwKkaY
post Oct 21 2013, 08:08 PM

misutā supākoru
Group Icon
VIP
6,008 posts

Joined: Jan 2003
QUOTE(Alpha Wolf @ Oct 21 2013, 06:43 PM)
If your router uses radvd like mine for RAs, you can configure this in the config file within the prefix section:
QUOTE
# Very short lifetimes for dynamic addresses
                AdvValidLifetime 300;
                AdvPreferredLifetime 120;

*
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.
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

69 Pages « < 10 11 12 13 14 > » Top
 

Change to:
| Lo-Fi Version
0.0251sec    0.30    6 queries    GZIP Disabled
Time is now: 2nd December 2025 - 04:18 AM