{"id":1355,"date":"2019-07-27T11:40:33","date_gmt":"2019-07-27T03:40:33","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=1355"},"modified":"2020-08-24T21:53:13","modified_gmt":"2020-08-24T13:53:13","slug":"%e5%9c%a8edgerouter-x%e4%b8%ad%e5%bc%80%e5%a7%8bhardware-offloading%ef%bc%88%e7%a1%ac%e4%bb%b6%e5%8d%b8%e8%bd%bd%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=1355","title":{"rendered":"\u5728ER-X\u4e2d\u542f\u7528Hardware Offloading"},"content":{"rendered":"<h1 style=\"text-align: justify;\">\u4e00\u3001\u4ec0\u4e48\u662fHardware Offloading\uff08\u786c\u4ef6\u5378\u8f7d\uff09<\/h1>\n<p style=\"text-align: justify;\">\u5378\u8f7d\u662f\u76f4\u63a5\u4f7f\u7528\u786c\u4ef6\u800c\u4e0d\u662f\u8f6f\u4ef6\u6765\u6267\u884c\u8def\u7531\u5668\u7684\u529f\u80fd\u3002EdgeOS\u4e2d\u5378\u8f7d\u7684\u597d\u5904\u662f\u4e0d\u4f9d\u8d56\u4e8eCPU\u8fdb\u884c\u8f6c\u53d1\u51b3\u7b56\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u6027\u80fd\u548c\u541e\u5410\u91cf\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728ER-X\u4e2d\uff0c\u6709\u5f88\u591a\u529f\u80fd\u90fd\u53ef\u4ee5\u5229\u7528\u5378\u8f7d\u5f15\u64ce\uff0c\u6700\u5e38\u89c1\u7684\u662fIPv4\u6d41\u91cf\u8f6c\u53d1\u3002\u5982\u679c\u4e0d\u542f\u7528\u5378\u8f7d\uff0cIPv4\u6d41\u91cf\u5c06\u901a\u8fc7CPU\u8def\u7531\uff0c\u5728EdgeRouter-X\u4e0a\u541e\u5410\u91cf\u6700\u591a\u53ea\u80fd\u8fbe\u5230500Mbps\u3002\u542f\u7528\u5378\u8f7d\u540e\uff0c\u541e\u5410\u91cf\u5c06\u8fbe\u5230950Mbps\u5de6\u53f3\uff0c\u57fa\u672c\u8dd1\u6ee1\u5343\u5146\u7f51\u7edc\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728ER-X\u6240\u7528\u7684\u8054\u53d1\u79d1CPU\u5e73\u53f0\u4e0a\uff0cHardware Offloading\u652f\u6301\u4ee5\u4e0b\u529f\u80fd\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/07\/ubnt.com_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1356\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/07\/ubnt.com_.png\" alt=\"\" width=\"473\" height=\"600\" \/><\/a><\/p>\n<h1 style=\"text-align: justify;\">\u4e8c\u3001IPsec offload\u652f\u6301<\/h1>\n<p style=\"text-align: justify;\">IPsec offload\u901a\u8fc7\u5378\u8f7dESP\uff08Encapsulated Security Payload\uff09\u6d41\u91cf\uff0c\u63d0\u5347\u4e86IPsec\u6027\u80fd\uff0c\u63d0\u9ad8\u4e86\u7ad9\u70b9\u5230\u7ad9\u70b9\u548c\u5ba2\u6237\u7aef\u5230\u7ad9\u70b9\u96a7\u9053\u7684\u541e\u5410\u91cf\u3002\u5e76\u975e\u6240\u6709\u53ef\u7528\u7684ESP\u6563\u5217\/\u52a0\u5bc6\u7b97\u6cd5\u90fd\u4e0e\u5378\u8f7d\u517c\u5bb9\u3002IKE\u6d41\u91cf\u4e0d\u80fd\u4f7f\u7528\u5378\u8f7d\uff0c\u53ea\u80fd\u7528\u4e8e\u5efa\u7acb\u96a7\u9053\uff0c\u4f46\u4e0d\u4f1a\u5f71\u54cd\u6027\u80fd\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e0b\u8868\u603b\u7ed3\u4e86ER-X\u5e73\u53f0\u4e0a\uff0coffload\u652f\u6301\u7684\u7b97\u6cd5\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/07\/help.ubnt_.com1_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1357\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/07\/help.ubnt_.com1_.png\" alt=\"\" width=\"462\" height=\"414\" \/><\/a><\/p>\n<h1 style=\"text-align: justify;\">\u4e09\u3001\u5728ER-X\u4e2d\u5f00\u542fHardware Offloading<\/h1>\n<p style=\"text-align: justify;\">\u8bbf\u95eeEdgeRouter\u547d\u4ee4\u884c\u754c\u9762\u3002\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4<\/p>\n<h2 style=\"text-align: justify;\">1\u3001\u542f\u7528hwnat\u548cipsec Offloading<\/h2>\n<p style=\"text-align: justify;\">configure<\/p>\n<p style=\"text-align: justify;\">set system offload hwnat enable<br \/>\nset system offload ipsec enable<\/p>\n<p style=\"text-align: justify;\">commit ; save<\/p>\n<h2 style=\"text-align: justify;\">2.\u7981\u7528 <strong>hwnat<\/strong>\u548cipsec Offloading<\/h2>\n<p style=\"text-align: justify;\">configure<\/p>\n<p style=\"text-align: justify;\">set system offload hwnat disable<br \/>\nset system offload ipsec disable<\/p>\n<p style=\"text-align: justify;\">commit ; save<\/p>\n<h2>3.\u67e5\u770b\u662f\u5426\u5df2\u5f00\u542f\u786c\u4ef6Offloading<\/h2>\n<p>\u5728\u547d\u4ee4\u884c\u8f93\u5165\uff1a<\/p>\n<p>show ubnt offload<\/p>\n<p style=\"text-align: justify;\"><em>\u8bbe\u7f6e\u548c\u7981\u7528Hardware Offloading\u540e\uff0c\u5fc5\u987b\u91cd\u542fER-X\u8bbe\u5907\u624d\u80fd\u751f\u6548\u3002<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u4ec0\u4e48\u662fHardware Offloading\uff08\u786c\u4ef6\u5378\u8f7d\uff09 \u5378\u8f7d\u662f\u76f4\u63a5\u4f7f\u7528\u786c\u4ef6 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=1355\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[155],"class_list":["post-1355","post","type-post","status-publish","format-standard","hentry","category-er-x","tag-er-x"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1355"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1355\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}