{"id":2584,"date":"2018-11-09T02:21:24","date_gmt":"2018-11-09T02:21:24","guid":{"rendered":"http:\/\/www.mtin.net\/blog\/?p=2584"},"modified":"2018-11-09T02:21:24","modified_gmt":"2018-11-09T02:21:24","slug":"tech-tip-determining-mtu-via-macosx-ping-oh-yeah-and-windows","status":"publish","type":"post","link":"http:\/\/www.mtin.net\/blog\/tech-tip-determining-mtu-via-macosx-ping-oh-yeah-and-windows\/","title":{"rendered":"Tech Tip: Determining MTU via MacOSX Ping oh yeah and Windows"},"content":{"rendered":"<p>The command:<br \/>\nping -D -s\u00a01472<\/p>\n<p>What the command does<br \/>\nping = Obvious<br \/>\n-D = Don&#8217;t fragment<br \/>\n-s &lt;value&gt; = the ping size.<\/p>\n<p>Why did I start with 1472? That is the total packet size plus 28 bytes, which equals a 1500 byte packet.<\/p>\n<p>Example Output:<\/p>\n<pre><span class=\"s1\">Justins-MacBook-Pro:~ j2sw$ ping -D -s 1472 4.2.2.2\r\n<\/span><span class=\"s1\">PING 4.2.2.2 (4.2.2.2): 1472 data bytes\r\n<\/span><span class=\"s1\">1480 bytes from 4.2.2.2: icmp_seq=0 ttl=57 time=426.164 ms\r\n<\/span><span class=\"s1\">1480 bytes from 4.2.2.2: icmp_seq=1 ttl=57 time=110.762 ms<\/span>\r\n\r\n<span class=\"s1\">--- 4.2.2.2 ping statistics ---\r\n<\/span>2 packets transmitted, 2 packets received, 0.0% packet loss\r\n<span class=\"s1\">round-trip min\/avg\/max\/stddev = 110.762\/268.463\/426.164\/157.701 ms<\/span>\r\n\r\n<span class=\"s1\">Justins-MacBook-Pro:~ j2sw$ ping -D -s 1473 4.2.2.2<\/span>\r\n\r\n<span class=\"s1\">PING 4.2.2.2 (4.2.2.2): 1473 data bytes\r\n<\/span><span class=\"s1\">ping: sendto: Message too long\r\n<\/span>ping: sendto: Message too long\r\n<span class=\"s1\">Request timeout for icmp_seq 0<\/span><\/pre>\n<p>If you want to learn how to do this on windows:<br \/>\n<a href=\"https:\/\/kb.netgear.com\/19863\/Ping-Test-to-determine-Optimal-MTU-Size-on-Router\">https:\/\/kb.netgear.com\/19863\/Ping-Test-to-determine-Optimal-MTU-Size-on-Router<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The command: ping -D -s\u00a01472 What the command does ping = Obvious -D = Don&#8217;t fragment -s &lt;value&gt; = the ping size. Why did I start with 1472? That is the total packet size plus 28 bytes, which equals a 1500 byte packet. Example Output: Justins-MacBook-Pro:~ j2sw$ ping -D -s 1472 4.2.2.2 PING 4.2.2.2 (4.2.2.2): [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1501,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[17],"tags":[411,648,50,650,649],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2017\/01\/ethernet.jpeg?fit=1800%2C1162","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6VLMf-FG","jetpack-related-posts":[{"id":76,"url":"http:\/\/www.mtin.net\/blog\/mikrotik-6-16-and-6-17-released\/","url_meta":{"origin":2584,"position":0},"title":"Mikrotik 6.16 and 6.17 Released","author":"j2sw","date":"July 20, 2014","format":false,"excerpt":"From the ChangeLogs What's new in 6.17 (2014-Jul-18 15:14): *) CCR1009 - fixed crash, only affects CCR1009; What's new in 6.16 (2014-Jul-17 13:12): *) 802.11ac support added in wireless-fp package for QCA9880\/9882 rev2 (-BR4A) chips; *) ip cloud now allows to set which IP to use - detected (public) or\u2026","rel":"","context":"In &quot;Mikrotik&quot;","block_context":{"text":"Mikrotik","link":"http:\/\/www.mtin.net\/blog\/category\/mikrotik\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1499,"url":"http:\/\/www.mtin.net\/blog\/ethernet-mtu-and-overhead\/","url_meta":{"origin":2584,"position":1},"title":"ethernet MTU and overhead","author":"j2sw","date":"January 8, 2017","format":false,"excerpt":"One of the most common questions is how much overhead do I need to account for on my transport network? I have put together a quick list to help when you are calculating your overhead. -GRE (IP Protocol 47) (RFC 2784): 24 bytes (20 byte IPv4 header, 4 byte GRE\u2026","rel":"","context":"In &quot;Networking&quot;","block_context":{"text":"Networking","link":"http:\/\/www.mtin.net\/blog\/category\/networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2017\/01\/ethernet.jpeg?fit=1200%2C775&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2017\/01\/ethernet.jpeg?fit=1200%2C775&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2017\/01\/ethernet.jpeg?fit=1200%2C775&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2017\/01\/ethernet.jpeg?fit=1200%2C775&resize=1050%2C600 3x"},"classes":[]},{"id":2990,"url":"http:\/\/www.mtin.net\/blog\/ptp-550-epmp300-and-epmp-4-3-1-known-issues\/","url_meta":{"origin":2584,"position":2},"title":"PTP 550, EPMP300 and ePMP 4.3.1 known issues","author":"j2sw","date":"March 15, 2019","format":false,"excerpt":"Known issues which may be relevant to you with the ePMP-AC-V4.3.1 released on 11 Mar 2019 ACG-5026 [PTP550] Low percentage of packet loss is seen when traffic is running through SFP interface ACG-5310 [Force 300] PPPoE DL throughput degradation is detected on Force 300 SMs ACG-5320 [ePMP 3000] ePMP 3000\u2026","rel":"","context":"In &quot;Cambium&quot;","block_context":{"text":"Cambium","link":"http:\/\/www.mtin.net\/blog\/category\/cambium\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2017\/08\/ePMP2000_Sector_Beam_angled_left45_tilt_400x300.jpg?fit=460%2C345&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":305,"url":"http:\/\/www.mtin.net\/blog\/mirkotik-router-os-6-29-released\/","url_meta":{"origin":2584,"position":3},"title":"Mikrotik Router OS 6.29 released","author":"j2sw","date":"May 28, 2015","format":false,"excerpt":"The fastTrack improvements are a big improvement for those of you doing such things. What's new in 6.29 (2015-May-27 11:19): *) ssh server - use custom generated DH primes when possible; *) ipsec - allow to specify custom IP address for my_id parameter; *) ovpn server - use subnet topology\u2026","rel":"","context":"In \"crs\"","block_context":{"text":"crs","link":"http:\/\/www.mtin.net\/blog\/tag\/crs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":60,"url":"http:\/\/www.mtin.net\/blog\/router-os-6-14-released\/","url_meta":{"origin":2584,"position":4},"title":"Router OS 6.14 Released","author":"j2sw","date":"June 9, 2014","format":false,"excerpt":"We have made some interesting new features, including the new \"ip cloud\" menu, and general release of CAPsMAN: What's new in 6.14 (2014-Jun-06 15:34): Quote: *) sntp - 'mode' now is a read-only property, it is set to broadcast if no server ip address is specified; *) smb - fixed\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2744,"url":"http:\/\/www.mtin.net\/blog\/looking-for-an-affordable-100-gig-switch\/","url_meta":{"origin":2584,"position":5},"title":"Looking for an affordable 100 GIG switch?","author":"j2sw","date":"January 23, 2019","format":false,"excerpt":"https:\/\/www.fs.com\/products\/75877.html With an $11,000 price tag and Cumulus Linux this could be a switch to look at for folks needing 25 and 100 gig ports. Ports 32*100Gb Operating System Cumulus\u00ae Linux\u00ae OS Max. 100Gb Ports 32 CPU Intel Rangeley C2538 2.4Ghz 4-core Max. 25Gb Ports 128 Switching Chip Tomahawk BCM56960\u2026","rel":"","context":"In &quot;Data Center&quot;","block_context":{"text":"Data Center","link":"http:\/\/www.mtin.net\/blog\/category\/data-center\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2019\/01\/fs-switch.png?fit=497%2C228&resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/posts\/2584"}],"collection":[{"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/comments?post=2584"}],"version-history":[{"count":2,"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/posts\/2584\/revisions"}],"predecessor-version":[{"id":2586,"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/posts\/2584\/revisions\/2586"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/media\/1501"}],"wp:attachment":[{"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/media?parent=2584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/categories?post=2584"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/tags?post=2584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}