{"id":661,"date":"2026-03-08T16:47:28","date_gmt":"2026-03-08T08:47:28","guid":{"rendered":"https:\/\/www.loongdi.net\/blog\/?p=661"},"modified":"2026-03-08T16:47:28","modified_gmt":"2026-03-08T08:47:28","slug":"%e6%8e%a2%e7%a9%b6bond0%ef%bc%9a%e7%bd%91%e7%bb%9c%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1%e4%b8%8e%e9%ab%98%e5%8f%af%e7%94%a8%e6%80%a7","status":"publish","type":"post","link":"https:\/\/www.loongdi.net\/blog\/661.html","title":{"rendered":"\u63a2\u7a76Bond0\uff1a\u7f51\u7edc\u8d1f\u8f7d\u5747\u8861\u4e0e\u9ad8\u53ef\u7528\u6027"},"content":{"rendered":"<p>\n<h3>Bond0 \u662f\u4ec0\u4e48\uff1f<\/h3>\n<\/p>\n<p>Bond0 \u662f\u4e00\u4e2a\u7528\u4e8e Linux \u7cfb\u7edf\u7684\u7f51\u7edc\u865a\u62df\u8bbe\u5907\uff0c\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2a\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u7ed1\u5b9a\u5728\u4e00\u8d77\uff0c\u5f62\u6210\u4e00\u4e2a\u903b\u8f91\u4e0a\u7684\u7f51\u7edc\u63a5\u53e3\u3002\u8fd9\u6837\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7 Bond0 \u6765\u5b9e\u73b0\u7f51\u7edc\u8d1f\u8f7d\u5747\u8861\u3001\u6545\u969c\u8f6c\u79fb\u548c\u9ad8\u53ef\u7528\u6027\u7b49\u529f\u80fd\u3002<\/p>\n<p>\n<h3>Bond0 \u5305\u542b\u591a\u5c11\u4e2a\u7269\u7406\u63a5\u53e3\uff1f<\/h3>\n<\/p>\n<p>Bond0 \u53ef\u4ee5\u5305\u542b\u4efb\u610f\u6570\u91cf\u7684\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u3002\u8fd9\u4e9b\u63a5\u53e3\u53ef\u4ee5\u662f\u4ee5\u592a\u7f51\u63a5\u53e3\u3001Wi-Fi \u63a5\u53e3\u7b49\uff0c\u53ea\u8981\u5b83\u4eec\u652f\u6301 Linux \u7f51\u7edc\u9a71\u52a8\u3002<\/p>\n<p>\n<h3>\u5982\u4f55\u914d\u7f6e Bond0\uff1f<\/h3>\n<\/p>\n<p>\u914d\u7f6e Bond0 \u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/www.loongdi.net\/blog\/wp-content\/uploads\/2026\/03\/VH8I728z.jpg\" alt=\"\u63a2\u7a76Bond0\uff1a\u7f51\u7edc\u8d1f\u8f7d\u5747\u8861\u4e0e\u9ad8\u53ef\u7528\u6027\" title=\"\u63a2\u7a76Bond0\uff1a\u7f51\u7edc\u8d1f\u8f7d\u5747\u8861\u4e0e\u9ad8\u53ef\u7528\u6027\"><\/p>\n<p>1. \u521b\u5efa Bond0 \u63a5\u53e3\uff1a\u4f7f\u7528 `ip link add name bond0 type bond` \u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a bond0 \u7684 Bond \u63a5\u53e3\u3002<\/p>\n<p>2. \u5c06\u7269\u7406\u63a5\u53e3\u6dfb\u52a0\u5230 Bond0\uff1a\u4f7f\u7528 `ip link set eth0 master bond0` \u547d\u4ee4\u5c06\u7269\u7406\u63a5\u53e3 eth0 \u6dfb\u52a0\u5230 Bond0 \u63a5\u53e3\u3002<\/p>\n<p>3. \u8bbe\u7f6e Bond0 \u7684\u6a21\u5f0f\uff1a\u4f7f\u7528 `ethtool -s bond0 mode [mode]` \u547d\u4ee4\u8bbe\u7f6e Bond0 \u7684\u6a21\u5f0f\uff0c\u5982 mode=0\uff08balance-rr\uff09\u3001mode=1\uff08active-backup\uff09\u7b49\u3002<\/p>\n<p>4. \u542f\u7528 Bond0 \u63a5\u53e3\uff1a\u4f7f\u7528 `ip link set bond0 up` \u547d\u4ee4\u542f\u7528 Bond0 \u63a5\u53e3\u3002<\/p>\n<p>\n<h3>\u63a8\u8350\u4f7f\u7528 Bond0 \u7684\u573a\u666f\uff1f<\/h3>\n<\/p>\n<p>1. \u9ad8\u53ef\u7528\u6027\uff1a\u901a\u8fc7 Bond0 \u5b9e\u73b0\u591a\u4e2a\u7f51\u7edc\u63a5\u53e3\u7684\u5197\u4f59\uff0c\u5f53\u5176\u4e2d\u4e00\u4e2a\u63a5\u53e3\u51fa\u73b0\u6545\u969c\u65f6\uff0c\u5176\u4ed6\u63a5\u53e3\u53ef\u4ee5\u63a5\u7ba1\u6d41\u91cf\uff0c\u786e\u4fdd\u670d\u52a1\u7684\u8fde\u7eed\u6027\u3002<\/p>\n<p>2. \u7f51\u7edc\u8d1f\u8f7d\u5747\u8861\uff1aBond0 \u53ef\u4ee5\u5c06\u6d41\u91cf\u5747\u5300\u5206\u914d\u5230\u591a\u4e2a\u7269\u7406\u63a5\u53e3\uff0c\u63d0\u9ad8\u7f51\u7edc\u5e26\u5bbd\u548c\u6027\u80fd\u3002<\/p>\n<p>3. \u707e\u96be\u6062\u590d\uff1a\u5728\u6570\u636e\u4e2d\u5fc3\u6216\u4e91\u73af\u5883\u4e2d\uff0c\u4f7f\u7528 Bond0 \u53ef\u4ee5\u5b9e\u73b0\u7f51\u7edc\u7684\u5feb\u901f\u5207\u6362\u548c\u6062\u590d\u3002<\/p>\n<p>\n<h3>\u4e3a\u4ec0\u4e48\u9009\u62e9 Bond0\uff1f<\/h3>\n<\/p>\n<p>\u9009\u62e9 Bond0 \u7684\u539f\u56e0\u6709\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<p>1. \u517c\u5bb9\u6027\u5f3a\uff1aBond0 \u652f\u6301 Linux \u7cfb\u7edf\u4e0a\u7684\u5404\u79cd\u7f51\u7edc\u63a5\u53e3\uff0c\u5305\u62ec\u4ee5\u592a\u7f51\u3001Wi-Fi \u7b49\u3002<\/p>\n<p>2. \u529f\u80fd\u4e30\u5bcc\uff1aBond0 \u63d0\u4f9b\u591a\u79cd\u6a21\u5f0f\uff0c\u5982\u8d1f\u8f7d\u5747\u8861\u3001\u6545\u969c\u8f6c\u79fb\u7b49\uff0c\u6ee1\u8db3\u4e0d\u540c\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n<p>3. \u8f7b\u91cf\u7ea7\uff1aBond0 \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u7f51\u7edc\u865a\u62df\u8bbe\u5907\uff0c\u5bf9\u7cfb\u7edf\u8d44\u6e90\u5360\u7528\u8f83\u5c0f\u3002<\/p>\n<p>\n<h3><b>\u95ee\u9898 1\uff1aBond0 \u7684\u4e3b\u8981\u7528\u9014\u662f\u4ec0\u4e48\uff1f<\/b><\/h3>\n<\/p>\n<p>Bond0 \u7684\u4e3b\u8981\u7528\u9014\u662f\u5b9e\u73b0\u7f51\u7edc\u8d1f\u8f7d\u5747\u8861\u3001\u6545\u969c\u8f6c\u79fb\u548c\u9ad8\u53ef\u7528\u6027\u3002<\/p>\n<p>\n<h3><b>\u95ee\u9898 2\uff1a\u5982\u4f55\u8bbe\u7f6e Bond0 \u7684\u8d1f\u8f7d\u5747\u8861\u6a21\u5f0f\uff1f<\/b><\/h3>\n<\/p>\n<p>\u8bbe\u7f6e Bond0 \u7684\u8d1f\u8f7d\u5747\u8861\u6a21\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528 `ethtool -s bond0 mode balance-rr` \u547d\u4ee4\u3002<\/p>\n<p>\n<h3><b>\u95ee\u9898 3\uff1aBond0 \u652f\u6301\u54ea\u4e9b\u6a21\u5f0f\uff1f<\/b><\/h3>\n<\/p>\n<p>Bond0 \u652f\u6301\u591a\u79cd\u6a21\u5f0f\uff0c\u5982 balance-rr\uff08\u8d1f\u8f7d\u5747\u8861\uff0c\u5faa\u73af\u5206\u914d\uff09\u3001active-backup\uff08\u4e3b\u5907\u6a21\u5f0f\uff09\u7b49\u3002\u5177\u4f53\u652f\u6301\u54ea\u4e9b\u6a21\u5f0f\uff0c\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b ethtool \u7684\u5e2e\u52a9\u6587\u6863\u6765\u4e86\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bond0 \u662f\u4ec0\u4e48\uff1f Bond0 \u662f\u4e00\u4e2a\u7528\u4e8e Linux \u7cfb\u7edf\u7684\u7f51\u7edc\u865a\u62df\u8bbe\u5907\uff0c\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2a\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u7ed1\u5b9a\u5728\u4e00\u8d77\uff0c\u5f62\u6210\u4e00\u4e2a\u903b\u8f91\u4e0a\u7684\u7f51\u7edc\u63a5\u53e3\u3002\u8fd9\u6837\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7 Bond0 \u6765\u5b9e\u73b0\u7f51\u7edc\u8d1f\u8f7d\u5747\u8861\u3001\u6545\u969c\u8f6c\u79fb\u548c\u9ad8\u53ef\u7528\u6027\u7b49\u529f\u80fd\u3002 Bond0 \u5305\u542b\u591a\u5c11&#8230;<\/p>\n","protected":false},"author":1,"featured_media":113,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-661","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-yun"],"_links":{"self":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts\/661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/comments?post=661"}],"version-history":[{"count":1,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts\/661\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts\/661\/revisions\/662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/media\/113"}],"wp:attachment":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/media?parent=661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/categories?post=661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/tags?post=661"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/topic?post=661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}