MTU/MSS - How to test using PING

From Tech-Wiki
Revision as of 09:33, 30 March 2011 by Jebr (Talk | contribs) (Created page with "Category:Wireshark MTU = max transmission unit of a Layer 2 Frame<br /> MSS = max segment size of a Layer 4 protocol<br /> <br /> For TCP/IP:<br /> MSS = MTU-40 (TCP and IP h...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

MTU = max transmission unit of a Layer 2 Frame
MSS = max segment size of a Layer 4 protocol

For TCP/IP:
MSS = MTU-40 (TCP and IP headers are 40 bytes)
ping -f -l X (set do not fragment and set icmp payload to X)

If X = 1388 gets a reponse then
MTU = X + 28 (for ICMP and IP header)
MTU = 1416

MSS = 1416 - 40 = 1376