The easiest way to figure this out is to use a client *nix OS which lets you fiddle with MTU easily
Unifi TMnet Streamyx/Unifi & IPv6, Now live!
Unifi TMnet Streamyx/Unifi & IPv6, Now live!
|
|
Oct 7 2013, 05:37 PM
Return to original view | Post
#21
|
|
VIP
6,008 posts Joined: Jan 2003 |
An MTU problem is definitely possible, if your router's IPv6 implementation doesn't clamp MSS to MTU.
The easiest way to figure this out is to use a client *nix OS which lets you fiddle with MTU easily |
|
|
|
|
|
Oct 16 2013, 01:47 PM
Return to original view | Post
#22
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(asellus @ Oct 16 2013, 01:29 PM) OMG, MSS clamping to 1392 DOES THE TRICK! Typically one would clamp it to PMTU and let the kernel do the math. Do you have the option for that?[attachmentid=3677379] I've tried MSS clamping before, but not at 1392, therefore I assume MSS clamping will not solve the problem. wKkaY should add this to the front page - no need for people to have problems like this. |
|
|
Oct 16 2013, 02:06 PM
Return to original view | Post
#23
|
|
VIP
6,008 posts Joined: Jan 2003 |
|
|
|
Oct 16 2013, 02:09 PM
Return to original view | Post
#24
|
|
VIP
6,008 posts Joined: Jan 2003 |
Having said that, technically it's not pure in the sense that there's something in the middle meddling with the IP payload. Lemme see whether there's any IPv6 spec that addresses the PMTU problem.
|
|
|
Oct 16 2013, 02:34 PM
Return to original view | Post
#25
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(asellus @ Oct 16 2013, 02:14 PM) If I set up the PPP profile to change the MSS, Mikrotik will only add two rules in "/ip firewall mangle" section. The "/ipv6 firewall mangle" section will still be empty. This is a known issue with routerOS as shown at http://forum.mikrotik.com/viewtopic.php?f=2&t=51117 amongst other places. Oh I didn't know they would add those rules automatically. Mine doesn't add them for IPv4. In Linux, the MTU mangling is normally done in rp-pppoe userspace client, so it isn't necessary to create iptables rules. I don't know if Mikrotik uses the same pppoe client implementation.Do you know how to tell routerOS to add the appropriate rules to "/ipv6 firewall mangle" when change MSS is enabled in the PPP profile? So now I understand what you mean by "manually". What I meant wasn't automatic as in remove the need to manually add clamping rules. Just to remove the manual MSS calculation, by using a rule like: QUOTE chain=postrouting action=change-mss new-mss=clamp-to-pmtu passthrough=yes protocol=tcp tcp-flags=syn XXX-interface=unifi |
|
|
Oct 16 2013, 03:13 PM
Return to original view | Post
#26
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(asellus @ Oct 16 2013, 03:08 PM) Your rule seems to works though. Although I wonder why MSS clamping to 1432 that I done earlier doesn't work, while it works with 1392. When I'm free (after I catch up to all the work I missed from being sick) I'll set up an experiment to figure out this MTU problem. In theory... PMTU discovery should address this. But why isn't it? |
|
|
|
|
|
Oct 18 2013, 09:56 PM
Return to original view | IPv6 | Post
#27
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(rizvanrp @ Oct 18 2013, 09:41 PM) I've only seen the rp-pppoe client manage to negotiate a public IPv6 prefix using ICMPv6 RA's .. that's the client being used in TM's routers anyway. I think Mikrotik is using a modified older version of rp-pppoe or proprietary client. I'm fairly sure that it is Linux, not rp-pppoe, which does that. If you disable the autoconf sysctl, you will not see any ICMPv6 route solicitations sent. |
|
|
Oct 18 2013, 10:15 PM
Return to original view | IPv6 | Post
#28
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(rizvanrp @ Oct 18 2013, 09:41 PM) I'm not sure why you would need to clamp to PMTU specifically as path MTU discovery in IPv6 doesn't operate the same way as it does in IPv4 and assumes the MTU is that of the link layer interface. Well in the case of PPPoE, the MTU of the host's link layer is bigger than the router's.AFAIK there's two ways to handle this - 1) through RA announcements about the smaller MTU (not sure whether this is honored by popular OSes), or 2) MSS clamping (which breaks end-to-end principle). The fallback is PMTU discovery. |
|
|
Oct 21 2013, 05:11 AM
Return to original view | Post
#29
|
|
VIP
6,008 posts Joined: Jan 2003 |
Coincidentally, after some downtime on my FTTH link today, at reconnection my BRAS now assigns me an allocation through DHCPv6
|
|
|
Oct 21 2013, 05:15 AM
Return to original view | Post
#30
|
|
VIP
6,008 posts Joined: Jan 2003 |
Our hosting provider's IPv6 is down, so you guys won't be able to surf the forum over IPv6 until it is rectified.
|
|
|
Oct 21 2013, 06:27 AM
Return to original view | Post
#31
|
|
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. |
|
|
Oct 21 2013, 08:04 PM
Return to original view | Post
#32
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(rizvanrp @ Oct 21 2013, 07:16 PM) Adjustable in IPv6 -> ND -> Prefixes -> Default for RouterOS I have set lowered it from 30d/1w to 2h/1h for Valid/Preferred. Confirmed on Linux that the new lifetimes have taken effect.No Unifi at my site so maybe someone else with a Mikrotik can test if it works |
|
|
Oct 21 2013, 08:08 PM
Return to original view | Post
#33
|
|
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: 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.QUOTE # Very short lifetimes for dynamic addresses AdvValidLifetime 300; AdvPreferredLifetime 120; |
|
|
|
|
|
Oct 21 2013, 08:39 PM
Return to original view | Post
#34
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(asellus @ Oct 21 2013, 08:17 PM) Old prefixes not being removed isn't really a problem. The problem lies in the fact that old prefixes not being marked as depreciated when it should have been. 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. |
|
|
Oct 21 2013, 08:57 PM
Return to original view | Post
#35
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(rizvanrp @ Oct 21 2013, 08:47 PM) RA is sent immediately after configuration is applied, should be able to script this right? Hmm you might be on to something!CODE /ipv6 nd prefix add autonomous=yes disabled=no interface=ether2-master-local on-link=yes preferred-lifetime=0s prefix=2001:e68:dead:beef::/64 valid-lifetime=0s Mikrotik wiki has a code snippet that can be used together with that: http://wiki.mikrotik.com/wiki/Manual:Scrip...ce_have_changed |
|
|
Oct 26 2013, 01:58 AM
Return to original view | Post
#36
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(darrenliew96 @ Oct 25 2013, 10:10 PM) The first record of our implementation was in December 2010: https://forum.lowyat.net/topic/1420285?author=wKkaY |
|
|
Oct 26 2013, 09:03 PM
Return to original view | Post
#37
|
|
VIP
6,008 posts Joined: Jan 2003 |
QUOTE(asellus @ Oct 26 2013, 07:19 PM) Checked out a looking glass and saw that they also use NTT, C&W, Sprint.And for what it's worth, lowyat.net's hosting provider isn't peered with TMNet at MyIX. Not sure when it will be complete |
|
|
Oct 27 2013, 02:07 AM
Return to original view | IPv6 | Post
#38
|
|
VIP
6,008 posts Joined: Jan 2003 |
|
|
|
Oct 28 2013, 06:53 PM
Return to original view | Post
#39
|
|
VIP
6,008 posts Joined: Jan 2003 |
I have split off the Youtube discussion to https://forum.lowyat.net/topic/3010305
Please center this discussion around TMnet and IPv6. |
|
|
Oct 28 2013, 09:39 PM
Return to original view | IPv6 | Post
#40
|
|
VIP
6,008 posts Joined: Jan 2003 |
|
| Change to: | 0.0361sec
0.45
7 queries
GZIP Disabled
Time is now: 11th December 2025 - 03:54 AM |