Freigeben über


Why doesn't IPReassemblytimeout registry key take effect on Windows 2000 or later systems?

Hi,

I had to deal with a number of support cases where IPReassemblytimeout reg key was set but didn't take effect on Windows 2003 or a later system and I thought I should be sharing more information about this here. Here are some details:

IP fragmentation is needed when an upper layer packet whose payload is bigger than the IP MTU needs to be sent to a destination. This could happen when the packet initially leaves the host or could happen when a router needs to forward a packet that it received through one interface (with a bigger MTU) to another interface (Smaller MTU). That also happens when packets need to traverse VPN links where there's an additional VPN related overhead causing the original packet to be fragmented.

The final receiver of the fragmented IP packets re-assembles those fragments and forms the original packet before passing to upper layer protocols. Receiver waits for a period called "re-assembly timeout" for all the fragments that belong to the original packet to be received. If any one of the fragments is dropped on the way, receiver drops the other fragments belonging to the original packet.

In NT 3.1, there was a registry key called "IPReassemblytimeout" (which is referred to by KB 102973). But that registry key doesn't apply to Windows 2000, XP, 2003, Vista, 2008, Windows 7 or 2008 R2!

Some more facts:

1) IP Re-assembly timeout is hardcoded on Windows 2000, Windows 2003, Windows XP, Windows Vista, Windows 2008, Windows 7 and Windows 2008 R2 and cannot be changed by any means (registry, netsh etc)

2) For Windows Vista, Windows 2008, Windows 7 and Windows 2008 R2, it's hardcoded to 60 seconds as per section 4.5 of RFC 2460:

"If insufficient fragments are received to complete reassembly of a packet within 60 seconds of the reception of the first-arriving fragment of that packet, reassembly of that packet must be abandoned and all the fragments that have been received for that packet must be discarded."

For more information, please see RFC2460 (https://www.ietf.org/rfc/rfc2460.txt)

3) For Windows 2000, Windows XP and Windows 2003, it's at least 60 seconds but it may be higher depending on the value of TTL in the IP header and it may go up to 120 seconds.

Hope this helps..

Thanks,
Murat

Comments

  • Anonymous
    January 01, 2003
    Hi... Why is ipReasmTimeout read-only and not writable? It controls the network performance in a way so it should be a parameter that the network manager should be able to control. But then why is it fixed to read-only? Thanks! Taimur taimur.ahmed AT live.com

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    Good to hear that it was some help to you. Thanks, Murat

  • Anonymous
    January 01, 2003
    Hi Taimur, Sorry that I haven't dealt with that subject much before so couldn't help you much with that. As you mentioned all these index related objects seem to be serving for the same purpose but there may be some minor differences between. The following document seems to providing some more details in general: technet.microsoft.com/.../cc723464.aspx  Network Management and Monitoring Hope this helps Thanks, Murat

  • Anonymous
    August 11, 2010
    Thanks for your reply. No I don't really have a scenario. Just a question posed to us by our instructor. I guess its a valid reason that in present times, a delay of 60 secs is unlikely, unlike the slow connections of the past. But what if a manager wants to change this to 30 secs for example? I mean if the manager wants to discard packets if they are taking above 30 secs! In a way discard packets that a taking too much time. Shouldn't in this scenario this parameter be manageable instead of just being read-only? What say?

  • Anonymous
    August 11, 2010
    Thanks for your reply. Has been quite helpful in making me understand. Would surely bother you again with some other related questions. Thanks again, Taimur

  • Anonymous
    August 13, 2010
    Hey, Just had another question. Its about the ipAddrTable. ipAddrTable has an object ipAddrEntry (ipAddrTable 1) which has several objects ipAdEntAddr -> Index ipAdEntIfIndex 3 more... My question is "Whats the purpose of ipAdEntIfIndex if not to index?" Why is ipAddEntAddr being used as the index here? Thanks again!