{"id":4718,"date":"2018-04-28T17:05:29","date_gmt":"2018-04-28T11:35:29","guid":{"rendered":"https:\/\/ipwithease.com\/?p=4718"},"modified":"2025-04-01T22:49:42","modified_gmt":"2025-04-01T17:19:42","slug":"path-mtu-discovery","status":"publish","type":"post","link":"https:\/\/ipwithease.com\/path-mtu-discovery\/","title":{"rendered":"Path MTU Discovery"},"content":{"rendered":"<div id=\"ipwit-3532295682\" class=\"ipwit-before-content ipwit-entity-placement\" style=\"width: 728px;\"><div class=\"ipwit-adlabel\">Google ADs<\/div><div style=\"height: 90px;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1375203873676133\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:728px;height:90px;\" \ndata-ad-client=\"ca-pub-1375203873676133\" \ndata-ad-slot=\"9359532231\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><\/div><p><strong>Path MTU Discovery<\/strong> is a mechanism which was developed to avoid the IP packets fragmentation on the network links where the smaller <strong>MTU<\/strong>s exist. Whenever a network device needs to forward a packet it will reference the outgoing interface MTU value and if this value happens to be smaller than the packet size that needs to be transmitted then fragmentation occurs on that router and packet will be broken down in to two or more fragments of smaller size and will be delivered to the destination where the reassembly of these fragments takes place.<\/p>\n<p>The <strong>fragmentation<\/strong> adds up to the CPU consumption on the router and also increases the bandwidth utilization of the links as new headers are generated and added on top of each fragment.<\/p>\n<p>To get the packet delivered to the destination in most efficient manner one must determine the lowest path MTU from the source to the destination. But the source needs to have some mechanism to determine the lowest possible MTU value in path towards the destination. Path MTU discovery allows to determine the lowest possible MTU value in the path from source to destination.<\/p><div id=\"ipwit-1726618739\" class=\"ipwit-content ipwit-entity-placement\"><div class=\"ipwit-adlabel\">Google ADs<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1375203873676133\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-1375203873676133\" \ndata-ad-slot=\"2483378328\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><br style=\"clear: both; display: block; float: none;\"\/>\n<p><strong>PathMTU Discovery<\/strong> makes use of the DF(Don\u2019t Fragment) bit in IP header and a subcode of the ICMP\u00a0Destination Unreachable\u00a0message,\u00a0Fragmentation Needed. So when a packet is sent from source towards the destination the DF bit is set in the IP header. Along the path when lower MTU value is encountered on a link the packet won\u2019t be fragmented as DF bit is set, instead an ICMP message (Destination Unreachable\u00a0message,\u00a0Fragmentation Needed) is relayed towards the source indicating that lower MTU value is hit along the path.<\/p>\n<p>Earlier the fragmentation needed message doesn\u2019t include the MTU value but <strong>RFC 1191<\/strong> expands the Fragmentation Needed message to include the MTU of the link necessitating fragmentation so that source gets to know the lowest MTU value along the path.<\/p>\n<h2 style=\"text-align: center;\"><strong>Example Diagram<\/strong><\/h2>\n<p id=\"fvYDTve\"><img decoding=\"async\" width=\"1197\" height=\"591\" class=\"alignnone size-full wp-image-4725 \" src=\"https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704.png\" alt=\"\" title=\"\" srcset=\"https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704.png 1197w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704-300x148.png 300w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704-600x296.png 600w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704-150x74.png 150w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704-400x197.png 400w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704-768x379.png 768w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae4a96721704-1024x506.png 1024w\" sizes=\"(max-width: 1197px) 100vw, 1197px\" \/><\/p>\n<h2 style=\"text-align: center;\"><strong>ICMP Message Sample<\/strong><\/h2>\n<p id=\"aqWfVZo\"><img decoding=\"async\" class=\" wp-image-4720 aligncenter\" src=\"https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae46732972de.png\" alt=\"\" width=\"582\" height=\"152\" title=\"\" srcset=\"https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae46732972de.png 467w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae46732972de-300x78.png 300w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae46732972de-150x39.png 150w, https:\/\/ipwithease.com\/wp-content\/uploads\/2018\/04\/img_5ae46732972de-400x104.png 400w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/p>\n<h3>ABOUT THE AUTHOR<\/h3><div id=\"ipwit-112473274\" class=\"ipwit-post-end-ad ipwit-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1375203873676133\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-1375203873676133\" \ndata-ad-slot=\"2483378328\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><br style=\"clear: both; display: block; float: none;\"\/>","protected":false},"excerpt":{"rendered":"<p>Path MTU Discovery is a mechanism which was developed to avoid the IP packets fragmentation on the network links where [&hellip;]<\/p>\n","protected":false},"author":782,"featured_media":4725,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[177],"tags":[27],"class_list":["post-4718","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-routing-switching","tag-ip-packet"],"_links":{"self":[{"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/posts\/4718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/users\/782"}],"replies":[{"embeddable":true,"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/comments?post=4718"}],"version-history":[{"count":0,"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/posts\/4718\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/media\/4725"}],"wp:attachment":[{"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/media?parent=4718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/categories?post=4718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ipwithease.com\/wp-json\/wp\/v2\/tags?post=4718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}