{"id":21024,"date":"2025-04-19T04:06:56","date_gmt":"2025-04-18T20:06:56","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/21024.html"},"modified":"2025-04-19T04:06:56","modified_gmt":"2025-04-18T20:06:56","slug":"%e4%bf%a1%e5%88%9b%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%bd%91%e7%bb%9c%e6%9b%b4%e7%a8%b3%e4%ba%86%ef%bc%81%e9%93%be%e8%b7%af%e8%81%9a%e5%90%88bonding%e5%ae%9e%e6%88%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/21024.html","title":{"rendered":"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218"},"content":{"rendered":"<p>\u539f\u6587\u94fe\u63a5&#xff1a;\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86&#xff01;\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218<\/p>\n<p>Hello&#xff0c;\u5927\u5bb6\u597d\u554a&#xff01;\u4eca\u5929\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u7bc7\u4fe1\u521b\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u94fe\u8def\u805a\u5408&#xff08;Bonding&#xff09;\u914d\u7f6e\u5b9e\u6218\u7684\u6587\u7ae0\u3002\u94fe\u8def\u805a\u5408\u53ef\u4ee5\u8ba9\u4e24\u5757\u7f51\u5361\u534f\u540c\u5de5\u4f5c&#xff0c;\u63d0\u9ad8\u670d\u52a1\u5668\u7f51\u7edc\u53ef\u9760\u6027\u548c\u5e26\u5bbd\u5229\u7528\u7387&#xff0c;\u662f\u4f01\u4e1a\u7ea7\u90e8\u7f72\u548c\u5173\u952e\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u7f51\u7edc\u914d\u7f6e\u6280\u80fd\u3002\u672c\u6587\u5c06\u624b\u628a\u624b\u6559\u4f60&#xff0c;\u5728\u4fe1\u521b\u670d\u52a1\u5668\u7cfb\u7edf\u4e2d\u901a\u8fc7NetworkManager\u548cnmcli\u547d\u4ee4\u914d\u7f6e\u53cc\u7f51\u5361Active-Backup\u6a21\u5f0f\u7684\u94fe\u8def\u805a\u5408&#xff0c;\u5373\u4fbf\u662f\u7f51\u7edc\u6545\u969c\u4e5f\u80fd\u4fdd\u969c\u901a\u4fe1\u4e0d\u4e2d\u65ad&#xff01;\u6b22\u8fce\u5927\u5bb6\u5206\u4eab\u70b9\u8d5e&#xff0c;\u70b9\u4e2a\u5728\u770b\u548c\u5173\u6ce8\u5427&#xff01;<\/p>\n<\/p>\n<p>\u4ec0\u4e48\u662f\u94fe\u8def\u805a\u5408&#xff08;Bonding&#xff09;&#xff1f;<\/p>\n<p>\u94fe\u8def\u805a\u5408&#xff08;Bonding&#xff09;\u662f\u4e00\u79cd\u628a\u591a\u5757\u7f51\u5361\u865a\u62df\u6210\u4e00\u5757\u7f51\u5361\u4f7f\u7528\u7684\u6280\u672f\u3002<\/p>\n<p>\u672c\u6b21\u914d\u7f6e\u91c7\u7528\u7684\u662f&#xff1a;\u6a21\u5f0f&#xff1a;active-backup&#xff08;\u4e3b\u5907\u6a21\u5f0f&#xff09;<\/p>\n<p>\u4e00\u5757\u7f51\u5361\u5de5\u4f5c&#xff0c;\u53e6\u4e00\u5757\u5904\u4e8e\u5907\u4efd\u72b6\u6001&#xff1b;<\/p>\n<p>\u4e3b\u7528\u7f51\u5361\u6545\u969c\u65f6&#xff0c;\u5907\u4efd\u7f51\u5361\u63a5\u7ba1&#xff0c;\u7f51\u7edc\u4e0d\u4e2d\u65ad&#xff1b;<\/p>\n<p>\u4fdd\u8bc1\u7cfb\u7edf\u7f51\u7edc\u7684\u9ad8\u53ef\u7528\u6027&#xff0c;\u964d\u4f4e\u5355\u70b9\u6545\u969c\u98ce\u9669\u3002<\/p>\n<\/p>\n<p>1.\u67e5\u770b\u7cfb\u7edf\u4fe1\u606f<\/p>\n<p>[pdsyw&#064;pdsyw1024 \u684c\u9762]$ cat \/etc\/os-release<br \/>\n\u200b<br \/>\n[pdsyw&#064;pdsyw1024 \u684c\u9762]$ uname -a <\/p>\n<p>cat \/etc\/os-release&#xff1a;\u67e5\u770b\u7cfb\u7edf\u53d1\u884c\u7248\u4fe1\u606f&#xff0c;\u5305\u62ec\u7248\u672c\u53f7\u3001ID \u7b49\u3002<\/p>\n<p>uname -a&#xff1a;\u663e\u793a\u5185\u6838\u7248\u672c\u3001\u786c\u4ef6\u67b6\u6784\u3001\u4e3b\u673a\u540d\u7b49\u6574\u4f53\u7cfb\u7edf\u4fe1\u606f\u3002<\/p>\n<p>\u8fd9\u4e00\u6b65\u4e3b\u8981\u662f\u786e\u8ba4\u5f53\u524d\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u548c\u5185\u6838\u7248\u672c&#xff0c;\u4ee5\u4fbf\u540e\u7eed\u5224\u65ad\u6240\u9700\u7684\u8f6f\u4ef6\u5305\u6216\u914d\u7f6e\u7b56\u7565\u662f\u5426\u517c\u5bb9\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200651-6802b0dbd43fa.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>2.\u67e5\u770b\u7f51\u5361\u4fe1\u606f<\/p>\n<p>[root&#064;pdsyw1024 ~]# ip a <\/p>\n<p>ip a&#xff1a;\u663e\u793a\u7cfb\u7edf\u4e2d\u6240\u6709\u7f51\u7edc\u63a5\u53e3&#xff08;\u5305\u62ec\u7269\u7406\u7f51\u5361\u3001\u865a\u62df\u7f51\u5361\u3001\u56de\u73af\u63a5\u53e3\u7b49&#xff09;\u7684 IP \u914d\u7f6e\u3001MAC \u5730\u5740\u3001\u72b6\u6001&#xff08;UP\/DOWN&#xff09;\u7b49\u3002\u901a\u8fc7\u8fd9\u4e00\u6b65&#xff0c;\u53ef\u4ee5\u4e86\u89e3\u5230\u7f51\u5361\u7684\u540d\u79f0&#xff08;\u5982 ens160, ens192&#xff09;&#xff0c;\u786e\u8ba4\u5b83\u4eec\u662f\u5426\u5df2\u7ecf\u6709 IP\u7b49&#xff0c;\u4e3a\u540e\u7eed Bond \u914d\u7f6e\u505a\u51c6\u5907\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200652-6802b0dc098fc.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>3.\u5b89\u88c5NetworkManager<\/p>\n<p>[root&#064;pdsyw1024 ~]# dnf install NetworkManager <\/p>\n<p>dnf install NetworkManager&#xff1a;\u5982\u679c\u7cfb\u7edf\u4e2d\u5c1a\u672a\u5b89\u88c5\u6216\u7f3a\u5931\u6b64\u5305&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u6b64\u547d\u4ee4\u5b89\u88c5 NetworkManager\u3002\u4e00\u822c\u9ed8\u8ba4\u90fd\u4f1a\u5b89\u88c5 NetworkManager\u3002\u4f46\u5982\u679c\u662f\u6781\u7b80\u955c\u50cf&#xff0c;\u53ef\u80fd\u9700\u8981\u624b\u52a8\u5b89\u88c5\u3002NetworkManager \u63d0\u4f9b\u4e86 nmcli \u547d\u4ee4&#xff0c;\u4f7f\u6211\u4eec\u80fd\u591f\u7528\u66f4\u73b0\u4ee3\u3001\u7075\u6d3b\u7684\u65b9\u5f0f\u7ba1\u7406\u7f51\u7edc\u8fde\u63a5\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200652-6802b0dc33664.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>4.\u786e\u8ba4\u5185\u6838\u6a21\u5757<\/p>\n<p>[root&#064;pdsyw1024 ~]# lsmod | grep bonding<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# modprobe bonding<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# lsmod | grep bonding <\/p>\n<p>lsmod | grep bonding&#xff1a;\u67e5\u770b\u7cfb\u7edf\u662f\u5426\u5df2\u7ecf\u52a0\u8f7d\u4e86 bonding \u6a21\u5757\u3002<\/p>\n<p>modprobe bonding&#xff1a;\u5982\u679c\u672a\u52a0\u8f7d&#xff0c;\u5c31\u901a\u8fc7 modprobe \u624b\u52a8\u52a0\u8f7d&#xff1b;\u52a0\u8f7d\u540e\u518d lsmod | grep bonding \u770b\u770b\u662f\u4e0d\u662f\u5df2\u7ecf\u8fdb\u5165\u5185\u6838\u6a21\u5757\u5217\u8868\u3002<\/p>\n<p>bonding \u662f\u5b9e\u73b0\u94fe\u8def\u805a\u5408&#xff08;Bond&#xff09;\u7684\u5173\u952e\u5185\u6838\u6a21\u5757&#xff0c;\u6ca1\u6709\u5b83\u5c31\u65e0\u6cd5\u8fdb\u884c Bond \u914d\u7f6e\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200652-6802b0dc5c767.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>5.\u521b\u5efaBond\u4e3b\u8fde\u63a5<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection add \\\\<br \/>\n\u200b<br \/>\n\\\\&gt; type bond \\\\<br \/>\n\u200b<br \/>\n&gt; ifname bond0 \\\\<br \/>\n\u200b<br \/>\n&gt; con-name bond0 \\\\<br \/>\n\u200b<br \/>\n&gt; ip4 192.168.80.10\/24 \\\\<br \/>\n\u200b<br \/>\n&gt; gw4 192.168.80.254 \\\\<br \/>\n\u200b<br \/>\n&gt; ipv4.dns 223.5.5.5 \\\\<br \/>\n\u200b<br \/>\n&gt; bond.options &#034;mode&#061;active-backup,miimon&#061;100&#034;<br \/>\n\u8fde\u63a5 &#034;bond0&#034; (e73fd75d-4f12-4248-b5dc-d1da699de634) \u5df2\u6210\u529f\u6dfb\u52a0\u3002 <\/p>\n<\/p>\n<p>type bond&#xff1a;\u544a\u8bc9 NetworkManager \u521b\u5efa\u7684\u662f\u4e00\u4e2a Bond \u7c7b\u578b\u8fde\u63a5\u3002<\/p>\n<p>ifname bond0 con-name bond0&#xff1a;\u5c06\u8be5\u8fde\u63a5\u7684\u63a5\u53e3\u540d\u548c\u8fde\u63a5\u540d\u90fd\u6307\u5b9a\u4e3a bond0\u3002<\/p>\n<p>ip4 192.168.80.10\/24&#xff1a;\u7ed9 bond0 \u5206\u914d\u9759\u6001 IP \u5730\u5740 192.168.80.10&#xff0c;\u63a9\u7801\u662f \/24 (255.255.255.0)\u3002<\/p>\n<p>gw4 192.168.80.254&#xff1a;\u8bbe\u7f6e\u7f51\u5173\u4e3a 192.168.80.254\u3002<\/p>\n<p>ipv4.dns 223.5.5.5&#xff1a;\u8bbe\u7f6e DNS \u4e3a 223.5.5.5\u3002<\/p>\n<p>bond.options &#034;mode&#061;active-backup,miimon&#061;100&#034;&#xff1a;<\/p>\n<p>mode&#061;active-backup \u6307\u5b9a\u4e86\u4e3b\u5907\u6a21\u5f0f&#xff08;\u53ea\u7528\u4e00\u4e2a\u7f51\u5361\u505a\u6d41\u91cf&#xff0c;\u53e6\u4e00\u6761\u7f51\u5361\u4ec5\u5728\u6545\u969c\u65f6\u9876\u4e0a&#xff09;\u3002<\/p>\n<p>miimon&#061;100 \u8868\u793a\u6bcf 100 ms \u68c0\u6d4b\u4e00\u6b21\u94fe\u8def\u72b6\u6001\u3002<\/p>\n<p>\u8fd9\u6837\u5c31\u521b\u5efa\u4e86\u4e00\u4e2a \u201cBond \u4e3b\u63a5\u53e3\u201d&#xff0c;\u5b83\u5728\u7cfb\u7edf\u91cc\u4f1a\u6210\u4e3a\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u7f51\u5361 bond0&#xff0c;\u5e76\u4e14\u62e5\u6709 IP\u3001\u7f51\u5173\u548c DNS \u8bbe\u7f6e\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200652-6802b0dc85990.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>6.\u521b\u5efa\u5e76\u914d\u7f6e\u4ece\u5c5e&#xff08;Slave1&#xff09;\u8fde\u63a5<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection add \\\\<br \/>\n\u200b<br \/>\n&gt; type ethernet \\\\<br \/>\n\u200b<br \/>\n&gt; con-name ens160-slave \\\\<br \/>\n\u200b<br \/>\n&gt; ifname ens160 \\\\<br \/>\n\u200b<br \/>\n&gt; master bond0<br \/>\n\u200b<br \/>\n\u8fde\u63a5 &#034;ens160-slave&#034; (57037856-3d79-4895-a733-c16179b8969a) \u5df2\u6210\u529f\u6dfb\u52a0\u3002 <\/p>\n<p>type ethernet&#xff1a;\u4ece\u5c5e\u7f51\u5361\u662f\u7269\u7406\u4ee5\u592a\u7f51\u7c7b\u578b\u3002<\/p>\n<p>con-name ens160-slave&#xff1a;\u7ed9\u8fde\u63a5\u4e00\u4e2a\u81ea\u5b9a\u4e49\u540d\u79f0&#xff08;\u4fbf\u4e8e\u533a\u5206\u8fd9\u662f\u7ed9 ens160 \u7f51\u5361\u7528\u7684&#xff0c;\u4ece\u5c5e\u5230 bond0&#xff09;\u3002<\/p>\n<p>ifname ens160&#xff1a;\u8868\u793a\u8fd9\u662f\u9488\u5bf9\u7269\u7406\u7f51\u5361 ens160 \u7684\u914d\u7f6e\u3002<\/p>\n<p>master bond0&#xff1a;\u5c06 ens160 \u7ed1\u5b9a\u5230 bond0 \u4e3b\u8fde\u63a5\u4f5c\u4e3a\u4ece\u5c5e\u3002<\/p>\n<p>\u901a\u8fc7\u8fd9\u4e00\u6b65&#xff0c;NetworkManager \u4f1a\u8bb0\u5f55\u201cens160 \u8fd9\u5757\u7f51\u5361\u5c5e\u4e8e bond0\u201d&#xff0c;\u8ba9\u5176\u4e0d\u518d\u72ec\u7acb\u5206\u914d IP&#xff0c;\u800c\u662f\u53d7 bond0 \u63a7\u5236\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200652-6802b0dcaee3a.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>7.\u521b\u5efa\u5e76\u914d\u7f6e\u4ece\u5c5e&#xff08;Slave2&#xff09;\u8fde\u63a5<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection add \\\\<br \/>\n\u200b<br \/>\n&gt; type ethernet \\\\<br \/>\n\u200b<br \/>\n&gt; con-name ens192-slave \\\\<br \/>\n\u200b<br \/>\n&gt; ifname ens192 \\\\<br \/>\n\u200b<br \/>\n&gt; master bond0<br \/>\n\u200b<br \/>\n\u8fde\u63a5 &#034;ens192-slave&#034; (d00f01b8-3bee-42db-b0d0-814ebd1f56e2) \u5df2\u6210\u529f\u6dfb\u52a0\u3002 <\/p>\n<p>\u4e0e\u7b2c 6 \u6b65\u7c7b\u4f3c&#xff0c;\u53ea\u662f\u66f4\u6362\u4e86\u7f51\u5361\u540d\u79f0\u4e3a ens192&#xff0c;\u8ba9\u5b83\u4e5f\u6210\u4e3a bond0 \u7684\u4ece\u5c5e\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200652-6802b0dcd86d7.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>8.\u67e5\u770b\u6240\u6709\u8fde\u63a5<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection show <\/p>\n<p>\u7f57\u5217\u7cfb\u7edf\u4e2d\u5df2\u521b\u5efa\u7684\u6240\u6709\u8fde\u63a5\u3002\u4f1a\u770b\u5230 ens160, ens192, bond0, ens160-slave, ens192-slave \u4e94\u6761\u8fde\u63a5&#xff08;\u524d\u4e24\u8005\u4e3a\u65e7\u7684\u72ec\u7acb\u7f51\u5361\u8fde\u63a5&#xff0c;\u540e\u8005\u4e3a\u65b0\u5efa\u7684 bond \u76f8\u5173\u8fde\u63a5&#xff09;\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200653-6802b0dd0daf0.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>9.\u5f7b\u5e95\u5220\u9664\u65e7\u8fde\u63a5&#xff08;\u4e0d\u63a8\u8350&#xff09;<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection delete ens160<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# nmcli connection delete ens192 <\/p>\n<p>\u8fd9\u4e24\u6761\u547d\u4ee4\u5220\u9664\u4e86\u7cfb\u7edf\u4e2d\u539f\u672c\u9488\u5bf9 ens160 \/ ens192 \u7684\u72ec\u7acb\u8fde\u63a5\u3002\u8fd9\u6837\u505a\u7684\u7ed3\u679c\u662f&#xff1a;\u53ea\u4fdd\u7559 ens160-slave \u548c ens192-slave \u53ef\u4ee5\u7ed1\u5b9a\u5230 bond0&#xff0c;\u800c\u4e0d\u4f1a\u518d\u6709\u540c\u540d\u7684\u65e7\u8fde\u63a5\u6765\u51b2\u7a81\u3002\u4e4b\u6240\u4ee5\u8bf4\u201c\u4e0d\u63a8\u8350\u201d\u662f\u56e0\u4e3a\u6709\u65f6\u6211\u4eec\u4e5f\u8bb8\u60f3\u4fdd\u7559\u539f\u6709\u8fde\u63a5\u914d\u7f6e\u4ee5\u4f5c\u53c2\u8003&#xff0c;\u6216\u8005\u53ea\u60f3\u6682\u65f6\u505c\u7528\u800c\u4e0d\u5220\u9664\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"438\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200653-6802b0dd37940.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>10.\u4ec5\u7981\u7528\u81ea\u52a8\u8fde\u63a5\u800c\u4e0d\u5220\u9664&#xff08;\u63a8\u8350&#xff09;<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection modify ens160 connection.autoconnect no<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# nmcli connection modify ens192 connection.autoconnect no<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# nmcli connection down ens160<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# nmcli connection down ens192 <\/p>\n<p>\u524d\u4e24\u6761\u547d\u4ee4\u8ba9\u65e7\u7684 ens160\u3001ens192 \u8fde\u63a5\u5728\u5f00\u673a\u6216\u7f51\u7ebf\u63d2\u62d4\u65f6\u4e0d\u518d\u81ea\u52a8\u6fc0\u6d3b\u3002\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5b83\u4eec\u548c\u65b0\u7684 ens160-slave \/ ens192-slave \u4ea7\u751f\u51b2\u7a81\u3002\u540e\u4e24\u6761\u547d\u4ee4\u662f\u624b\u52a8\u505c\u6b62\u5f53\u524d\u6d3b\u8dc3\u7684 ens160\u3001ens192 \u8fde\u63a5&#xff0c;\u8ba9\u5b83\u4eec\u7acb\u5373\u4e0b\u7ebf\u3002\u505c\u7528\u540e&#xff0c;\u6211\u4eec\u7684 bond0 \u624d\u53ef\u4ee5\u63a5\u7ba1 ens160\u3001ens192\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"350\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200653-6802b0dd61330.jpg\" width=\"691\" \/><\/p>\n<\/p>\n<\/p>\n<p>11.\u6fc0\u6d3bbond0\u8fde\u63a5<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection up bond0 <\/p>\n<p>\u542f\u52a8&#xff08;\u6fc0\u6d3b&#xff09;bond0 \u4e3b\u8fde\u63a5\u3002\u6b64\u65f6\u5b83\u4f1a\u7b49\u5f85\u4ece\u5c5e\u7f51\u5361\u4e0a\u7ebf&#xff0c;\u5982\u679c\u6ca1\u6709\u4ece\u5c5e&#xff0c;\u90a3\u4e48 bond0 \u4f1a\u6682\u65f6\u663e\u793a\u201cmaster waiting for slaves\u201d\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200653-6802b0dd88cc8.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<\/p>\n<p>12.\u6fc0\u6d3b\u4ece\u5c5e\u8fde\u63a5<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection up ens160-slave<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# nmcli connection up ens192-slave <\/p>\n<p>\u5206\u522b\u542f\u52a8 ens160-slave\u3001ens192-slave \u4e24\u4e2a\u8fde\u63a5&#xff0c;\u8ba9\u7269\u7406\u7f51\u5361 ens160\u3001ens192 \u52a0\u5165 bond0\u3002<\/p>\n<p>\u8fd9\u6837 bond0 \u5c31\u83b7\u5f97\u4e86\u5b9e\u9645\u7269\u7406\u94fe\u8def&#xff0c;MII Status \u5e94\u80fd\u53d8\u4e3a \u201cup\u201d\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200653-6802b0ddb288d.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>13.\u67e5\u770b\u72b6\u6001<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection show &#8211;active<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# nmcli device status <\/p>\n<p>nmcli connection show &#8211;active&#xff1a;\u67e5\u770b\u5f53\u524d\u6240\u6709\u201c\u5df2\u6fc0\u6d3b\u201d\u7684\u8fde\u63a5&#xff1b;<\/p>\n<p>nmcli device status&#xff1a;\u67e5\u770b\u6bcf\u4e2a\u7f51\u5361 (DEVICE) \u5173\u8054\u7684\u8fde\u63a5\u4ee5\u53ca\u7ba1\u7406\u72b6\u6001\u3002<\/p>\n<p>\u53ef\u4ee5\u786e\u8ba4bond0 \u662f\u5426\u4e3a \u201c\u5df2\u8fde\u63a5\u201d&#xff1b;ens160\u3001ens192 \u662f\u5426\u5df2\u8fde\u63a5\u5230\u5404\u81ea\u7684\u4ece\u5c5e\u8fde\u63a5&#xff08;ens160-slave, ens192-slave&#xff09;\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200653-6802b0dddc36f.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>14.\u67e5\u770bBond\u5185\u6838\u4fe1\u606f<\/p>\n<p>[root&#064;pdsyw1024 ~]# cat \/proc\/net\/bonding\/bond0 <\/p>\n<p>\u8fd9\u662f\u67e5\u770b\u5185\u6838\u4e2d bond0 \u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\u7684\u5173\u952e\u547d\u4ee4\u3002\u53ef\u4ee5\u770b\u5230&#xff1a;Bonding Mode\u3001Currently Active Slave\u3001MII Status\u3001Speed\u3001Link Failure Count \u7b49\u3002\u8fd9\u91cc\u5982\u679c \u201cMII Status: up\u201d&#xff0c;\u8bf4\u660e\u7269\u7406\u94fe\u8def\u6b63\u5e38&#xff1b;Currently Active Slave: ens160 \u8868\u793a\u5f53\u524d\u662f ens160 \u5728\u4e3b\u52a8\u5de5\u4f5c&#xff08;active-backup \u6a21\u5f0f\u4e0b&#xff09;\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200654-6802b0de12567.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>15.\u67e5\u770bbond0\u7f51\u5361<\/p>\n<p>[root&#064;pdsyw1024 ~]# ip addr show bond0 <\/p>\n<p>\u663e\u793a bond0 \u8fd9\u4e2a\u865a\u62df\u7f51\u5361\u7684 IP\u3001MAC\u3001\u72b6\u6001\u7b49\u4fe1\u606f\u3002\u5982\u679c state UP \u5e76\u4e14\u80fd\u770b\u5230\u5206\u914d\u597d\u7684 192.168.80.10\/24&#xff0c;\u8bf4\u660e\u8fd9\u4e2a IP \u751f\u6548\u4e86\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200654-6802b0de3c649.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>16.\u5728\u5176\u4ed6\u7ec8\u7aef\u4e0a\u6d4b\u8bd5\u8fde\u901a\u6027<\/p>\n<p>pdsyw&#064;pdsyw-PC:~\/Desktop$ ping 192.168.80.10 <\/p>\n<p>\u4ece\u53e6\u4e00\u53f0\u673a\u5668(\u6216\u540c\u4e00\u53f0\u673a\u5668\u4e0a\u5176\u4ed6\u7f51\u7edc\u73af\u5883) ping 192.168.80.10&#xff0c;\u9a8c\u8bc1\u662f\u5426\u53ef\u4ee5\u6b63\u5e38\u54cd\u5e94\u3002<\/p>\n<p>\u5982\u679c\u80fd\u6b63\u5e38 ping \u901a&#xff0c;\u4ee3\u8868 bond0 \u8fd9\u6761\u865a\u62df\u7f51\u5361\u7684\u7f51\u7edc\u8bbf\u95ee\u5df2\u7ecf\u914d\u7f6e\u6210\u529f\u4e86\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"455\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200654-6802b0de664dd.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>17.\u91cd\u542f\u6d4b\u8bd5<\/p>\n<p>[root&#064;pdsyw1024 ~]# reboot <\/p>\n<p>\u8ba9\u670d\u52a1\u5668\u91cd\u542f&#xff0c;\u4ee5\u9a8c\u8bc1\u5f00\u673a\u540e\u662f\u5426\u8fd8\u80fd\u4fdd\u6301\u6b63\u786e\u7684 Bond \u914d\u7f6e\u548c\u8fde\u63a5\u72b6\u6001\u3002<\/p>\n<p>\u82e5\u91cd\u542f\u540e\u56e0\u81ea\u52a8\u8fde\u63a5\u4f18\u5148\u7ea7\u6216 ifcfg \u6587\u4ef6\u5e72\u6270&#xff0c;\u53ef\u80fd\u5bfc\u81f4 bond0 \u65e0\u6cd5\u81ea\u52a8 UP&#xff0c;\u9700\u8981\u6392\u67e5\u5e76\u6b63\u786e\u4fdd\u7559 only bond &#043; slave \u8fde\u63a5\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"498\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200654-6802b0de8fdd8.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>18.\u67e5\u770b\u72b6\u6001<\/p>\n<p>[root&#064;pdsyw1024 ~]# nmcli connection show &#8211;active \u00a0<br \/>\n\u200b<br \/>\n[root&#064;pdsyw1024 ~]# ip addr show bond0 <\/p>\n<p>\u540c\u4e0a&#xff0c;\u7528\u6765\u786e\u8ba4\u91cd\u542f\u4ee5\u540e&#xff0c;bond0 \u4f9d\u65e7\u662f\u201cUP\u201d&#xff0c;ens160\u3001ens192 \u4f9d\u65e7\u662f\u4ece\u5c5e\u5230 bond0\u3002<\/p>\n<p>\u5982\u679c\u8fd9\u65f6\u770b\u5230 \u201cens160-slave\u201d\u3001\u201cens192-slave\u201d \u4f9d\u7136\u6fc0\u6d3b&#xff0c;bond0 \u62e5\u6709 IP&#xff0c;\u8bf4\u660e\u914d\u7f6e\u751f\u6548\u5e76\u6210\u529f\u6301\u4e45\u5316\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200654-6802b0debabda.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>19.\u67e5\u770bBond\u5185\u6838\u4fe1\u606f<\/p>\n<p>[root&#064;pdsyw1024 ~]# cat \/proc\/net\/bonding\/bond0 <\/p>\n<p>\u518d\u6b21\u786e\u8ba4\u76ee\u524d\u7684\u6a21\u5f0f (active-backup)\u3001\u5f53\u524d\u6d3b\u52a8\u4ece\u5c5e\u7f51\u5361\u3001\u94fe\u8def\u72b6\u6001\u7b49&#xff0c;\u90fd\u548c\u91cd\u542f\u524d\u4e00\u81f4\u3002<\/p>\n<p>\u8868\u660e\u7cfb\u7edf\u5728\u5f00\u673a\u65f6\u81ea\u52a8\u52a0\u8f7d bonding \u6a21\u5757\u5e76\u542f\u7528\u4e86 bond0 \u914d\u7f6e\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200654-6802b0dee4893.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>20.\u6d4b\u8bd5\u7f51\u5361<\/p>\n<p>20.1.\u5f53ens160\u7f51\u5361\u72b6\u6001\u5f02\u5e38<\/p>\n<p>[root&#064;pdsyw1024 ~]# cat \/proc\/net\/bonding\/bond0 <\/p>\n<p>\u5f53\u4eba\u4e3a\u65ad\u5f00 ens160 \u7f51\u7ebf\u6216\u8005\u5728\u865a\u62df\u673a\u7ba1\u7406\u754c\u9762\u7981\u7528 ens160 \u65f6&#xff0c;\u4f1a\u770b\u5230&#xff1a;<\/p>\n<p>ens160 \u7684 MII Status: down<\/p>\n<p>Currently Active Slave: ens192<\/p>\n<p>\u5728 active-backup \u6a21\u5f0f\u4e0b&#xff0c;bond0 \u4f1a\u628a\u6d41\u91cf\u5207\u6362\u5230\u53e6\u4e00\u5757\u7f51\u5361 (ens192)&#xff0c;\u4fdd\u8bc1\u7f51\u7edc\u8fde\u7eed\u6027\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"431\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200655-6802b0df19d9a.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>20.2.\u4ece\u5176\u4ed6\u7ec8\u7aef\u6d4b\u8bd5\u8fde\u901a\u6027<\/p>\n<p>pdsyw&#064;pdsyw-PC:~\/Desktop$ ping 192.168.80.10 <\/p>\n<p>\u9a8c\u8bc1\u6545\u969c\u8f6c\u79fb\u662f\u5426\u6210\u529f&#xff1a;\u5982\u679c ping \u4e0d\u95f4\u65ad\u6216\u53ea\u4e22\u4e00\u4e24\u4e2a\u5305&#xff0c;\u5219\u8868\u793a\u6545\u969c\u8f6c\u79fb\u5de5\u4f5c\u6b63\u5e38\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"453\" src=\"2025-04-19bgrl2wiavzv.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>20.3.\u5f53ens192\u7f51\u5361\u72b6\u6001\u5f02\u5e38<\/p>\n<p>[root&#064;pdsyw1024 ~]# cat \/proc\/net\/bonding\/bond0 <\/p>\n<p>\u540c\u7406&#xff0c;\u5982\u679c\u62d4\u6389 \/ \u7981\u7528 ens192&#xff0c;\u5219 ens192 \u4f1a\u663e\u793a down&#xff0c;Currently Active Slave \u5207\u6362\u5230 ens160\u3002\u4f9d\u65e7\u53ef\u4ee5\u901a\u8fc7 ping \u6d4b\u8bd5\u6765\u786e\u8ba4\u7f51\u7edc\u662f\u5426\u4fdd\u6301\u7545\u901a\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"427\" src=\"2025-04-19a4jxxx2z004.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>20.2.\u4ece\u5176\u4ed6\u7ec8\u7aef\u6d4b\u8bd5\u8fde\u901a\u6027<\/p>\n<p>pdsyw&#064;pdsyw-PC:~\/Desktop$ ping 192.168.80.10 <\/p>\n<p>\u9a8c\u8bc1\u6545\u969c\u8f6c\u79fb\u662f\u5426\u6210\u529f&#xff1a;\u5982\u679c ping \u4e0d\u95f4\u65ad\u6216\u53ea\u4e22\u4e00\u4e24\u4e2a\u5305&#xff0c;\u5219\u8868\u793a\u6545\u969c\u8f6c\u79fb\u5de5\u4f5c\u6b63\u5e38\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"img\" height=\"453\" src=\"2025-04-19h1ztlatx2sk.jpg\" width=\"692\" \/><\/p>\n<\/p>\n<p>\u5230\u8fd9\u91cc&#xff0c;\u4fe1\u521b\u670d\u52a1\u5668\u7cfb\u7edf\u4e0a\u94fe\u8def\u805a\u5408&#xff08;Bonding&#xff09;\u914d\u7f6e\u5c31\u5168\u90e8\u5b8c\u6210\u4e86&#xff01;\u901a\u8fc7active-backup\u4e3b\u5907\u6a21\u5f0f&#xff0c;\u54ea\u6015\u4e00\u6761\u94fe\u8def\u6545\u969c&#xff0c;\u7cfb\u7edf\u7f51\u7edc\u4f9d\u7136\u7545\u901a\u65e0\u963b&#xff0c;\u5927\u5927\u63d0\u9ad8\u4e86\u670d\u52a1\u5668\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027\u3002\u5982\u679c\u60a8\u89c9\u5f97\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u60a8\u6709\u5e2e\u52a9&#xff0c;\u6b22\u8fce\u5206\u4eab\u70b9\u8d5e&#xff0c;\u70b9\u4e2a\u5728\u770b\u548c\u5173\u6ce8\u54e6&#xff01;\u540e\u7eed\u6211\u8fd8\u4f1a\u5206\u4eab\u66f4\u591a\u670d\u52a1\u5668\u7f51\u7edc\u3001\u5b58\u50a8\u548c\u9ad8\u53ef\u7528\u914d\u7f6e\u7684\u5b9e\u6218\u6280\u5de7&#xff0c;\u656c\u8bf7\u671f\u5f85&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u4f1a\u770b\u5230 ens160, ens192, bond0, ens160-slave, ens192-slave \u4e94\u6761\u8fde\u63a5\uff08\u524d\u4e24\u8005\u4e3a\u65e7\u7684\u72ec\u7acb\u7f51\u5361\u8fde\u63a5\uff0c\u540e\u8005\u4e3a\u65b0\u5efa\u7684 bond \u76f8\u5173\u8fde\u63a5\uff09\u3002\u663e\u793a bond0 \u8fd9\u4e2a\u865a\u62df\u7f51\u5361\u7684 IP\u3001MAC\u3001\u72b6\u6001\u7b49\u4fe1\u606f\u3002\u5982\u679c\u8fd9\u65f6\u770b\u5230 \u201cens160-slave\u201d\u3001\u201cens192-slave\u201d \u4f9d\u7136\u6fc0\u6d3b\uff0cbond0 \u62e5\u6709 IP\uff0c\u8bf4\u660e\u914d\u7f6e\u751f\u6548\u5e76\u6210\u529f\u6301\u4e45\u5316\u3002\u5206\u522b\u542f\u52a8 ens160-slave\u3001ens192-slave \u4e24\u4e2a\u8fde\u63a5\uff0c\u8ba9\u7269\u7406\u7f51\u5361 ens160\u3001ens192 \u52a0\u5165 bond0\u3002<\/p>\n","protected":false},"author":2,"featured_media":21004,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1634,58,468,43,715,1633,78,1635,381],"topic":[],"class_list":{"0":"post-21024","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-bonding","9":"tag-linux","10":"tag-uos","11":"tag-43","12":"tag-715","14":"tag-78","15":"tag-1635","16":"tag-381"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/21024.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u4f1a\u770b\u5230 ens160, ens192, bond0, ens160-slave, ens192-slave \u4e94\u6761\u8fde\u63a5\uff08\u524d\u4e24\u8005\u4e3a\u65e7\u7684\u72ec\u7acb\u7f51\u5361\u8fde\u63a5\uff0c\u540e\u8005\u4e3a\u65b0\u5efa\u7684 bond \u76f8\u5173\u8fde\u63a5\uff09\u3002\u663e\u793a bond0 \u8fd9\u4e2a\u865a\u62df\u7f51\u5361\u7684 IP\u3001MAC\u3001\u72b6\u6001\u7b49\u4fe1\u606f\u3002\u5982\u679c\u8fd9\u65f6\u770b\u5230 \u201cens160-slave\u201d\u3001\u201cens192-slave\u201d \u4f9d\u7136\u6fc0\u6d3b\uff0cbond0 \u62e5\u6709 IP\uff0c\u8bf4\u660e\u914d\u7f6e\u751f\u6548\u5e76\u6210\u529f\u6301\u4e45\u5316\u3002\u5206\u522b\u542f\u52a8 ens160-slave\u3001ens192-slave \u4e24\u4e2a\u8fde\u63a5\uff0c\u8ba9\u7269\u7406\u7f51\u5361 ens160\u3001ens192 \u52a0\u5165 bond0\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/21024.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T20:06:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200651-6802b0dbd43fa.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21024.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/21024.html\",\"name\":\"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T20:06:56+00:00\",\"dateModified\":\"2025-04-18T20:06:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/21024.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/21024.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21024.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/21024.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u4f1a\u770b\u5230 ens160, ens192, bond0, ens160-slave, ens192-slave \u4e94\u6761\u8fde\u63a5\uff08\u524d\u4e24\u8005\u4e3a\u65e7\u7684\u72ec\u7acb\u7f51\u5361\u8fde\u63a5\uff0c\u540e\u8005\u4e3a\u65b0\u5efa\u7684 bond \u76f8\u5173\u8fde\u63a5\uff09\u3002\u663e\u793a bond0 \u8fd9\u4e2a\u865a\u62df\u7f51\u5361\u7684 IP\u3001MAC\u3001\u72b6\u6001\u7b49\u4fe1\u606f\u3002\u5982\u679c\u8fd9\u65f6\u770b\u5230 \u201cens160-slave\u201d\u3001\u201cens192-slave\u201d \u4f9d\u7136\u6fc0\u6d3b\uff0cbond0 \u62e5\u6709 IP\uff0c\u8bf4\u660e\u914d\u7f6e\u751f\u6548\u5e76\u6210\u529f\u6301\u4e45\u5316\u3002\u5206\u522b\u542f\u52a8 ens160-slave\u3001ens192-slave \u4e24\u4e2a\u8fde\u63a5\uff0c\u8ba9\u7269\u7406\u7f51\u5361 ens160\u3001ens192 \u52a0\u5165 bond0\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/21024.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T20:06:56+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418200651-6802b0dbd43fa.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/21024.html","url":"https:\/\/www.wsisp.com\/helps\/21024.html","name":"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T20:06:56+00:00","dateModified":"2025-04-18T20:06:56+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/21024.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/21024.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/21024.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4fe1\u521b\u670d\u52a1\u5668\u7f51\u7edc\u66f4\u7a33\u4e86\uff01\u94fe\u8def\u805a\u5408Bonding\u5b9e\u6218"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/21024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=21024"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/21024\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/21004"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=21024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=21024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=21024"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=21024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}