On 17 Mar 2007, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed). com>,
(E-Mail Removed) wrote:
>I use tracepath to probe pmtu to some host:
OK that's a user application.
>mtu on hop #10 is 1492. If I rerun tracepath, starting mtu to the host
>should be 1492, but it is 1500 again:
Ummm, no. 'tracepath' provides data about a path. It has no means to
change the routing setup on the computer, and thus will always start with
what-ever is the default for this computer interface.
You may want to read RFC1191 which is the reference on PMTU, as well as
RFC1435 and RFC2923.
1191 Path MTU discovery. J.C. Mogul, S.E. Deering. November 1990.
(Format: TXT=47936 bytes) (Obsoletes RFC1063) (Status: DRAFT
STANDARD)
1435 IESG Advice from Experience with Path MTU Discovery. S. Knowles.
March 1993. (Format: TXT=2708 bytes) (Status: INFORMATIONAL)
2923 TCP Problems with Path MTU Discovery. K. Lahey. September 2000.
(Format: TXT=30976 bytes) (Status: INFORMATIONAL)
A key is in the Abstract paragraph of 1191, which reads
This memo describes a technique for dynamically discovering the
maximum transmission unit (MTU) of an arbitrary internet path. It
specifies a small change to the way routers generate one type of ICMP
message. For a path that passes through a router that has not been
so changed, this technique might not discover the correct Path MTU,
but it will always choose a Path MTU as accurate as, and in many
cases more accurate than, the Path MTU that would be chosen by
current practice.
First sentence - "dynamically discovering". For most networking setups,
the PMTU is discovered on a connection basis, and is only used while
that specific connection exists (example - fetching a web page, or a
file from a FTP server). The next time you connect to the same host, you
will again run a PMTUD, because the route may have changed.
>So mtu is not saved. Why?
1. PMTU is dynamic, and may change over time.
2. tracepath is a _user_ application, and has no control over the network
setup on your computer. Thus, even if tracepath remembered the PMTU,
this would have no effect on any _other_ application, never mind the
kernel's routing table.
Old guy