I am configuring a simple P2P channel between two nodes, with the purpose of evaluating the behavior of the TCP CW, throughput and RTT when considering a
variable rate for the P2P link.
For instance, assume that the P2P link has a constant rate to 100Mbps. At a certain point, say at time t = 1.5s, I manually change the rate of the link to 1Kbps, before recovering the full rate (100Mbps) at time t =2s.
Now, I expect that the TCP throughput will be very low during the time at which the rate has been manually decreased, and that it would increase again as soon as the original link capacity is restored. However, what I get is that the throughput will be constantly zero (i.e., no more packets are correctly exchanged) for the whole remaining simulation time, due to a "Time to Live expiration" event, as I understand from analyzing the .pcap traces that have been generated throughout the simulation (see attached image):
This is quite unreasonable to me. In fact, the TTL field is decreased only when the packet is relayed from one hop to the other, while the considered point-to-point configuration should not be affected by this kind of routing issues.
Thanks for your support.