> Hmm... I always understood PMTU discovery to work > based on sending ICMP > packets with the DF bit set. Routers along the path > that have a smaller > MTU are obliged to report an ICMP error back, which > allows for discovery.
The second part is correct, the first part only partially. Path MTU discovery is most commonly implemented within TCP, so the packets with the DF bit sent are usually TCP "packets". (It is possible to do Path MTU discovery with other packets as well, but this is less common due to API issues - TCP can retransmit and re-segment data in a way that's transparent to the upper layers.) The problematic part of this "traditional" Path MTU discovery mechanism is that it [b]relies[/b] on ICMP messages from routers that would have to fragment these packets (but mustn't, since they carry the "Don't Fragment" bit). In today's Internet, these ICMP messages often don't arrive back at the sender, either because they aren't generated, or because they are filtered away near the source or destination. These "ICMP blackholes" can stall TCP completely unless countermeasures are used - for example, recent Windows versions have "PMTUD blackhole detection" mechanisms do get out of this situation. The IETF has worked on a new, more robust Path MTU discovery for quite a while, and finally published RFC4821 on "Packetization Layer Path MTU Discovery" (M. Mathis, J. Heffner) in March 2007. This mechanism doesn't rely on ICMP messages, but starts conservatively and then tries to increase the MTU from time to time. There are implementations for Linux (integrated in the mainline kernel since 2.6.17, I think) and NetBSD. I think it would be good to implement this for Solaris, because traditional Path MTU Discovery is [b]really[/b] broken on today's Internet. Most of the time you don't notice, because everything is 1500 bytes (and on the few occasions where there are <1500-byte MTU links [i]within[/i] the network, such as with ADSL/PPPoE, people usually deploy ugly hacks such as rewriting the MSS advertisements to prevent PMTUD from being used). But if you want to be able to try larger MTUs over the Internet, you need a robust discovery mechanism. See http://kb.pert.geant2.net/PERTKB/PathMTU for more information about Path MTU (and thanks for fixing any errors, it's a Wiki so you can edit the page). -- Simon. This message posted from opensolaris.org _______________________________________________ networking-discuss mailing list [email protected]
