{"id":2806,"date":"2011-04-11T01:12:19","date_gmt":"2011-04-11T07:12:19","guid":{"rendered":"http:\/\/gregsowell.com\/?p=2806"},"modified":"2011-04-08T14:18:50","modified_gmt":"2011-04-08T20:18:50","slug":"mikrotik-ip-packing","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=2806","title":{"rendered":"Mikrotik IP Packing"},"content":{"rendered":"<p>Mikrotik has, since at least version 2.8, a protocol built into ROS that will allow you to aggregate packets as well as do come compression.  I had installed version 5 on a test machine and was poking around when I happened across this.<br \/>\n<a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2011\/04\/ipPacking.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2011\/04\/ipPacking.png\" alt=\"\" title=\"ipPacking\" width=\"365\" height=\"346\" class=\"aligncenter size-full wp-image-2807\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2011\/04\/ipPacking.png 365w, https:\/\/gregsowell.com\/wp-content\/uploads\/2011\/04\/ipPacking-300x284.png 300w\" sizes=\"auto, (max-width: 365px) 100vw, 365px\" \/><\/a><\/p>\n<p>From what I understand this may or may not work across all tunnel types, so buyer beware.  This is supposed to work properly with standard ethernet interfaces.<\/p>\n<p>In effect, what you do is specify an aggregate size.  The router will then collect packets until it has enough to fill that aggregate size before it will send.  I assume that it will send after X amount of time if it hasn&#8217;t collected enough packets, though I&#8217;m not sure what that time is.<\/p>\n<p>Packing is what you do to packets as they leave and unpacking is what is done to packets as they arrive.<\/p>\n<p>Packing options:<br \/>\nSimple : Just do packet aggregation<br \/>\nCompress-all : Aggregate packets, compress payload and header<br \/>\nCompress-headers : Aggregate packets, compress header only<br \/>\nNone : Send packets unchanged<\/p>\n<p>As an interesting side note, ip neighbors is used for communication of this protocol and must be enabled on all participating interfaces.  The <a href=\"http:\/\/wiki.mikrotik.com\/wiki\/Manual:IP\/Packing\">wiki article<\/a> also cautions that this will cause latency, which I hope you could have gleaned from the aggregation explination \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mikrotik has, since at least version 2.8, a protocol built into ROS that will allow you to aggregate packets as well as do come\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2806","post","type-post","status-publish","format-standard","hentry","category-mikrotik"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/2806","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2806"}],"version-history":[{"count":7,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/2806\/revisions"}],"predecessor-version":[{"id":2813,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/2806\/revisions\/2813"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}