{"id":163,"date":"2018-07-29T08:38:45","date_gmt":"2018-07-29T00:38:45","guid":{"rendered":"https:\/\/pfsense.freeddns.org\/wp\/?p=163"},"modified":"2020-08-24T22:14:41","modified_gmt":"2020-08-24T14:14:41","slug":"pfsense-book%e4%b9%8b%e7%bd%91%e6%a1%a5","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=163","title":{"rendered":"pfSense book\u4e4b\u7f51\u6865"},"content":{"rendered":"<h1 style=\"text-align: justify;\">\u76ee\u5f55<\/h1>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u521b\u5efa\u4e00\u4e2a\u7f51\u6865<\/li>\n<li>\u7f51\u6865\u9ad8\u7ea7\u914d\u7f6e<\/li>\n<li>\u7f51\u6865\u548c\u63a5\u53e3<\/li>\n<li>\u7f51\u6865\u548c\u9632\u706b\u5899<\/li>\n<li>\u6865\u63a5\u4e24\u4e2a\u5185\u90e8\u7f51\u7edc<\/li>\n<li>\u7f51\u6865\u4e92\u64cd\u4f5c\u6027<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u901a\u5e38pfSense\u4e0a\u7684\u6bcf\u4e2a\u63a5\u53e3\u90fd\u662f\u5177\u6709\u552f\u4e00IP\u5b50\u7f51\u7684\u5e7f\u64ad\u57df\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5c06\u591a\u4e2a\u63a5\u53e3\u7ec4\u5408\u5230\u5355\u4e2a\u5e7f\u64ad\u57df\u4e5f\u8bb8\u5fc5\u8981\u7684\uff0c\u5176\u4e2d\u9632\u706b\u5899\u4e0a\u7684\u4e24\u4e2a\u7aef\u53e3\u50cf\u5b83\u4eec\u5728\u540c\u4e00\u4e2a\u4ea4\u6362\u673a\u4e0a\u4e00\u6837\uff0c\u9664\u4e86\u63a5\u53e3\u4e4b\u95f4\u7684\u6d41\u91cf\u53ef\u4ee5\u901a\u8fc7\u9632\u706b\u5899\u89c4\u5219\u8fdb\u884c\u63a7\u5236\u4ee5\u5916\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u8ba9\u591a\u4e2a\u63a5\u53e3\u5145\u5f53\u4f7f\u7528\u76f8\u540cIP\u5b50\u7f51\u7684\u540c\u4e00\u4e2a\u5e73\u9762\u7f51\u7edc\uff0c\u5e76\u4f7f\u5ba2\u6237\u7aef\u5171\u4eab\u5e7f\u64ad\u548c\u591a\u64ad\u901a\u4fe1\u3002<\/p>\n<p style=\"text-align: justify;\">\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u548c\u8bbe\u5907\u4f9d\u8d56\u4e8e\u5e7f\u64ad\u529f\u80fd\uff0c\u8fd9\u4e9b\u5728\u5bb6\u5ead\u73af\u5883\u4e2d\u6bd4\u4f01\u4e1a\u73af\u5883\u4e2d\u66f4\u5e38\u89c1\u3002<\/p>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u5728\u9632\u706b\u5899\u4e0a\u8fd0\u884c\u7684\u670d\u52a1\uff0c\u6865\u63a5\u53ef\u80fd\u4f1a\u5bf9\u5e94\u7528\u7684\u670d\u52a1\u4ea7\u751f\u5f71\u54cd\u3002\u5982\u9650\u5236\u5668\u3001\u5165\u7f51\u95e8\u6237\u548c\u900f\u660e\u4ee3\u7406\u7b49\u529f\u80fd\u9700\u8981\u7279\u6b8a\u7684\u914d\u7f6e\u548c\u5904\u7406\u624d\u80fd\u5728\u6865\u63a5\u7f51\u7edc\u4e0a\u5de5\u4f5c\u3002\u5177\u4f53\u800c\u8a00\uff0c\u5fc5\u987b\u5206\u914d\u7f51\u6865\u672c\u8eab\uff0c\u5e76\u4e14\u5177\u6709IP\u5730\u5740\u7684\u7f51\u6865\u4e0a\u552f\u4e00\u7684\u63a5\u53e3\u5fc5\u987b\u662f\u5206\u914d\u7684\u7f51\u6865\u3002\u6b64\u5916\uff0c\u4e3a\u4e86\u4f7f\u8fd9\u4e9b\u529f\u80fd\u8d77\u4f5c\u7528\uff0c\u7f51\u6865\u4e0a\u7684IP\u5730\u5740\u5fc5\u987b\u662f\u5ba2\u6237\u7aef\u7528\u4f5c\u5176\u7f51\u5173\u7684\u5730\u5740\u3002\u8fd9\u4e9b\u95ee\u9898\u5728\u540e\u9762\u6709\u66f4\u6df1\u5165\u7684\u8ba8\u8bba\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u7f51\u6865\u7684\u7c7b\u578b<\/strong><\/p>\n<p style=\"text-align: justify;\">\u6709\u4e24\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u7f51\u6865\uff1a\u5185\u90e8\u7f51\u6865\u548c\u5185\u90e8\/\u5916\u90e8\u7f51\u6865\u3002 \u5185\u90e8\u7f51\u6865\u8fde\u63a5\u4e24\u4e2a\u672c\u5730\u63a5\u53e3\uff0c\u4f8b\u5982\u4e24\u4e2aLAN\u63a5\u53e3\u6216\u4e00\u4e2aLAN\u63a5\u53e3\u548c\u4e00\u4e2a\u65e0\u7ebf\u63a5\u53e3\u3002 \u5185\u90e8\/\u5916\u90e8\u7f51\u6865\u5c06\u5c40\u57df\u7f51\u8fde\u63a5\u5230\u5e7f\u57df\u7f51\uff0c\u4e00\u822c\u79f0\u4e4b\u4e3a\u201c\u900f\u660e\u9632\u706b\u5899\u201d\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u5185\u90e8\u7f51\u6865<\/strong><\/p>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u5185\u90e8\u7f51\u6865\u65f6\uff0c\u9632\u706b\u5899\u4e0a\u7684\u7aef\u53e3\u4f1a\u8fdb\u884c\u94fe\u63a5\uff0c\u7c7b\u4f3c\u4e8e\u4ea4\u6362\u673a\u7aef\u53e3\uff0c\u4f46\u80fd\u591f\u8fc7\u6ee4\u7aef\u53e3\u6216\u7f51\u6865\u4e0a\u7684\u6d41\u91cf\uff0c\u4f46\u8fde\u63a5\u6027\u80fd\u8fdc\u4f4e\u4e8e\u4ea4\u6362\u673a\u3002 \u9632\u706b\u5899\u672c\u8eab\u5bf9\u672c\u5730\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u4ecd\u7136\u53ef\u89c1\uff0c\u5e76\u5145\u5f53\u5176\u7f51\u5173\uff0c\u4e5f\u53ef\u80fd\u662fDNS\u548cDHCP\u670d\u52a1\u5668\u3002 \u6865\u63a5\u7f51\u6bb5\u4e0a\u7684\u5ba2\u6237\u4e00\u822c\u4e0d\u4f1a\u611f\u89c9\u5230\u5b83\u4eec\u4e4b\u95f4\u6709\u9632\u706b\u5899\u3002<\/p>\n<p style=\"text-align: justify;\">\u7ba1\u7406\u5458\u901a\u5e38\u4f1a\u9009\u62e9\u8fd9\u79cd\u7c7b\u578b\u7684\u914d\u7f6e\uff0c\u4ee5\u9694\u79bb\u548c\u63a7\u5236\u7f51\u7edc\u7684\u4e00\u90e8\u5206\uff08\u5982\u65e0\u7ebf\u7f51\u6bb5\uff09\uff0c\u6216\u8005\u4f7f\u7528\u9632\u706b\u5899\u4e0a\u7684\u5176\u4ed6\u7aef\u53e3\u66ff\u4ee3\u5b89\u88c5\u4ea4\u6362\u673a\u3002 \u867d\u7136\u4e0d\u63a8\u8350\uff0c\u4f46\u6b64\u7c7b\u7f51\u6865\u4e5f\u53ef\u7528\u4e8e\u901a\u8fc7\u67d0\u4e9b\u7c7b\u578b\u7684***\u8fde\u63a5\u52a0\u5165\u4e24\u4e2a\u8fdc\u7a0b\u7f51\u7edc\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u5185\u90e8\/\u5916\u90e8\u7f51\u6865<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5185\u90e8\/\u5916\u90e8\u7f51\u6865\uff0c\u4e5f\u79f0\u4e3a\u201c\u900f\u660e\u9632\u706b\u5899\u201d\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u7f51\u6bb5\u4e4b\u95f4\u63d2\u5165\u9632\u706b\u5899\u800c\u4e0d\u66f4\u6539\u5176\u4ed6\u8bbe\u5907\u3002 \u8fd9\u901a\u5e38\u7528\u4e8e\u5c06WAN\u8fde\u63a5\u5230\u5185\u90e8\u7f51\u7edc\uff0c\u4ee5\u4fbfWAN\u5b50\u7f51\u53ef\u4ee5\u5728\u9632\u706b\u5899\u201c\u5185\u90e8\u201d\u4f7f\u7528\uff0c\u6216\u8005\u5728\u672c\u5730\u7f51\u6bb5\u4e4b\u95f4\u4f5c\u4e3a\u5185\u8054\u8fc7\u6ee4\u5668\u4f7f\u7528\u3002 \u53e6\u4e00\u4e2a\u5e38\u89c1\u7528\u9014\u662f\u9632\u706b\u5899\u540e\u9762\u7684\u8bbe\u5907\u901a\u8fc7DHCP\u4eceWAN\u4e0a\u7684\u4e0a\u6e38\u670d\u52a1\u5668\u83b7\u53d6IP\u5730\u5740\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u900f\u660e\u7684\u9632\u706b\u5899\u914d\u7f6e\u4e2d\uff0c\u9632\u706b\u5899\u4e0d\u76f4\u63a5\u63a5\u6536\u901a\u4fe1\u6216\u4f5c\u4e3a\u7f51\u5173\uff0c\u53ea\u662f\u5728\u901a\u8fc7\u9632\u706b\u5899\u65f6\u68c0\u67e5\u901a\u4fe1\u3002<\/p>\n<p style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u8be5\u7f51\u6865\u5185\u90e8\u7684\u8bbe\u5907\u5fc5\u987b\u7ee7\u7eed\u4f7f\u7528\u4e0a\u6e38\u7f51\u5173\u4f5c\u4e3a\u81ea\u5df1\u7684\u7f51\u5173\u3002 \u4e0d\u8981\u5c06\u9632\u706b\u5899\u4e0a\u7684\u4efb\u4f55IP\u5730\u5740\u8bbe\u7f6e\u4e3a\u900f\u660e\u7f51\u6865\u4e0a\u8bbe\u5907\u7684\u7f51\u5173\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u7f51\u6865\u548c2\u5c42\u73af\u8def<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5728\u6865\u63a5\u65f6\uff0c\u5fc5\u987b\u5c0f\u5fc3\u907f\u514d2\u5c42\u73af\u8def\uff0c\u6216\u8005\u5fc5\u987b\u5728\u5904\u7406\u73af\u8def\u7684\u4f4d\u7f6e\u5bf9\u4ea4\u6362\u673a\u8fdb\u884c\u914d\u7f6e\u30022\u5c42\u73af\u8def\u662f\u76f4\u63a5\u6216\u95f4\u63a5\u5730\u5c06\u4ea4\u6362\u673a\u8fde\u63a5\u56de\u81ea\u5df1\u3002\u5982\u679c\u8fd0\u884cpfSense\u7684\u9632\u706b\u5899\u5c06\u63a5\u53e3\u6865\u63a5\u5728\u4e00\u8d77\uff0c\u5e76\u4e14\u5c06\u4e24\u4e2a\u63a5\u53e3\u63d2\u5165\u540c\u4e00VLAN\u4e2d\u7684\u76f8\u540c\u4ea4\u6362\u673a\uff0c\u5219\u4f1a\u51fa\u73b02\u5c42\u73af\u8def\u3002\u5728\u4e24\u53f0\u4ea4\u6362\u673a\u4e4b\u95f4\u8fde\u63a5\u4e24\u6839\u8df3\u7ebf\u4e5f\u662f\u8fd9\u6837\u3002<\/p>\n<p style=\"text-align: justify;\">\u7ba1\u7406\u578b\u4ea4\u6362\u673a\u91c7\u7528\u751f\u6210\u6811\u534f\u8bae\uff08STP\uff09\u6765\u5904\u7406\u8fd9\u79cd\u60c5\u51b5\uff0c\u56e0\u4e3a\u901a\u5e38\u5e0c\u671b\u5728\u4ea4\u6362\u673a\u4e4b\u95f4\u5efa\u7acb\u591a\u6761\u94fe\u8def\uff0c\u5e76\u4e14\u4e0d\u5e94\u5c06\u67d0\u4e2a\u7f51\u7edc\u7aef\u53e3\u63d2\u5165\u53e6\u4e00\u4e2a\u7f51\u7edc\u7aef\u53e3\u800c\u5bfc\u81f4\u7f51\u7edc\u5b8c\u5168\u5d29\u6e83\u3002\u5728\u6240\u6709\u7ba1\u7406\u578b\u4ea4\u6362\u673a\u4e0a\uff0c\u7f3a\u7701\u60c5\u51b5\u4e0b\u90fd\u4e0d\u542f\u7528STP\uff0c\u5bf9\u4e8e\u975e\u6258\u7ba1\u4ea4\u6362\u673a\u51e0\u4e4e\u4e0d\u53ef\u7528\u3002\u5982\u679c\u6ca1\u6709STP\uff0c\u7b2c2\u5c42\u73af\u8def\u7684\u7ed3\u679c\u662f\u7f51\u7edc\u4e0a\u7684\u5e27\u5c06\u65e0\u9650\u5faa\u73af\u5e76\u4e14\u7f51\u7edc\u5c06\u5b8c\u5168\u505c\u6b62\u8fd0\u884c\uff0c\u76f4\u5230\u5220\u9664\u73af\u8def\u3002\u68c0\u67e5\u4ea4\u6362\u673a\u914d\u7f6e\u4ee5\u786e\u4fdd\u529f\u80fd\u5df2\u542f\u7528\u5e76\u6b63\u786e\u914d\u7f6e\u3002<\/p>\n<p style=\"text-align: justify;\">pfSense\u4f7f\u6865\u63a5\u53e3\u4e0a\u7684STP\u80fd\u591f\u5e2e\u52a9\u5904\u7406\u73af\u8def\uff0c\u4f46\u4ecd\u7136\u53ef\u80fd\u5bfc\u81f4\u610f\u5916\u60c5\u51b5\u3002\u4f8b\u5982\uff0c\u5176\u4e2d\u4e00\u4e2a\u7f51\u6865\u7aef\u53e3\u4f1a\u81ea\u884c\u5173\u95ed\u4ee5\u505c\u6b62\u5faa\u73af\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6d41\u91cf\u610f\u5916\u505c\u6b62\u6d41\u52a8\u6216\u5b8c\u5168\u7ed5\u8fc7\u9632\u706b\u5899\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u521b\u5efa\u4e00\u4e2a\u7f51\u6865<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5728pfSense\u4e2d\uff0c\u5728<strong>\u7f51\u7edc\u63a5\u53e3&gt;\u63a5\u53e3\u7ba1\u7406<\/strong>\u7684\u7f51\u6865\u9009\u9879\u5361\u4e0a\u6dfb\u52a0\u548c\u5220\u9664\u7f51\u6865\u3002 \u4f7f\u7528\u7f51\u6865\uff0c\u53ef\u4ee5\u5c06\u4efb\u4f55\u6570\u91cf\u7684\u7aef\u53e3\u7ed1\u5b9a\u5728\u4e00\u8d77\u3002 \u5728GUI\u4e2d\u521b\u5efa\u7684\u6bcf\u4e2a\u7f51\u6865\u8fd8\u5c06\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7f51\u6865\u63a5\u53e3\uff0c\u540d\u4e3abridgeX\uff0c\u5176\u4e2dX\u4ece0\u5f00\u59cb\uff0c\u5e76\u4e3a\u6bcf\u4e2a\u65b0\u7f51\u6865\u589e\u52a0\u4e00\u4e2a\u3002 \u8fd9\u4e9b\u63a5\u53e3\u53ef\u4ee5\u50cf\u5927\u591a\u6570\u5176\u4ed6\u63a5\u53e3\u4e00\u6837\u5206\u914d\u548c\u4f7f\u7528\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u521b\u5efa\u7f51\u6865\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230<strong>\u7f51\u7edc\u63a5\u53e3&gt;\u63a5\u53e3\u7ba1\u7406<\/strong>\uff0c\u7f51\u6865\u9009\u9879\u5361\u3002<\/li>\n<li>\u70b9\u51fb\u6dfb\u52a0\u521b\u5efa\u4e00\u4e2a\u7f51\u6865\u3002<\/li>\n<li>\u4ece\u6210\u5458\u63a5\u53e3\u4e2d\u81f3\u5c11\u9009\u62e9\u4e00\u4e2a\u63a5\u53e3\u3002 \u4f7f\u7528Ctrl\u952e\u5355\u51fb\uff0c\u6839\u636e\u9700\u8981\u9009\u62e9\u591a\u4e2a\u3002<\/li>\n<li>\u6dfb\u52a0\u63cf\u8ff0\u8bf4\u660e\u3002<\/li>\n<li>\u5355\u51fb\u663e\u793a\u9ad8\u7ea7\u9009\u9879\u4ee5\u6839\u636e\u9700\u8981\u67e5\u770b\u5176\u4f59\u914d\u7f6e\u53c2\u6570\u3002 \u5bf9\u4e8e\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u4ed6\u4eec\u662f\u4e0d\u5fc5\u8981\u7684\u3002<\/li>\n<li>\u70b9\u51fb\u4fdd\u5b58\u5b8c\u6210\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u7f51\u6865\u53ef\u4ee5\u7531\u5355\u4e2a\u6210\u5458\u63a5\u53e3\u7ec4\u6210\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5e2e\u52a9\u8fc1\u79fb\u5230\u5177\u6709\u6307\u5b9a\u7f51\u6865\u7684\u914d\u7f6e\uff0c\u6216\u8005\u7528\u4e8e\u521b\u5efa\u7b80\u5355\u7684\u955c\u50cf\u7aef\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u7f51\u6865\u9ad8\u7ea7\u914d\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u7f51\u6865\u53ca\u5176\u6210\u5458\u6709\u8bb8\u591a\u5148\u8fdb\u7684\u9009\u62e9\u3002\u5176\u4e2d\u4e00\u4e9b\u8bbe\u7f6e\u975e\u5e38\u590d\u6742\uff0c\u56e0\u6b64\u5728\u672c\u8282\u4e2d\u5206\u522b\u8ba8\u8bba\u5b83\u4eec\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u5feb\u901f\u751f\u6210\u6811\u9009\u9879<\/strong><\/p>\n<p style=\"text-align: justify;\">\u751f\u6210\u6811\u534f\u8bae\u53ef\u5e2e\u52a9\u4ea4\u6362\u673a\u548c\u8bbe\u5907\u786e\u5b9a\u662f\u5426\u5b58\u5728\u73af\u8def\u5e76\u6839\u636e\u9700\u8981\u5c06\u5176\u5207\u65ad\uff0c\u4ee5\u9632\u6b62\u73af\u8def\u5f71\u54cd\u7f51\u7edc\u3002 \u6709\u5f88\u591a\u9009\u9879\u53ef\u4ee5\u63a7\u5236\u751f\u6210\u6811\u7684\u884c\u4e3a\u65b9\u5f0f\uff0c\u4ece\u800c\u53ef\u4ee5\u5bf9\u7279\u5b9a\u7684\u7aef\u53e3\u8fdb\u884c\u7279\u5b9a\u7684\u5047\u8bbe\uff0c\u6216\u8005\u786e\u4fdd\u67d0\u4e9b\u7f51\u6865\u5728\u73af\u8def\u6216\u5197\u4f59\u94fe\u8def\u7684\u60c5\u51b5\u4e0b\u83b7\u5f97\u4f18\u5148\u7ea7\u3002 \u6709\u5173STP\u7684\u66f4\u591a\u4fe1\u606f\u53ef\u4ee5\u5728FreeBSD\u7684ifconfig\uff088\uff09\u624b\u518c\u9875\u548c<a href=\"http:\/\/en.wikipedia.org\/wiki\/Spanning_Tree_Protocol\" target=\"_self\" rel=\"noopener noreferrer\">\u7ef4\u57fa\u767e\u79d1<\/a>\u4e0a\u627e\u5230\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u534f\u8bae<\/h3>\n<p style=\"text-align: justify;\">\u534f\u8bae\u8bbe\u7f6e\u63a7\u5236\u7f51\u6865\u662f\u4f7f\u7528IEEE 802.1D\u751f\u6210\u6811\u534f\u8bae\uff08STP\uff09\u8fd8\u662fIEEE 802.1w\u5feb\u901f\u751f\u6210\u6811\u534f\u8bae\uff08RSTP\uff09\u3002 RSTP\u662f\u4e00\u79cd\u8f83\u65b0\u7684\u534f\u8bae\uff0c\u987e\u540d\u601d\u4e49\u5b83\u7684\u8fd0\u884c\u901f\u5ea6\u6bd4STP\u5feb\u5f97\u591a\uff0c\u4f46\u662f\u5411\u540e\u517c\u5bb9\u3002 \u8f83\u65b0\u7684IEEE 802.1D-2004\u6807\u51c6\u57fa\u4e8eRSTP\u3002\u53ea\u6709\u5728\u4f7f\u7528\u4e0eRSTP\u4e0d\u517c\u5bb9\u7684\u8f83\u65e7\u4ea4\u6362\u673a\u65f6\u624d\u9009\u62e9STP\u3002<\/p>\n<h3 style=\"text-align: justify;\">STP\u00a0\u63a5\u53e3<\/h3>\n<p style=\"text-align: justify;\">STP\u63a5\u53e3\u5217\u8868\u53cd\u6620\u4e86\u542f\u7528STP\u7684\u7f51\u6865\u6210\u5458\u3002\u6309\u4f4fCtrl\u5355\u51fb\u6765\u9009\u62e9\u4e0eSTP\u4e00\u8d77\u4f7f\u7528\u7684\u6865\u63a5\u6210\u5458\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u6709\u6548\u65f6\u95f4<\/h3>\n<p style=\"text-align: justify;\">\u8bbe\u7f6e\u751f\u6210\u6811\u534f\u8bae\u914d\u7f6e\u7684\u6709\u6548\u65f6\u95f4\u3002\u9ed8\u8ba4\u503c\u662f20\u79d2\u3002\u6700\u5c0f\u503c\u662f6\u79d2\uff0c\u6700\u5927\u503c\u662f40\u79d2\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u8f6c\u53d1\u65f6\u95f4<\/h3>\n<p style=\"text-align: justify;\">\u8f6c\u53d1\u65f6\u95f4\u9009\u9879\u8bbe\u7f6e\u5728\u542f\u7528\u751f\u6210\u6811\u65f6\u63a5\u53e3\u5f00\u59cb\u8f6c\u53d1\u6570\u636e\u5305\u4e4b\u524d\u5fc5\u987b\u7ecf\u8fc7\u7684\u65f6\u95f4\u3002\u9ed8\u8ba4\u503c\u662f15\u79d2\u3002\u6700\u5c0f\u503c\u662f4\u79d2\uff0c\u6700\u5927\u503c\u662f30\u79d2\u3002<\/p>\n<p style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u76f4\u63a5\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u4f1a\u6ce8\u610f\u5230\u66f4\u957f\u7684\u5ef6\u8fdf\uff0c\u56e0\u4e3a\u5b83\u4eec\u65e0\u6cd5\u4f20\u8f93\u6d41\u91cf\uff0c\u751a\u81f3\u65e0\u6cd5\u901a\u8fc7DHCP\u83b7\u53d6IP\u5730\u5740\uff0c\u76f4\u5230\u5176\u63a5\u53e3\u8fdb\u5165\u8f6c\u53d1\u6a21\u5f0f\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u63e1\u624b\u65f6\u95f4<\/strong><\/p>\n<p style=\"text-align: justify;\">\u63e1\u624b\u65f6\u95f4\u9009\u9879\u8bbe\u7f6e\u751f\u6210\u6811\u534f\u8bae\u914d\u7f6e\u6d88\u606f\u5e7f\u64ad\u4e4b\u95f4\u7684\u65f6\u95f4\u3002 \u53ea\u6709\u5728\u4f20\u7edfSTP\u6a21\u5f0f\u4e0b\u8fd0\u884c\u65f6\uff0c\u624d\u80fd\u66f4\u6539\u63e1\u624b\u65f6\u95f4\u3002 \u9ed8\u8ba4\u503c\u662f2\u79d2\u3002 \u6700\u5c0f\u503c\u662f1\u79d2\uff0c\u6700\u5927\u503c\u662f2\u79d2\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u4f18\u5148\u7ea7<\/h3>\n<p style=\"text-align: justify;\">\u751f\u6210\u6811\u7684\u7f51\u6865\u4f18\u5148\u7ea7\u63a7\u5236\u5728\u68c0\u6d4b\u5230\u5faa\u73af\u65f6\u662f\u5426\u9996\u5148\u9009\u62e9\u8be5\u7f51\u6865\u8fdb\u884c\u963b\u585e\u3002 \u9ed8\u8ba4\u503c\u4e3a32768.\u6700\u5c0f\u503c\u4e3a0\uff0c\u6700\u5927\u503c\u4e3a61440.\u503c\u5fc5\u987b\u662f4096\u7684\u500d\u6570\u3002\u4f18\u5148\u7ea7\u8f83\u4f4e\uff0c\u4f4e\u4e8e32768\u7684\u503c\u8868\u793a\u53ef\u4ee5\u6210\u4e3a\u6839\u7f51\u6865\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u4fdd\u6301\u8ba1\u6570<\/h3>\n<p style=\"text-align: justify;\">\u751f\u6210\u6811\u7684\u53d1\u9001\u4fdd\u6301\u8ba1\u6570\u662f\u9650\u901f\u4e4b\u524d\u53d1\u9001\u7684\u6570\u636e\u5305\u6570\u3002 \u9ed8\u8ba4\u503c\u662f6\uff0c\u6700\u5c0f\u503c\u662f1\uff0c\u6700\u5927\u503c\u662f10\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u7aef\u53e3\u4f18\u5148\u7ea7<\/h3>\n<p style=\"text-align: justify;\">\u4f18\u5148\u7ea7\u5b57\u6bb5\u4e3a\u6bcf\u4e2a\u6865\u63a5\u6210\u5458\u63a5\u53e3\u8bbe\u7f6e\u751f\u6210\u6811\u4f18\u5148\u7ea7\u3002\u5728\u51b3\u5b9a\u963b\u6b62\u54ea\u4e9b\u7aef\u53e3\u4ee5\u53ca\u54ea\u4e9b\u7aef\u53e3\u6b63\u5728\u8f6c\u53d1\u65f6\uff0c\u4f1a\u4f18\u5148\u8003\u8651\u4f18\u5148\u7ea7\u8f83\u4f4e\u7684\u8bbe\u5907\u3002\u9ed8\u8ba4\u4f18\u5148\u7ea7\u662f128\uff0c\u5e76\u4e14\u5fc5\u987b\u4ecb\u4e8e0\u548c240\u4e4b\u95f4\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u8def\u5f84\u6210\u672c<\/h3>\n<p style=\"text-align: justify;\">\u8def\u5f84\u6210\u672c\u5b57\u6bb5\u4e3a\u6bcf\u4e2a\u6865\u63a5\u6210\u5458\u8bbe\u7f6e\u751f\u6210\u6811\u8def\u5f84\u6210\u672c\u3002 \u9ed8\u8ba4\u503c\u662f\u6839\u636e\u94fe\u63a5\u901f\u5ea6\u8ba1\u7b97\u7684\u3002 \u8981\u5c06\u5148\u524d\u9009\u62e9\u7684\u8def\u5f84\u6210\u672c\u66f4\u6539\u56de\u81ea\u52a8\uff0c\u8bf7\u5c06\u6210\u672c\u8bbe\u7f6e\u4e3a0\u3002\u6700\u5c0f\u503c\u4e3a1\uff0c\u6700\u5927\u503c\u4e3a200000000\u3002\u5728\u51b3\u5b9a\u8981\u963b\u6b62\u54ea\u4e9b\u7aef\u53e3\u4ee5\u53ca\u54ea\u4e9b\u7aef\u53e3\u6b63\u5728\u8f6c\u53d1\u65f6\uff0c\u4f18\u5148\u9009\u62e9\u6210\u672c\u8f83\u4f4e\u7684\u8def\u5f84\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u7f13\u5b58\u8bbe\u7f6e<\/h2>\n<p style=\"text-align: justify;\"><strong>\u7f13\u5b58\u5927\u5c0f\u8bbe\u7f6e<\/strong>\u6865\u5730\u5740\u9ad8\u901f\u7f13\u5b58\u7684\u6700\u5927\u503c\uff0c\u7c7b\u4f3c\u4e8e\u4ea4\u6362\u673a\u4e0a\u7684MAC\u6216CAM\u8868\u3002 \u9ed8\u8ba4\u503c\u662f100\u4e2a\u6761\u76ee\u3002 \u5982\u679c\u6709\u5927\u91cf\u8bbe\u5907\u901a\u8fc7\u7f51\u6865\u8fdb\u884c\u901a\u4fe1\uff0c\u53ef\u4ee5\u5c06\u8fd9\u4e2a\u503c\u8bbe\u7f6e\u7684\u9ad8\u4e00\u4e9b\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u9ad8\u901f\u7f13\u5b58\u5230\u671f\u65f6\u95f4<\/strong>\u4ee5\u79d2\u4e3a\u5355\u4f4d\u63a7\u5236\u5730\u5740\u9ad8\u901f\u7f13\u5b58\u6761\u76ee\u7684\u8d85\u65f6\u3002 \u5982\u679c\u8bbe\u7f6e\u4e3a0\uff0c\u5219\u5730\u5740\u7f13\u5b58\u6761\u76ee\u4e0d\u4f1a\u8fc7\u671f\u3002 \u9ed8\u8ba4\u503c\u4e3a240\u79d2\uff08\u56db\u5206\u949f\uff09\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u955c\u50cf\u7aef\u53e3<\/strong><\/p>\n<p style=\"text-align: justify;\">\u9009\u62e9\u4e00\u4e2a\u63a5\u53e3\u4f5c\u4e3a\u6865\u63a5\u5668\u4e0a\u7684\u955c\u50cf\u7aef\u53e3\u4f1a\u5c06\u6865\u63a5\u7f51\u7edc\u6536\u5230\u7684\u6bcf\u4e2a\u5e27\u7684\u526f\u672c\u53d1\u9001\u5230\u9009\u5b9a\u7684\u63a5\u53e3\u3002 \u8fd9\u5bf9\u4e8e\u8fde\u63a5\u5230\u7f51\u6865\u955c\u50cf\u7aef\u53e3\u7684\u53e6\u4e00\u53f0\u4e3b\u673a\u4e0a\u4f7f\u7528\u8bf8\u5982Snort\u3001cpdump\u7b49\u88ab\u52a8\u5730\u4fa6\u542c\u6865\u63a5\u7f51\u7edc\u975e\u5e38\u6709\u7528\u3002\u6240\u9009\u955c\u50cf\u7aef\u53e3\u4e0d\u80fd\u662f\u7f51\u6865\u4e0a\u7684\u6210\u5458\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u8fb9\u7f18\u7aef\u53e3\/\u81ea\u52a8\u8fb9\u7f18\u7aef\u53e3<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u5c06\u63a5\u53e3\u8bbe\u7f6e\u4e3a\u8fb9\u7f18\u7aef\u53e3\uff0c\u5219\u59cb\u7ec8\u5047\u5b9a\u5176\u8fde\u63a5\u5230\u7ec8\u7aef\u8bbe\u5907\uff0c\u800c\u4e0d\u662f\u8fde\u63a5\u5230\u4ea4\u6362\u673a\uff1b\u5b83\u5047\u5b9a\u7aef\u53e3\u6c38\u8fdc\u4e0d\u4f1a\u521b\u5efa\u7b2c2\u5c42\u5faa\u73af\u3002 \u53ea\u6709\u5728\u7aef\u53e3\u6c38\u8fdc\u4e0d\u4f1a\u8fde\u63a5\u5230\u53e6\u4e00\u53f0\u4ea4\u6362\u673a\u65f6\uff0c\u624d\u80fd\u5728\u7aef\u53e3\u4e0a\u8fdb\u884c\u8bbe\u7f6e\u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u7aef\u53e3\u4f1a\u81ea\u52a8\u68c0\u6d4b\u8fb9\u7f18\u72b6\u6001\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u81ea\u52a8\u8fb9\u7f18\u7aef\u53e3\u4e0b\u9009\u62e9\u5b83\u4eec\u4ee5\u7981\u7528\u81ea\u52a8\u8fb9\u7f18\u68c0\u6d4b\u884c\u4e3a\u3002<\/p>\n<h2 style=\"text-align: justify;\">PTP\u7aef\u53e3\/\u81ea\u52a8PTP\u7aef\u53e3<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u5c06\u63a5\u53e3\u8bbe\u7f6e\u4e3aPTP\u7aef\u53e3\uff0c\u5219\u59cb\u7ec8\u5047\u5b9a\u5176\u8fde\u63a5\u5230\u4ea4\u6362\u673a\uff0c\u800c\u4e0d\u662f\u8fde\u63a5\u5230\u6700\u7ec8\u7528\u6237\u8bbe\u5907\uff1b\u5b83\u5047\u5b9a\u8be5\u7aef\u53e3\u53ef\u80fd\u4f1a\u521b\u5efa\u4e00\u4e2a\u7b2c2\u5c42\u5faa\u73af\u3002 \u53ea\u80fd\u5728\u8fde\u63a5\u5230\u5176\u4ed6\u542f\u7528\u4e86RSTP\u7684\u4ea4\u6362\u673a\u7684\u7aef\u53e3\u4e0a\u542f\u7528\u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u7aef\u53e3\u4f1a\u81ea\u52a8\u68c0\u6d4bPTP\u72b6\u6001\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u81ea\u52a8PTP\u7aef\u53e3\u4e0b\u9009\u62e9\u5b83\u4eec\u4ee5\u7981\u7528\u81ea\u52a8PTP\u68c0\u6d4b\u884c\u4e3a\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u7c98\u6ede\u7aef\u53e3<\/h2>\n<p style=\"text-align: justify;\">\u5728\u7c98\u6ede\u7aef\u53e3\u4e2d\u9009\u62e9\u7684\u63a5\u53e3\u5c06\u5176\u52a8\u6001\u5b66\u4e60\u5730\u5740\u7f13\u5b58\uff0c\u5c31\u597d\u50cf\u5b83\u4eec\u4e00\u65e6\u8fdb\u5165\u7f13\u5b58\u5c31\u662f\u9759\u6001\u7684\u3002 \u5373\u4f7f\u5b83\u4eec\u51fa\u73b0\u5728\u4e0d\u540c\u7684\u63a5\u53e3\u4e0a\uff0c\u7c98\u6ede\u6761\u76ee\u4e5f\u4e0d\u4f1a\u4ece\u5730\u5740\u7f13\u5b58\u4e2d\u5220\u9664\u3002 \u53ef\u4ee5\u4f7f\u7528\u8fd9\u79cd\u5b89\u5168\u63aa\u65bd\u6765\u786e\u4fdd\u8bbe\u5907\u4e0d\u80fd\u968f\u610f\u5728\u7aef\u53e3\u4e4b\u95f4\u79fb\u52a8\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4e13\u7528\u7aef\u53e3<\/h2>\n<p style=\"text-align: justify;\">\u6807\u8bb0\u4e3a\u4e13\u7528\u7aef\u53e3\u7684\u63a5\u53e3\u4e0d\u4f1a\u4e0e\u6807\u8bb0\u4e3a\u4e13\u7528\u7aef\u53e3\u7684\u4efb\u4f55\u5176\u4ed6\u7aef\u53e3\u8fdb\u884c\u901a\u4fe1\u3002 \u5982\u679c\u5b83\u4eec\u8fde\u63a5\u5230\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u6807\u8bb0\u7684\u72ec\u7acb\u7f51\u6865\u7aef\u53e3\uff0c\u5219\u53ef\u4ee5\u7528\u5b83\u6765\u9694\u79bb\u6700\u7ec8\u7528\u6237\u6216\u7f51\u7edc\u7684\u5404\u4e2a\u90e8\u5206\u3002 \u5b83\u7c7b\u4f3c\u4e8e\u65e0\u7ebf\u63a5\u5165\u70b9\u4e0a\u7684\u201c\u4e13\u7528VLAN\u201d\u6216\u5ba2\u6237\u7aef\u9694\u79bb\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u7f51\u6865\u548c\u63a5\u53e3<\/h1>\n<p style=\"text-align: justify;\">\u6865\u63a5\u63a5\u53e3\uff08\u4f8b\u5982\uff0cbridge0\uff09\u672c\u8eab\u53ef\u4ee5\u88ab\u5206\u914d\u4e3a\u63a5\u53e3\u3002\u8fd9\u5141\u8bb8\u6865\u63a5\u5668\u4f5c\u4e3a\u666e\u901a\u63a5\u53e3\uff0c\u5e76\u4e14\u53ef\u4ee5\u50cf\u5176\u4ed6\u666e\u901a\u63a5\u53e3\u4e00\u6837\u8bbe\u7f6eIP\u5730\u5740\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e00\u822c\u6765\u8bf4\uff0c\u6700\u597d\u5728\u7f51\u6865\u4e0a\u914d\u7f6eIP\u3002\u4e3b\u8981\u539f\u56e0\u662f\u7531\u4e8e\u7f51\u6865\u53d6\u51b3\u4e8e\u5206\u914dIP\u5730\u5740\u7684\u63a5\u53e3\u7684\u72b6\u6001\u3002\u5982\u679c\u5728\u6210\u5458\u63a5\u53e3\u4e0a\u914d\u7f6e\u4e86\u7f51\u6865\u7684IP\u5730\u5740\uff0c\u5e76\u4e14\u8be5\u63a5\u53e3\u5df2\u5173\u95ed\uff0c\u5219\u6574\u4e2a\u7f51\u6865\u5c06\u5173\u95ed\uff0c\u4e0d\u518d\u4f20\u8f93\u6d41\u91cf\u3002\u6700\u5e38\u89c1\u7684\u60c5\u51b5\u662f\u65e0\u7ebf\u63a5\u53e3\u6865\u63a5\u5230\u4ee5\u592a\u7f51LAN\u00a0\u7f51\u5361\u3002\u5982\u679c\u62d4\u4e0bLAN\u00a0\u7f51\u5361\uff0c\u5219\u9664\u975e\u5728\u6865\u63a5\u63a5\u53e3\u4e0a\u914d\u7f6e\u4e86IP\u5730\u5740\uff0c\u5426\u5219\u65e0\u7ebf\u5c06\u505c\u6b62\u5de5\u4f5c\u3002\u53e6\u4e00\u4e2a\u539f\u56e0\u662f\uff0c\u5982\u679c\u9650\u5236\u5668\u5fc5\u987b\u7528\u4e8e\u63a7\u5236\u6d41\u91cf\uff0c\u90a3\u4e48\u6865\u63a5\u5668\u4e0a\u5fc5\u987b\u6709\u4e00\u4e2aIP\u5730\u5740\u624d\u80fd\u6b63\u5e38\u5de5\u4f5c\u3002\u540c\u6837\uff0c\u4e3a\u4e86\u8ba9\u5165\u7f51\u95e8\u6237\u6216\u900f\u660e\u4ee3\u7406\u5728\u5185\u90e8\u7f51\u6865\u4e0a\u8fd0\u884c\uff0cIP\u5730\u5740\u5fc5\u987b\u5728\u5206\u914d\u7684\u7f51\u6865\u4e0a\u914d\u7f6e\uff0c\u800c\u4e0d\u662f\u6210\u5458\u63a5\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u4ea4\u6362\u63a5\u53e3\u7684\u5206\u914d<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5728\u8c08\u8bba\u6865\u63a5\u63a5\u53e3\u5206\u914d\u7684\u95ee\u9898\u4e4b\u524d\uff0c\u5fc5\u987b\u6ce8\u610f\u7684\u662f\uff0c\u8fd9\u4e9b\u66f4\u6539\u5e94\u8be5\u7531\u4e0d\u6d89\u53ca\u6865\u63a5\u7684\u7aef\u53e3\u8fdb\u884c\u3002 \u4f8b\u5982\uff0c\u5982\u679c\u5c06WLAN\u6865\u63a5\u5230LAN\uff0c\u8bf7\u4eceWAN\u6216\u5176\u4ed6OPT\u7aef\u53e3\u8fdb\u884c\u66f4\u6539\u3002 \u6216\u8005\uff0c\u4e0b\u8f7dconfig.xml\u7684\u5907\u4efd\u5e76\u624b\u52a8\u8fdb\u884c\u66f4\u6539\u3002 \u5728\u4ece\u8be5\u7aef\u53e3\u7ba1\u7406\u9632\u706b\u5899\u7684\u540c\u65f6\u8bd5\u56fe\u5bf9\u7aef\u53e3\u8fdb\u884c\u66f4\u6539\u5f88\u53ef\u80fd\u5bfc\u81f4\u65e0\u6cd5\u8bbf\u95eeGUI\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u7b80\u5355\u65b9\u6cd5\uff1a\u5c06\u8bbe\u7f6e\u79fb\u81f3\u65b0\u7684\u63a5\u53e3<\/h3>\n<p style=\"text-align: justify;\">\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4eceLAN\u63a5\u53e3\u5355\u72ec\u5220\u9664\u8bbe\u7f6e\uff08IP\u5730\u5740\uff0cDHCP\u7b49\uff09\uff0c\u7136\u540e\u5728\u65b0\u5206\u914d\u7684\u7f51\u6865\u63a5\u53e3\u4e0a\u6fc0\u6d3b\u5b83\u4eec\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u5feb\u901f\u65b9\u6cd5\uff1a\u5c06\u7f51\u6865\u91cd\u65b0\u5206\u914d\u4e3aLAN<\/h3>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u4e2d\uff0c\u6700\u7ec8\u5c06\u7f51\u6865\u66f4\u6539\u4e3aLAN\uff0cLAN IP\u5730\u5740\u3001\u6240\u6709\u4ee5\u524d\u7684\u9632\u706b\u5899\u89c4\u5219\u3001DHCP\u548c\u5176\u4ed6\u63a5\u53e3\u914d\u7f6e\u90fd\u5c06\u4fdd\u7559\u3002<\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"text-align: justify;\">\u5206\u914d\u548c\u914d\u7f6e\u5c1a\u672a\u5904\u7406\u7684\u6865\u63a5\u6210\u5458\u3002\u67e5\u770b\u4ee5\u4e0b\u6b65\u9aa4\u4ee5\u786e\u4fdd\u5373\u4f7f\u63a5\u53e3\u5df2\u88ab\u5206\u914d\u548c\u914d\u7f6e\uff0c\u63a5\u53e3\u8bbe\u7f6e\u5fc5\u987b\u6b63\u786e\u3002<\/li>\n<\/ul>\n<ul style=\"text-align: justify;\">\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\" list-paddingleft-2\">\n<li>\u5bfc\u822a\u5230\u7f51\u7edc\u63a5\u53e3&gt;\u63a5\u53e3\u7ba1\u7406<\/li>\n<li>\u4ece\u53ef\u7528\u7f51\u7edc\u63a5\u53e3\u5217\u8868\u4e2d\u9009\u62e9\u63a5\u53e3<\/li>\n<li>\u70b9\u51fb\u6dfb\u52a0<\/li>\n<li>\u5bfc\u822a\u5230\u65b0\u7684\u63a5\u53e3\u914d\u7f6e\u9875\u9762\uff0c\u4f8b\u5982 \u63a5\u53e3&gt; OPT2<\/li>\n<li>\u9009\u4e2d\u542f\u7528<\/li>\n<li>\u8f93\u5165\u4e00\u4e2a\u63cf\u8ff0\uff0c\u5982WiredLAN2<\/li>\n<li>\u5c06IPv4\u914d\u7f6e\u7c7b\u578b\u548cIPv6\u914d\u7f6e\u7c7b\u578b\u90fd\u8bbe\u7f6e\u4e3a\u65e0<\/li>\n<li>\u5982\u679c\u9009\u4e2d\uff0c\u5219\u53d6\u6d88\u9009\u4e2d\u963b\u6b62\u4e13\u7528\u7f51\u7edc\u548c\u963b\u6b62bogon\u7f51\u7edc<\/li>\n<li>\u70b9\u51fb\u4fdd\u5b58<\/li>\n<li>\u70b9\u51fb\u5e94\u7528\u66f4\u6539<\/li>\n<li>\u91cd\u590d\u6dfb\u52a0\u5176\u4ed6\u672a\u5206\u914d\u7684\u7f51\u6865\u6210\u5458<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7f51\u6865\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\" list-paddingleft-2\">\n<li>\u5bfc\u822a\u5230\u7f51\u7edc\u63a5\u53e3&gt;\u63a5\u53e3\u7ba1\u7406\uff0c\u7f51\u6865\u9009\u9879\u5361<\/li>\n<li>\u70b9\u51fb\u6dfb\u52a0\u521b\u5efa\u4e00\u4e2a\u65b0\u7f51\u6865<\/li>\n<li>\u8f93\u5165\u4e00\u4e2a\u63cf\u8ff0\uff0c\u4f8b\u5982LAN Bridge<\/li>\n<li>\u9009\u62e9\u9664\u6210\u5458\u63a5\u53e3\u5217\u8868\u4e2d\u7684LAN\u63a5\u53e3\u4ee5\u5916\u7684\u6240\u6709\u65b0\u6865\u63a5\u6210\u5458<\/li>\n<li>\u70b9\u51fb\u4fdd\u5b58<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u66f4\u6539\u7f51\u6865\u8fc7\u6ee4\u7cfb\u7edf\u4ee5\u7981\u7528\u6210\u5458\u63a5\u53e3\u8fc7\u6ee4\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\" list-paddingleft-2\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u9ad8\u7ea7\u8bbe\u7f6e\uff0c\u7cfb\u7edf\u53ef\u8c03\u53c2\u6570\u9009\u9879\u5361<\/li>\n<li>\u627e\u5230net.link.bridge.pfil_member\u6761\u76ee\uff0c\u5982\u679c\u4e0d\u5b58\u5728\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u6761\u76ee<\/li>\n<li>\u70b9\u51fb\u53f3\u4fa7\u7f16\u8f91\u56fe\u6807\uff0c\u7f16\u8f91\u73b0\u6709\u7684\u6761\u76ee<\/li>\n<li>\u5728\u503c\u5b57\u6bb5\u4e2d\u8f93\u51650<\/li>\n<li>\u5355\u51fb\u4fdd\u5b58<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u5bfc\u822a\u5230\u7f51\u7edc\u63a5\u53e3&gt;\u63a5\u53e3\u7ba1\u7406<\/li>\n<li>\u5c06LAN\u7684\u5206\u914d\u66f4\u6539\u4e3abridge0<\/li>\n<li>\u70b9\u51fb\u4fdd\u5b58<\/li>\n<li>\u5982\u524d\u6240\u8ff0\u5206\u914d\u548c\u914d\u7f6e\u65e7\u7684LAN\u63a5\u53e3\uff0c\u5c06\u5176IP\u914d\u7f6e\u7c7b\u578b\u8bbe\u7f6e\u4e3aNone\u5e76\u5c06\u5176\u547d\u540d\u4e3aWiredLAN<\/li>\n<li>\u7f16\u8f91\u7f51\u6865\u5e76\u9009\u62e9\u65b0\u5206\u914d\u7684WiredLAN\u4f5c\u4e3a\u7f51\u6865\u6210\u5458<\/li>\n<li>\u66f4\u6539\u7f51\u6865\u8fc7\u6ee4\u7cfb\u7edf\u4ee5\u542f\u7528\u7f51\u6865\u63a5\u53e3\u8fc7\u6ee4<\/li>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\" list-paddingleft-2\">\n<li>\u4f7f\u7528\u524d\u9762\u63cf\u8ff0\u7684\u8fc7\u7a0b\uff0c\u4f46\u662f\u5c06net.link.bridge.pfil_bridge\u8bbe\u7f6e\u4e3a1<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u73b0\u5728\uff0c\u4ee5\u524d\u7684LAN\u63a5\u53e3\u4ee5\u53ca\u65b0\u7684\u6865\u63a5\u6210\u5458\u90fd\u4f4d\u4e8e\u516c\u5171\u76842\u5c42\u4e0a\uff0c\u6865\u63a5\u6210\u5458\u4e0e\u5176\u4ed6\u914d\u7f6e\u4e00\u8d77\u88ab\u5206\u914d\u4e3aLAN\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u6700\u96be\u65b9\u6cd5\uff1a\u624b\u52a8\u7f16\u8f91config.xml<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u90a3\u4e9b\u719f\u6089XML\u914d\u7f6e\u683c\u5f0f\u7684\u4eba\u6765\u8bf4\uff0c\u624b\u52a8\u7f16\u8f91config.xml\u975e\u5e38\u5feb\u901f\u3002 \u8fd9\u79cd\u65b9\u6cd5\u5f88\u5bb9\u6613\u51fa\u9519\uff0c\u6240\u4ee5\u4e00\u5b9a\u8981\u5907\u4efd\uff0c\u4ee5\u514d\u53d1\u751f\u9519\u8bef\u65e0\u6cd5\u6062\u590d\u3002<\/p>\n<p style=\"text-align: justify;\">\u624b\u52a8\u7f16\u8f91config.xml\u6765\u5b8c\u6210\u6b64\u4efb\u52a1\u65f6\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5206\u914d\u5176\u4ed6\u7f51\u6865\u6210\u5458\u5e76\u5c06\u5176IP\u914d\u7f6e\u7c7b\u578b\u8bbe\u7f6e\u4e3a\u65e0<\/li>\n<li>\u521b\u5efa\u7f51\u6865\uff0c\u5305\u62ecLAN\u548cLAN2\u4ee5\u53ca\u5176\u4ed6\u6865\u63a5\u6210\u5458<\/li>\n<li>\u5206\u914d\u7f51\u6865\uff08\u4f8b\u5982\u4f5c\u4e3aOPT2\uff09\u5e76\u542f\u7528\u5b83\uff0c\u540c\u6837IP\u914d\u7f6e\u7c7b\u578b\u4e3aNone<\/li>\n<li>\u4ece\u7cfb\u7edf\u8bca\u65ad&gt;\u5907\u4efd\/\u6062\u590d\u4e0b\u8f7dconfig.xml\u7684\u5907\u4efd<\/li>\n<li>\u5728\u7406\u89e3UNIX\u884c\u5c3e\u7684\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u6253\u5f00config.xml<\/li>\n<li>\u5c06LAN\u5206\u914d\u66f4\u6539\u4e3abridge0<\/li>\n<li>\u5c06\u4ee5\u524d\u7684LAN\u5206\u914d\u66f4\u6539\u4e3a\u539f\u6765\u7684\u6865\u63a5\uff08\u4f8b\u5982OPT2\uff09<\/li>\n<li>\u7f16\u8f91\u7f51\u6865\u5b9a\u4e49\u6765\u5f15\u7528OPT2\u800c\u4e0d\u662fLAN<\/li>\n<li>\u4fdd\u5b58\u66f4\u6539<\/li>\n<li>\u4ece\u7cfb\u7edf\u8bca\u65ad&gt;\u5907\u4efd\/\u6062\u590d\u8fd8\u539f\u7f16\u8f91\u7684config.xml<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u9632\u706b\u5899\u5c06\u4ee5\u6240\u9700\u7684\u8bbe\u7f6e\u91cd\u542f\u3002 \u76d1\u89c6\u63a7\u5236\u53f0\u4ee5\u786e\u4fdd\u6b63\u786e\u5e94\u7528\u8bbe\u7f6e\uff0c\u5e76\u4e14\u5728\u5f15\u5bfc\u8fc7\u7a0b\u4e2d\u4e0d\u4f1a\u9047\u5230\u4efb\u4f55\u9519\u8bef\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5206\u914d\u7f51\u6865MAC\u5730\u5740\u548cWindows\u7cfb\u7edf<\/h2>\n<p style=\"text-align: justify;\">\u7f51\u6865\u7684MAC\u5730\u5740\u662f\u5728\u521b\u5efa\u7f51\u6865\u65f6\u968f\u673a\u786e\u5b9a\u7684\uff0c\u65e0\u8bba\u662f\u5728\u5f15\u5bfc\u65f6\u8fd8\u662f\u5728\u521b\u5efa\u65b0\u7f51\u6865\u65f6\u3002 \u8fd9\u610f\u5473\u7740\u5728\u6bcf\u6b21\u91cd\u65b0\u542f\u52a8\u65f6\uff0cMAC\u5730\u5740\u90fd\u53ef\u80fd\u66f4\u6539\u3002 \u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u8fd9\u5e76\u4e0d\u91cd\u8981\uff0c\u4f46Windows Vista 7\u30018\u548c10\u4f7f\u7528\u7f51\u5173\u7684MAC\u5730\u5740\u6765\u786e\u5b9a\u5b83\u4eec\u662f\u5426\u4f4d\u4e8e\u7279\u5b9a\u7f51\u7edc\u4e0a\u3002 \u5982\u679cMAC\u53d1\u751f\u53d8\u5316\uff0c\u7f51\u7edc\u8eab\u4efd\u5c06\u4f1a\u6539\u53d8\uff0c\u5176\u516c\u5f00\uff0c\u79c1\u5bc6\u7b49\u72b6\u6001\u53ef\u80fd\u9700\u8981\u66f4\u6b63\u3002 \u8981\u89e3\u51b3\u6b64\u95ee\u9898\uff0c\u8bf7\u5728\u5206\u914d\u7684\u7f51\u6865\u63a5\u53e3\u4e0a\u8f93\u5165MAC\u5730\u5740\u6765\u6b3a\u9a97\u5b83\u3002 \u7136\u540e\u5ba2\u6237\u7aef\u5c06\u59cb\u7ec8\u770b\u5230\u548c\u7f51\u5173IP\u5730\u5740\u76f8\u540c\u7684MAC\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u7f51\u6865\u548c\u9632\u706b\u5899<\/strong><\/p>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u6865\u63a5\u63a5\u53e3\u8fc7\u6ee4\u7684\u529f\u80fd\u4e0e\u8def\u7531\u63a5\u53e3\u7c7b\u4f3c\uff0c\u4f46\u6709\u4e00\u4e9b\u914d\u7f6e\u9009\u9879\u53ef\u4ee5\u7cbe\u786e\u5730\u6539\u53d8\u8fc7\u6ee4\u884c\u4e3a\u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u9632\u706b\u5899\u89c4\u5219\u4ee5\u5165\u7ad9\u65b9\u5f0f\u5e94\u7528\u4e8e\u7f51\u6865\u7684\u6bcf\u4e2a\u6210\u5458\u63a5\u53e3\u4e0a\uff0c\u5c31\u50cf\u4efb\u4f55\u5176\u4ed6\u8def\u7531\u63a5\u53e3\u4e00\u6837\u3002<\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u51b3\u5b9a\u8fc7\u6ee4\u5668\u662f\u53d1\u751f\u5728\u7f51\u6865\u6210\u5458\u63a5\u53e3\u8fd8\u662f\u7f51\u6865\u63a5\u53e3\u672c\u8eab\u3002\u00a0\u8fd9\u53ef\u4ee5\u901a\u8fc7\u7cfb\u7edf&gt;\u9ad8\u7ea7\u9009\u9879\uff0c\u7cfb\u7edf\u53ef\u8c03\u53c2\u6570\u9009\u9879\u5361\u4e2d\u7684\u4e24\u4e2a\u503c\u6765\u63a7\u5236\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002 net.link.bridge.pfil_member\u53ef\u8c03\u53c2\u6570\u63a7\u5236\u662f\u5426\u5728\u6865\u63a5\u6210\u5458\u63a5\u53e3\u4e0a\u9075\u5b88\u8fd9\u4e9b\u89c4\u5219\u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\uff081\uff09\u3002 net.link.bridge.pfil_bridge\u53ef\u8c03\u53c2\u6570\u63a7\u5236\u662f\u5426\u5728\u6865\u63a5\u53e3\u81ea\u8eab\u9075\u5b88\u8fd9\u4e9b\u89c4\u5219\u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u5173\u95ed\uff080\uff09\u3002\u8fd9\u4e24\u4e2a\u5f53\u4e2d\u81f3\u5c11\u6709\u4e00\u4e2a\u5fc5\u987b\u8bbe\u7f6e\u4e3a1\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1692\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/bridge-filter-tunables.png\" alt=\"\" width=\"1128\" height=\"72\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/bridge-filter-tunables.png 1128w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/bridge-filter-tunables-1024x65.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/bridge-filter-tunables-300x19.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/bridge-filter-tunables-768x49.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/bridge-filter-tunables-500x32.png 500w\" sizes=\"auto, (max-width: 1128px) 100vw, 1128px\" \/><\/p>\n<p style=\"text-align: justify;\">\u5728\u6865\u63a5\u63a5\u53e3\u672c\u8eab\u8fdb\u884c\u8fc7\u6ee4\u65f6\uff0c\u6d41\u91cf\u5c06\u4ece\u4efb\u4f55\u6210\u5458\u63a5\u53e3\u8fdb\u5165\u89c4\u5219\u3002 \u4e0e\u5176\u4ed6\u4efb\u4f55\u63a5\u53e3\u89c4\u5219\u4e00\u6837\uff0c\u8fd9\u4e9b\u89c4\u5219\u4ecd\u88ab\u89c6\u4e3a\u201c\u5165\u7ad9\u201d\uff0c\u4f46\u5b83\u4eec\u66f4\u50cf\u63a5\u53e3\u7ec4\uff0c\u56e0\u4e3a\u76f8\u540c\u7684\u89c4\u5219\u9002\u7528\u4e8e\u6bcf\u4e2a\u6210\u5458\u63a5\u53e3\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9632\u706b\u5899\u89c4\u5219<\/h2>\n<p style=\"text-align: justify;\">\u4e00\u4e2a\u7f51\u6865\u63a5\u53e3\u4f1a\u8bbe\u7f6e\u4e00\u4e2aIP\u5730\u5740\uff0c\u5176\u4ed6\u7684\u5219\u6ca1\u6709\u3002 \u5bf9\u4e8e\u8fd9\u4e9b\u63a5\u53e3\uff0c\u5982OPT1\u5730\u5740\u548cOPT1\u7f51\u7edc\u5728\u9632\u706b\u5899\u4e0a\u672a\u5b9a\u4e49\uff0c\u56e0\u4e3a\u8be5\u63a5\u53e3\u6ca1\u6709\u5730\u5740\uff0c\u56e0\u6b64\u4e5f\u6ca1\u6709\u5b50\u7f51\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u5728\u7f51\u6865\u6210\u5458\u4e0a\u6267\u884c\u8fc7\u6ee4\uff0c\u5728\u5236\u5b9a\u89c4\u5219\u65f6\u5e94\u660e\u786e\u5217\u51fa\u5b50\u7f51\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u6865\u63a5\u4e24\u4e2a\u5185\u90e8\u7f51\u7edc<\/h1>\n<p style=\"text-align: justify;\">\u5728\u6865\u63a5\u4e24\u4e2a\u5185\u90e8\u7f51\u7edc\u65f6\uff0c\u5e94\u6ce8\u610f\u5bf9\u9632\u706b\u5899\u4e0a\u67d0\u4e9b\u670d\u52a1\u7684\u5f71\u54cd\u3002<\/p>\n<p style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u7531\u4e8e802.11\u529f\u80fd\u7684\u65b9\u5f0f\uff0c\u6865\u63a5\u65e0\u7ebf\u63a5\u53e3\u65f6\u8fd8\u6709\u5176\u4ed6\u8981\u6c42\u548c\u9650\u5236\u3002<\/p>\n<h2 style=\"text-align: justify;\">DHCP\u548c\u5185\u90e8\u7f51\u6865<\/h2>\n<p style=\"text-align: justify;\">\u5f53\u5c06\u4e00\u4e2a\u5185\u90e8\u7f51\u7edc\u8fde\u63a5\u5230\u53e6\u4e00\u4e2a\u65f6\uff0c\u9700\u8981\u5b8c\u6210\u4e24\u4ef6\u4e8b\u60c5\u3002 \u9996\u5148\uff0c\u786e\u4fddDHCP\u53ea\u5728\u5305\u542bIP\u5730\u5740\u7684\u63a5\u53e3\u4e0a\u8fd0\u884c\uff0c\u800c\u4e0d\u5728\u6ca1\u6709\u5730\u5740\u7684\u7f51\u6865\u6210\u5458\u4e0a\u8fd0\u884c\u3002 \u5176\u6b21\uff0c\u5728\u6210\u5458\u63a5\u53e3\u7684\u89c4\u5219\u9876\u90e8\u53ef\u80fd\u9700\u8981\u989d\u5916\u7684\u9632\u706b\u5899\u89c4\u5219\u4ee5\u5141\u8bb8DHCP\u901a\u4fe1\u3002<\/p>\n<p style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u8fd9\u4ec5\u9002\u7528\u4e8e\u5728\u6210\u5458\u63a5\u53e3\u4e0a\u6267\u884c\u7b5b\u9009\uff0c\u800c\u4e0d\u662f\u5728\u7f51\u6865\u4e0a\u6267\u884c\u7b5b\u9009\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u521b\u5efa\u89c4\u5219\u5141\u8bb8\u63a5\u53e3\u4e0a\u7684\u901a\u4fe1\u65f6\uff0c\u901a\u5e38\u5c06\u6e90\u6307\u5b9a\u4e3a\u4e0eOPT1\u5b50\u7f51\u7c7b\u4f3c\uff0c\u4ee5\u4fbf\u53ea\u5141\u8bb8\u6765\u81ea\u8be5\u5b50\u7f51\u7684\u6d41\u91cf\u901a\u8fc7\u8be5\u7f51\u6bb5\u3002\u00a0\u5982\u679c\u4f7f\u7528DHCP\u670d\u52a1\uff0c\u8fd9\u8fd8\u4e0d\u591f\u3002 \u7531\u4e8e\u5ba2\u6237\u7aef\u8fd8\u6ca1\u6709IP\u5730\u5740\uff0cDHCP\u8bf7\u6c42\u5c06\u4f5c\u4e3a\u5e7f\u64ad\u6267\u884c\u3002 \u4e3a\u4e86\u9002\u5e94\u8fd9\u4e9b\u8bf7\u6c42\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u8bbe\u7f6e\u5728\u6865\u63a5\u6210\u5458\u63a5\u53e3\u4e0a\u521b\u5efa\u4e00\u4e2a\u89c4\u5219\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u9632\u706b\u5899\u00a0&gt;\u89c4\u5219\u7b56\u7565\uff0c\u6865\u63a5\u6210\u5458\u9009\u9879\u5361\u4e0a<\/li>\n<li>\u5355\u51fb <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1693\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-level-up.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u00a0\u5728\u5217\u8868\u9876\u90e8\u6dfb\u52a0\u4e00\u4e2a\u89c4\u5219<\/li>\n<li>\u534f\u8bae:\u00a0UDP<\/li>\n<li>\u6e90\u5730\u5740:\u00a00.0.0.0<\/li>\n<li>\u6e90\u7aef\u53e3:\u00a068<\/li>\n<li>\u76ee\u7684\u7f51\u7edc:\u00a0255.255.255.255<\/li>\n<li>\u76ee\u7684\u7aef\u53e3:\u00a067<\/li>\n<li>\u63cf\u8ff0\uff1a\u00a0\u00a0Allow\u00a0DHCP<\/li>\n<li>\u5355\u51fb\u4fdd\u5b58\u5e76\u5e94\u7528\u66f4\u6539<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1694\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged.png\" alt=\"\" width=\"1143\" height=\"211\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged.png 1143w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-1024x189.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-300x55.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-768x142.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-500x92.png 500w\" sizes=\"auto, (max-width: 1143px) 100vw, 1143px\" \/><\/p>\n<p style=\"text-align: justify;\">\u5728\u6dfb\u52a0\u89c4\u5219\u540e\uff0c\u6865\u63a5\u7f51\u6bb5\u4e2d\u7684\u5ba2\u6237\u7aef\u5c06\u80fd\u591f\u6536\u5230DHCP\u5b88\u62a4\u7a0b\u5e8f\u5206\u914d\u7684IP\u5730\u5740\u3002<\/p>\n<p style=\"text-align: justify;\">\u7531\u4e8eDHCPv6\u4e0e\u94fe\u8def\u672c\u5730\u548c\u591a\u64adIPv6\u5730\u5740\u8fdb\u884c\u901a\u4fe1\uff0c\u56e0\u6b64DHCPv6\u7684\u8bbe\u7f6e\u6709\u70b9\u590d\u6742\u3002\u00a0\u53ef\u4ee5\u53c2\u9605\u4e0b\u56fe\u8fdb\u884c\u8bbe\u7f6e\u3002\u53ef\u4ee5\u901a\u8fc7\u522b\u540d\u7b80\u5316\u4e3a\u4e00\u4e2a\u6216\u4e24\u4e2a\u5305\u542b\u6b63\u786e\u7684\u6e90\u7f51\u7edc\uff0c\u76ee\u6807\u7f51\u7edc\u548c\u7aef\u53e3\u7684\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1695\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-ipv6.png\" alt=\"\" width=\"1145\" height=\"435\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-ipv6.png 1145w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-ipv6-1024x389.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-ipv6-300x114.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-ipv6-768x292.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/dhcp-bridged-ipv6-500x190.png 500w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong>\u6865\u63a5\u4e92\u64cd\u4f5c\u6027<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5728\u67d0\u4e9b\u65b9\u9762\uff0c\u6865\u63a5\u63a5\u53e3\u4e0e\u666e\u901a\u63a5\u53e3\u4e0d\u540c\uff0c\u56e0\u6b64\u5b58\u5728\u4e00\u4e9b\u4e0e\u6865\u63a5\u4e0d\u517c\u5bb9\u7684\u529f\u80fd\uff0c\u4ee5\u53ca\u5176\u4ed6\u9700\u8981\u8fdb\u884c\u989d\u5916\u8003\u8651\u4ee5\u9002\u5e94\u6865\u63a5\u7684\u529f\u80fd\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u5165\u7f51\u95e8\u6237<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5165\u7f51\u95e8\u6237\u4e0e\u900f\u660e\u6865\u4e0d\u517c\u5bb9\uff0c\u56e0\u4e3a\u5b83\u8981\u6c42\u63a5\u53e3\u4e0a\u7684IP\u88ab\u6865\u63a5\uff0c\u7528\u4e8e\u4e3a\u95e8\u6237\u5185\u5bb9\u63d0\u4f9b\u670d\u52a1\uff0c\u5e76\u4e14\u8be5IP\u5fc5\u987b\u662f\u5ba2\u6237\u7aef\u7684\u7f51\u5173\u3002<\/p>\n<p style=\"text-align: justify;\">\u5f53\u901a\u8fc7pfSense\u5c06\u591a\u4e2a\u672c\u5730\u63a5\u53e3\u6865\u63a5\u5230\u6240\u6709\u8def\u7531\u65f6\uff08\u4f8b\u5982\uff0cLAN1\uff0cLAN2\uff0cLAN3\u7b49\uff09\uff0c\u5165\u7f51\u95e8\u6237\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002\u5982\u679c\u5206\u914d\u4e86\u7f51\u6865\u63a5\u53e3\uff0c\u7f51\u6865\u63a5\u53e3\u5177\u6709IP\u5730\u5740\uff0c\u5e76\u4e14\u8be5\u7f51\u6865\u4e0a\u7684\u5ba2\u6237\u7aef\u4f7f\u7528\u8be5IP\u5730\u5740\u4f5c\u4e3a\u7f51\u5173\uff0c\u5165\u7f51\u95e8\u6237\u4e5f\u53ef\u4ee5\u8d77\u4f5c\u7528\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u9ad8\u53ef\u7528\u6027<\/strong><\/p>\n<p style=\"text-align: justify;\">\u76ee\u524d\u4e0d\u63a8\u8350\u4f7f\u7528\u9ad8\u53ef\u7528\u6027\uff08\u9ad8\u53ef\u7528\u6027\uff09\u8fdb\u884c\u6865\u63a5\u3002\u867d\u7136\u6709\u4eba\u5728\u8fc7\u53bb\u5c06\u8fd9\u4e24\u8005\u7ed3\u5408\u8d77\u6765\u65f6\u53d6\u5f97\u4e86\u6210\u529f\uff0c\u4f46\u5fc5\u987b\u975e\u5e38\u5c0f\u5fc3\u5730\u5904\u74062\u5c42\u5faa\u73af\u95ee\u9898\uff0c\u8fd9\u5728HA +\u6865\u63a5\u573a\u666f\u4e2d\u662f\u4e0d\u53ef\u907f\u514d\u7684\u3002\u5f53\u4e24\u4e2a\u7f51\u6bb5\u88ab\u6865\u63a5\u65f6\uff0c\u5b83\u4eec\u5b9e\u9645\u4e0a\u5408\u5e76\u6210\u4e00\u4e2a\u66f4\u5927\u7684\u7f51\u7edc\u3002\u5f53HA\u88ab\u6dfb\u52a0\u5230\u6df7\u5408\u7f51\u7edc\u4e2d\u65f6\uff0c\u8fd9\u610f\u5473\u7740\u6bcf\u4e2a\u76f8\u5e94\u63a5\u53e3\u7684\u4ea4\u6362\u673a\u4e4b\u95f4\u5c06\u6709\u4e24\u6761\u8def\u5f84\uff0c\u4ece\u800c\u5f62\u6210\u4e00\u4e2a\u73af\u8def\u3002<\/p>\n<p style=\"text-align: justify;\">\u7ba1\u7406\u578b\u4ea4\u6362\u673a\u53ef\u4ee5\u4f7f\u7528\u751f\u6210\u6811\u534f\u8bae\uff08STP\uff09\u5904\u7406\u6b64\u95ee\u9898\uff0c\u4f46\u975e\u7ba1\u7406\u578b\u4ea4\u6362\u673a\u65e0\u6cd5\u9632\u6b62\u5faa\u73af\u3002\u5982\u679c\u4e0d\u52a0\u63a7\u5236\uff0c\u4e00\u4e2a\u5faa\u73af\u4f1a\u4f7f\u7f51\u7edc\u762b\u75ea\uff0c\u65e0\u6cd5\u8fdb\u884c\u4efb\u4f55\u901a\u4fe1\u3002\u53ef\u4ee5\u5728\u7f51\u6865\u4e0a\u914d\u7f6eSTP\uff0c\u4f46\u4ecd\u53ef\u80fd\u4f1a\u6709\u610f\u60f3\u4e0d\u5230\u7684\u7ed3\u679c\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u591aWAN<\/strong><\/p>\n<p style=\"text-align: justify;\">\u900f\u660e\u6865\u63a5\u7684\u6027\u8d28\u5728\u591a\u79cd\u7528\u9014\u4e0a\u4e0e\u591aWAN\u4e0d\u517c\u5bb9\u3002\u5f53\u5728WAN\u548cLAN \/ OPT\u63a5\u53e3\u4e4b\u95f4\u4f7f\u7528\u6865\u63a5\u65f6\uff0c\u901a\u5e38pfSense\u4ee5\u5916\u7684\u4e1c\u897f\u5c06\u6210\u4e3a\u6865\u63a5\u63a5\u53e3\u4e0a\u4e3b\u673a\u7684\u9ed8\u8ba4\u7f51\u5173\uff0c\u5e76\u4e14\u8be5\u8def\u7531\u5668\u662f\u552f\u4e00\u53ef\u4ee5\u5f15\u5bfc\u6765\u81ea\u8fd9\u4e9b\u4e3b\u673a\u7684\u6d41\u91cf\u7684\u8bbe\u5907\u3002\u8fd9\u5e76\u4e0d\u59a8\u788d\u5c06\u591aWAN\u7528\u4e8e\u540c\u4e00\u9632\u706b\u5899\u4e0a\u672a\u6865\u63a5\u7684\u5176\u4ed6\u63a5\u53e3\uff0c\u5b83\u53ea\u4f1a\u5f71\u54cd\u6865\u63a5\u63a5\u53e3\u4e0a\u4f7f\u7528\u975epfSense\u4f5c\u4e3a\u9ed8\u8ba4\u7f51\u5173\u7684\u4e3b\u673a\u3002\u5982\u679c\u5c06\u591a\u4e2a\u5185\u90e8\u63a5\u53e3\u6865\u63a5\u5728\u4e00\u8d77\uff0c\u5e76\u4e14pfSense\u662f\u6865\u63a5\u63a5\u53e3\u4e0a\u4e3b\u673a\u7684\u9ed8\u8ba4\u7f51\u5173\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u4e0e\u975e\u6865\u63a5\u63a5\u53e3\u76f8\u540c\u7684\u591aWAN\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u9650\u5236\u5668<\/strong><\/p>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u4f7f\u9650\u5236\u5668\u80fd\u591f\u4ee5\u6865\u63a5\u65b9\u5f0f\u5de5\u4f5c\uff0c\u6865\u63a5\u5668\u672c\u8eab\u5fc5\u987b\u88ab\u5206\u914d\uff0c\u5e76\u4e14\u6865\u63a5\u5668\u5fc5\u987b\u5177\u6709IP\u5730\u5740\u800c\u4e0d\u662f\u6210\u5458\u63a5\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>LAN NAT\u548c\u900f\u660e\u4ee3\u7406<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u5c40\u57df\u7f51\u4e0a\u7684\u7aef\u53e3\u8f6c\u53d1\uff0c\u6216\u8005\u4f7f\u7528LAN\u4e0a\u7684\u7aef\u53e3\u8f6c\u53d1\u6765\u6355\u83b7\u6d41\u91cf\u7684\u900f\u660e\u4ee3\u7406\uff0c\u4ee5\u4fbf\u5728\u7f51\u6865\u573a\u666f\u4e2d\u8fd0\u884c\uff0c\u60c5\u51b5\u4e0e\u5165\u7f51\u95e8\u6237\u76f8\u540c\uff1a\u5b83\u4ec5\u9002\u7528\u4e8eLAN\u7f51\u6865\uff0c\u800c\u4e0d\u9002\u7528\u4e8eWAN \/ LAN\u7f51\u6865\uff0c IP\u5730\u5740\u5fc5\u987b\u4f4d\u4e8e\u5206\u914d\u7684\u7f51\u6865\u63a5\u53e3\u4e0a\uff0c\u5e76\u4e14\u8be5IP\u5730\u5740\u5fc5\u987b\u7528\u4f5c\u672c\u5730\u5ba2\u6237\u7aef\u7684\u7f51\u5173\u3002\u8fd9\u610f\u5473\u7740\u50cfSquid\u8fd9\u6837\u7684\u63d2\u4ef6\u65e0\u6cd5\u5728LAN\u6865\u63a5\u5230WAN\u7684\u900f\u660e\u9632\u706b\u5899\u4e0b\u5de5\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 \u521b\u5efa\u4e00\u4e2a\u7f51\u6865 \u7f51\u6865\u9ad8\u7ea7\u914d\u7f6e \u7f51\u6865\u548c\u63a5\u53e3 \u7f51\u6865\u548c\u9632\u706b\u5899 \u6865\u63a5\u4e24\u4e2a\u5185\u90e8\u7f51\u7edc \u7f51 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=163\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[124],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-124"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/163","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=163"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}