{"id":1046,"date":"2018-12-29T11:09:33","date_gmt":"2018-12-29T03:09:33","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=1046"},"modified":"2020-08-24T21:44:37","modified_gmt":"2020-08-24T13:44:37","slug":"%e5%9c%a8pfsense%e4%b8%ad%e5%b0%86%e5%a4%9a%e4%b8%aa%e6%8e%a5%e5%8f%a3%e6%a1%a5%e6%8e%a5%e4%b8%ba%e4%b8%80%e4%b8%aalan","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=1046","title":{"rendered":"\u5728pfSense\u4e2d\u5c06\u591a\u4e2a\u63a5\u53e3\u6865\u63a5\u4e3a\u4e00\u4e2a\u201cLAN\u201d"},"content":{"rendered":"<p style=\"text-align: justify;\">\u5728\u4e00\u822c\u7684\u5bb6\u5ead\u7f51\u7edc\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5c06\u591a\u4e2a\u63a5\u53e3\u6865\u63a5\u4e3a\u4e00\u4e2a&#8221;lan&#8221;\u7684\u60c5\u51b5\uff0c\u5c31\u662f\u5c06\u9664WAN\u63a5\u53e3\u5916\uff0c\u6240\u6709\u7684\u63a5\u53e3\u90fd\u8f6c\u6362\u4e3a\u5355\u4e2a\u6865\u63a5\u7684\u201cLAN\u201d\uff0c\u4ee5\u907f\u514d\u5728\u4e0d\u540c\u5b50\u7f51\u4e4b\u95f4\u8f6c\u6362\u6570\u636e\u5305\u3002<br \/>\n<span id=\"more-59\"><\/span><\/p>\n<p style=\"text-align: justify;\">\u4e0b\u9762\uff0c\u6211\u4eec\u6765\u914d\u7f6e\u8fd9\u4e2a\u529f\u80fd\uff0c\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u5206\u914d\u548c\u542f\u7528\u5176\u4ed6\u63a5\u53e3<\/li>\n<li>\u521b\u5efa\u6865\u63a5\u63a5\u53e3<\/li>\n<li>\u4e3a\u6865\u63a5\u63a5\u53e3\u5206\u914dIP\u5730\u5740<\/li>\n<li>\u521b\u5efa\u63a5\u53e3\u7ec4<\/li>\n<li>\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219<\/li>\n<li>\u5728\u7f51\u6865\u4e0a\u542f\u7528DHCP\u670d\u52a1<\/li>\n<li>\u4eceEM1\u4e2d\u5220\u9664IP\u5730\u5740<\/li>\n<\/ul>\n<hr \/>\n<h2 style=\"text-align: justify;\">\u4e00\u3001\u5206\u914d\u5e76\u542f\u7528\u5176\u4ed6\u63a5\u53e3\uff1a<\/h2>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230Interfaces &gt; (assign)\uff0c\u542f\u7528\u4f60\u5e0c\u671b\u5305\u542b\u5728\u672c\u5730LAN Bridge\u4e2d\u7684\u6240\u6709\u63a5\u53e3\u3002<br \/>\n<a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.0-assign-nic.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3377\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.0-assign-nic.png\" alt=\"\u5206\u914d\u6240\u6709\u7f51\u5361\" width=\"730\" height=\"388\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.0-assign-nic.png 730w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.0-assign-nic-300x159.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.0-assign-nic-500x266.png 500w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u7136\u540e\uff0c\u5bf9\u4e8e\u5206\u914d\u7684\u6bcf\u4e2a\u63a5\u53e3\uff0c\u901a\u8fc7Interfaces &gt; EM&lt;x&gt;\u00a0\u83dc\u5355\u9879\u542f\u7528\u8be5\u63a5\u53e3\uff0c\u5e76\u786e\u4fdd\u5c06IPv4\u548cIPv6\u5730\u5740\u6307\u5b9a\u4e3a\u201cNone\u201d\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.1-enable-nic.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3378\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.1-enable-nic.png\" alt=\"\u542f\u7528\u6240\u6709\u7f51\u5361\" width=\"736\" height=\"484\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.1-enable-nic.png 736w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.1-enable-nic-300x197.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-1.1-enable-nic-456x300.png 456w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u4e8c\u3001\u521b\u5efa\u6865\u63a5\u63a5\u53e3\uff1a<\/h2>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230Interfaces &gt; (assign) &gt; Bridges\uff0c\u521b\u5efa\u865a\u62df\u6865\u63a5\u53e3\uff1b\u5355\u51fbAdd +\u6309\u94ae\u6dfb\u52a0\u7f51\u6865\u5e76\u9009\u62e9\u6240\u9700\u7684\u63a5\u53e3\uff0c\u4e0d\u8981\u9009\u4e2dWAN\u63a5\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.0-create-bridge.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3379\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.0-create-bridge.png\" alt=\"\u521b\u5efa\u6865\" width=\"741\" height=\"380\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.0-create-bridge.png 741w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.0-create-bridge-300x154.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.0-create-bridge-500x256.png 500w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5b8c\u6210\u540e\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.1-bridge-created.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3380\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.1-bridge-created.png\" alt=\"\u6865\u6881\u521b\u5efa\" width=\"736\" height=\"287\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.1-bridge-created.png 736w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.1-bridge-created-300x117.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.1-bridge-created-500x195.png 500w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u4e0b\u9762\uff0c\u5bfc\u822a\u5230Interfaces &gt;\u00a0BR0\u00a0\u83dc\u5355\uff0c\u4e3a\u7f51\u6865\u5206\u914dIP\u5730\u5740\uff08IPv4\uff09\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.2-assign-bridge-ip.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3381\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.2-assign-bridge-ip.png\" alt=\"\u4e3a\u7f51\u6865\u5206\u914dIP\u5730\u5740\" width=\"745\" height=\"897\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.2-assign-bridge-ip.png 745w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-2.2-assign-bridge-ip-249x300.png 249w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u4e09\u3001\u521b\u5efa\u63a5\u53e3\u7ec4<\/h2>\n<p style=\"text-align: justify;\">\u63a5\u4e0b\u6765\uff0c\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u6240\u6709\u63a5\u53e3\u548c\u6865\u63a5\u63a5\u53e3\u7684\u63a5\u53e3\u7ec4\u3002\u6765\u65b9\u4fbf\u6dfb\u52a0\u201cLAN\u201d\u9632\u706b\u5899\u89c4\u5219\u3002\u5bfc\u822a\u5230 Interfaces &gt; (assign) &gt; Interface Groups\u3002\u5355\u51fbAdd +\u6309\u94ae\u6dfb\u52a0\u63a5\u53e3\u7ec4\u7ec4\uff0c\u8fd9\u91cc\u6ce8\u610f\u8981\u5305\u62ec\u7f51\u6865\u672c\u8eab\uff0c\u4f46\u4e0d\u5305\u62ecWAN\u00a0\u63a5\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.0-create-interface-group.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3382\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.0-create-interface-group.png\" alt=\"\u521b\u5efa\u63a5\u53e3\u7ec4\" width=\"753\" height=\"477\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.0-create-interface-group.png 753w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.0-create-interface-group-300x190.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.0-create-interface-group-474x300.png 474w\" sizes=\"auto, (max-width: 753px) 100vw, 753px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5b8c\u6210\u540e\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.1-group-created.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3383\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.1-group-created.png\" alt=\"\u63a5\u53e3\u7ec4\u5df2\u521b\u5efa\" width=\"741\" height=\"278\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.1-group-created.png 741w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.1-group-created-300x113.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-3.1-group-created-500x188.png 500w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u56db\u3001\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219<\/h2>\n<p style=\"text-align: justify;\">\u4e0b\u9762\uff0c\u6211\u4eec\u6765\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219\u4ee5\u5141\u8bb8\u6d41\u91cf\u5728\u63a5\u53e3\u7ec4\u7684\u63a5\u53e3\u4e4b\u95f4\u6d41\u52a8\uff0c\u4ee5\u4f5c\u4e3a\u5355\u4e2a\u65e0\u7ea6\u675f\u7684LAN\u3002\u5bfc\u822a\u5230Firewall &gt; Rules &gt; Bridge\uff0c\u5e76\u6dfb\u52a0\u5982\u4e0b\u89c4\u5219\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-4.0-interface-group-rule.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3384\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-4.0-interface-group-rule.png\" alt=\"\u7ec4\u9632\u706b\u5899\u89c4\u5219\" width=\"735\" height=\"1063\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-4.0-interface-group-rule.png 735w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-4.0-interface-group-rule-708x1024.png 708w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-4.0-interface-group-rule-207x300.png 207w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u4e94\u3001\u5728Bridge\u4e0a\u542f\u7528DHCP\u670d\u52a1<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u4f60\u8981\u5728\u672c\u5730LAN\u4e0a\u8fd0\u884cDHCP\u670d\u52a1\u5668\uff0c\u5bfc\u822a\u5230\u00a0Services &gt; DHCP Server &gt; BR0\uff0c\u5728Bridge\u63a5\u53e3\u4e0a\u914d\u7f6eDHCP\u670d\u52a1\u5668\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-5.0-dhcp-server-on-bridge.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3385\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-5.0-dhcp-server-on-bridge.png\" alt=\"Setup Bridge DHCP Server\" width=\"750\" height=\"743\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-5.0-dhcp-server-on-bridge.png 750w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-5.0-dhcp-server-on-bridge-300x297.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-5.0-dhcp-server-on-bridge-303x300.png 303w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u516d\u3001\u4eceEM1\u4e2d\u5220\u9664IP\u5730\u5740<\/h2>\n<p style=\"text-align: justify;\">\u6700\u540e\uff0c\u6211\u4eec\u4eceEM1\u4e2d\u5220\u9664IP\u5730\u5740\u3002\u5982\u679c\u8be5\u63a5\u53e3\u4e0a\u542f\u7528\u4e86DHCP\u670d\u52a1\u5fc5\u987b\u5148\u7981\u7528\u3002\u5bfc\u822a\u5230 Interfaces &gt; EM1\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-6.0-remove-ip-address-from-em1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3386\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-6.0-remove-ip-address-from-em1.png\" alt=\"Remove EM1 IP Address\" width=\"746\" height=\"485\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-6.0-remove-ip-address-from-em1.png 746w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-6.0-remove-ip-address-from-em1-300x195.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfs-bridge-6.0-remove-ip-address-from-em1-461x300.png 461w\" sizes=\"auto, (max-width: 746px) 100vw, 746px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5230\u6b64\uff0c\u9664WAN\u63a5\u53e3\u5916\uff0c\u6240\u6709\u63a5\u53e3\u90fd\u5728\u4e00\u4e2aLAN\u7f51\u6865\u4e0a\u3002<\/p>\n<p>\u539f\u6587<a href=\"https:\/\/eengstrom.github.io\/musings\/configure-pfsense-bridge-over-multiple-nics-as-lan\">\u5730\u5740<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e00\u822c\u7684\u5bb6\u5ead\u7f51\u7edc\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5c06\u591a\u4e2a\u63a5\u53e3\u6865\u63a5\u4e3a\u4e00\u4e2a&#8221;lan&#038;#8221 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=1046\">\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":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[124],"class_list":["post-1046","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\/1046","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=1046"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1046\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}