I have read that the MSS (Maximum Segment Size) is used to prevent IP Fragmentation.
Now if the two communicating devices exist on the same network, and this network have a MTU (Maximum Transmission Unit) of 1500, and the two communicating devices agreed on a 1460 MSS, then IP Fragmentation will not happen in this case.
But what happens if the two communicating devices exist on two different networks and both networks have a MTU of 1500 and there is a network between them with a MTU of 1000, and the two communicating devices agreed on a MSS of 1460, wouldn't IP Fragmentation happen in this case when a packet reaches the network that is between the two communicating devices?
1460
, and Host B tells Host A that its MTU is17,874
. That means Host A will not send Host B a segment payload over17,874
., and Host B will not send Host A a segment payload over1460
. That is what each host knows, but Host A cannot send a segment payload over1460
because of its MTU, not because of an agreement with Host B.