I would like to clarify my understand about TCP/IP model and packet cutting. I think it's done by layer 3 (Transport, eg. TCP) but I'm note sure about layer 2 (Network, eg. IP) or even layer 1 (Network interface, eg. Ethernet) ?
From layer 4 to layer 1, we have : Data (layer 4) such as a mail, becoming multiples TCP segments or UDP datagrams (layer 3), and then packets (layer 2) and finally frames (layer 1) ?
I understand that layer 2 has a "physical limit" named MTU (Maximum Transmission Unit) which is around or equal to 1500 bytes for Ethernet. I think MTU concerns the layer number 2 ? PMTUD (Path MTU Discovery) is supposed to help knowning the smallest MTU on the path, and so the highest MTU that can be used ? How is it possible if paquets can travel with differents (and unpredicables?) paths from sender host to receiver host, especially with internet network ?
MSS (Maximum Segment Size) seems to limit the size at the layer 3. And MSS is calculated using the MTU value and a rule that is MSS = MTU - (TCP header + IP header) or, if IPSec is used, MSS = MTU - (TCP header + IP header + IPsec).
I suppose that layer 3 always cuts Data into TCP segmets or UDP datagrams by using and applying the MSS limit size, so the layer 2 receive items with a size already good, and there is no need to cut the segments or datagrams received from layer 3 to obtain packets with a correct size regarding the size limit (MTU) ? No need to cut for layer 2 ?
Similarly, layer 1 does'nt need to cut paquets received from layer 2 to produce network frame ? Frame size limit is 1500 bytes for payload, so again no need to cut ?
I suppose things may become complex during the long (bust fast!) travel from sender to receiver on internet network ?
Can you correct anything that is wrong or incomplete?