{"id":401,"date":"2018-08-09T15:16:26","date_gmt":"2018-08-09T07:16:26","guid":{"rendered":"https:\/\/pfsensechina.com\/wp\/?p=401"},"modified":"2020-08-24T22:03:50","modified_gmt":"2020-08-24T14:03:50","slug":"pfsense%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%ba%e5%92%8c%e9%85%8d%e7%bd%aevlan","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=401","title":{"rendered":"pfSense\u521b\u5efa\u548c\u914d\u7f6eVLAN"},"content":{"rendered":"<p style=\"text-align: justify;\">\u865a\u62df\u5c40\u57df\u7f51\uff08VLAN\uff09\u662f\u4e00\u7ec4\u903b\u8f91\u4e0a\u7684\u8bbe\u5907\u548c\u7528\u6237\uff0c\u8fd9\u4e9b\u8bbe\u5907\u548c\u7528\u6237\u5e76\u4e0d\u53d7\u7269\u7406\u4f4d\u7f6e\u7684\u9650\u5236\uff0c\u53ef\u4ee5\u6839\u636e\u529f\u80fd\u3001\u90e8\u95e8\u53ca\u5e94\u7528\u7b49\u56e0\u7d20\u5c06\u5b83\u4eec\u7ec4\u7ec7\u8d77\u6765\uff0c\u76f8\u4e92\u4e4b\u95f4\u7684\u901a\u4fe1\u5c31\u597d\u50cf\u5b83\u4eec\u5728\u540c\u4e00\u4e2a\u7f51\u6bb5\u4e2d\u4e00\u6837\uff0c\u7531\u6b64\u5f97\u540d\u865a\u62df\u5c40\u57df\u7f51\u3002VLAN\u662f\u4e00\u79cd\u6bd4\u8f83\u65b0\u7684\u6280\u672f\uff0c\u5de5\u4f5c\u5728OSI\u53c2\u8003\u6a21\u578b\u7684\u7b2c2\u5c42\u548c\u7b2c3\u5c42\uff0c\u4e00\u4e2aVLAN\u5c31\u662f\u4e00\u4e2a\u5e7f\u64ad\u57df\uff0cVLAN\u4e4b\u95f4\u7684\u901a\u4fe1\u662f\u901a\u8fc7\u7b2c3\u5c42\u7684\u8def\u7531\u5668\u6765\u5b8c\u6210\u7684\u3002\u4e0e\u4f20\u7edf\u7684\u5c40\u57df\u7f51\u6280\u672f\u76f8\u6bd4\u8f83\uff0cVLAN\u6280\u672f\u66f4\u52a0\u7075\u6d3b\uff0c\u5b83\u5177\u6709\u4ee5\u4e0b\u4f18\u70b9\uff1a \u7f51\u7edc\u8bbe\u5907\u7684\u79fb\u52a8\u3001\u6dfb\u52a0\u548c\u4fee\u6539\u7684\u7ba1\u7406\u96be\u5ea6\u51cf\u5c11\uff1b\u53ef\u4ee5\u63a7\u5236\u5e7f\u64ad\u6d3b\u52a8\uff1b\u53ef\u63d0\u9ad8\u7f51\u7edc\u7684\u5b89\u5168\u6027\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u8ba1\u7b97\u673a\u7f51\u7edc\u4e2d\uff0c\u4e00\u4e2a\u4e8c\u5c42\u7f51\u7edc\u53ef\u4ee5\u88ab\u5212\u5206\u4e3a\u591a\u4e2a\u4e0d\u540c\u7684\u5e7f\u64ad\u57df\uff0c\u4e00\u4e2a\u5e7f\u64ad\u57df\u5bf9\u5e94\u4e00\u4e2a\u7279\u5b9a\u7684\u7528\u6237\u7ec4\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u8fd9\u4e9b\u4e0d\u540c\u7684\u5e7f\u64ad\u57df\u76f8\u4e92\u9694\u79bb\u3002\u4e0d\u540c\u7684\u5e7f\u64ad\u57df\u4e4b\u95f4\u60f3\u8981\u901a\u4fe1\uff0c\u9700\u8981\u901a\u8fc7\u4e00\u4e2a\u6216\u591a\u4e2a\u8def\u7531\u5668\uff0c\u8fd9\u6837\u7684\u4e00\u4e2a\u5e7f\u64ad\u57df\u5c31\u79f0\u4e3aVLAN\u3002<\/p>\n<p style=\"text-align: justify;\">\u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u5728pfSense\u4e2d\u521b\u5efa\u548c\u914d\u7f6e\u4e00\u4e2aVLAN\u3002 \u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5141\u8bb8\uff08\u6216\u963b\u6b62\uff09\u8be5VLAN\u4e0e\u5176\u4ed6VLAN\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u6bcf\u4e2aVLAN\u5c06\u80fd\u591f\u5171\u4eab\u76f8\u540c\u7684Internet\u8fde\u63a5\u3002\u914d\u7f6e\u5206\u4ee5\u4e0b\u51e0\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u572824\u7aef\u53e3\u4ea4\u6362\u673a\u4e0a\u521b\u5efa\u4e00\u4e2a\u9759\u6001VLAN\u3002<\/li>\n<li>\u5c06\u8be5VLAN\u4ece\u4ea4\u6362\u673a\u4e2d\u7ee7\u5230pfSense\u4e0a\u7684LAN\u63a5\u53e3\u3002<\/li>\n<li>\u4e3a\u8be5VLAN\u5206\u914d\u4e00\u4e2a24\u4f4d\u63a9\u7801\u7684\u79c1\u6709IP\u5b50\u7f51\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5047\u5b9a\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>pfSense\u5df2\u7ecf\u6b63\u786e\u5b89\u88c5\uff0c\u5e76\u4e3a\u73b0\u6709LAN\u63a5\u53e3\u63d0\u4f9b\u4e86\u57fa\u672c\u7684Internet\u8fde\u63a5\u3002<\/li>\n<li>\u5206\u914d\u7ed9LAN\u63a5\u53e3\u7684\u7f51\u5361\u652f\u6301IEEE 802.1Q VLAN\u6807\u8bc6\u3002<\/li>\n<li>\u8fde\u63a5\u5230\u5c40\u57df\u7f51\u63a5\u53e3\u7684\u4ea4\u6362\u673a\u80fd\u591f\u652f\u6301\u57fa\u4e8e\u7aef\u53e3\u7684VLAN\u7684\u521b\u5efa\u3001\u914d\u7f6e\u548c\u4e2d\u7ee7\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u672c\u6587\u4e2d\u4f7f\u7528\u7684\u8f6f\u4ef6\u7248\u672c\u5982\u4e0b\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>pfSense2.4.2-RELEASE-P1\uff08AMD64\uff09<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u672c\u6587\u4e2d\u4f7f\u7528\u7684\u4ea4\u6362\u673a\u662fCiscor\u7684SG200-26\uff0c\u5343\u5146\u4ee5\u592a\u7f51\u7aef\u53e3\uff0c\u57fa\u4e8eWeb\u7684\u7ba1\u7406\u754c\u9762\uff0c\u540c\u65f6\u652f\u6301256\u4e2a\u57fa\u4e8e\u7aef\u53e3\u548cIEEE 802.1Q\u6807\u8bc6\u7684VLAN\u3002<\/p>\n<p style=\"text-align: justify;\">\u6bcf\u4e2a\u4ea4\u6362\u673a\u53ca\u5176\u76f8\u5173\u7684\u7ba1\u7406\u63a5\u53e3\u4e0d\u4e00\u5b9a\u76f8\u540c\uff0c\u4f60\u53ef\u4ee5\u53c2\u7167\u672c\u6587\u4e2d\u7684\u8bf4\u660e\u8fdb\u884c\u9002\u5f53\u7684\u8c03\u6574\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u4ea4\u6362\u673a\u914d\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u9759\u6001VLAN\uff08\u901a\u5e38\u79f0\u4e3a\u201c\u57fa\u4e8e\u7aef\u53e3\u201d\u7684VLAN\uff09\u662f\u901a\u8fc7\u5c06\u4ea4\u6362\u673a\u7aef\u53e3\u5206\u914d\u7ed9\u9884\u5148\u914d\u7f6e\u7684VLAN\u6807\u8bc6\u7b26\u6765\u521b\u5efa\u7684\u3002 \u5728\u672c\u4f8b\u4e2d\uff0c\u5c06\u5728\u4ea4\u6362\u673a\u4e0a\u914d\u7f6e\u4e00\u4e2a\u9759\u6001VLAN\u5e76\u4e3a\u5176\u6307\u5b9a\u4e00\u4e2aVLAN ID 50\u3002\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u75282\u52304094\u4e4b\u95f4\u7684\u4efb\u4f55\u6b63\u6574\u6570\u6765\u8868\u793aVLAN ID\uff0c\u4f46\u5e94\u907f\u514d\u4f7f\u7528VLAN ID 1\u548c4095\uff0c\u56e0\u4e3a\u4e00\u822c\u6765\u8bf4\uff0c\u5927\u591a\u6570\u4ea4\u6362\u673a\u9ed8\u8ba4\u5c06\u6240\u6709\u7aef\u53e3\u5206\u914d\u7ed9VLAN ID 1\uff0c \u5e76\u5c06VLAN ID 4095\u4f5c\u4e3a\u201c\u4e22\u5f03\u201dVLAN\u3002<\/p>\n<p style=\"text-align: justify;\">\u9996\u5148\u5bfc\u822a\u5230VLAN Management-&gt;Create VLAN\u5e76\u9009\u62e9\u201cAdd\u201d\u3002\u5728\u201cVLAN ID\u201d\u5b57\u6bb5\u4e2d\u8f93\u5165\u503c50\uff0c\u5e76\u5728\u201cVLAN Name\u201d\u5b57\u6bb5\u4e2d\u8f93\u5165\u4e00\u4e2a\u540d\u79f0\u6765\u8868\u793a\u8be5\u7279\u5b9aVLAN\u3002 \u5728\u672c\u4f8b\u4e2d\u4f7f\u7528\u540d\u79f0\u201cvlan50\u201d\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u201cApply\u201d\u3002 \uff08\u89c1\u4e0b\u56fe\uff09<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2751\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-1.png\" width=\"800\" height=\"450\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-1.png 800w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-1-300x169.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-1-768x432.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-1-500x281.png 500w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5728\u5c06\u7279\u5b9a\u7aef\u53e3\u7684\u6210\u5458\u8d44\u683c\u5206\u914d\u7ed9\u65b0VLAN\u4e4b\u524d\uff0c\u6211\u4eec\u5fc5\u987b\u9996\u5148\u5c06\u8be5\u7aef\u53e3\u914d\u7f6e\u4e3a\u201cAccess\u201d\u7aef\u53e3\u6216\u201cTrunk\u201d\u7aef\u53e3\u3002Access\u7aef\u53e3\u662f\u53ea\u6709\u4e00\u4e2aVLAN\u6210\u5458\u7684\u7aef\u53e3\u3002 \u8fd9\u79cd\u7c7b\u578b\u7684\u7aef\u53e3\u901a\u5e38\u7528\u4e8e\u8fde\u63a5\u672a\u77e5VLAN\u6210\u5458\u8d44\u683c\u7684\u7ec8\u7aef\u8bbe\u5907\uff0c\u6216\u8005\u662f\u56e0\u4e3a\u5b83\u4eec\u7684NIC\u4e0d\u80fd\u5c06\u4ee5\u592a\u7f51\u5e27\u6807\u8bb0\u4e3aVLAN ID\uff0c\u6216\u8005\u5b83\u4eec\u6ca1\u6709\u914d\u7f6e\u4e3a\u8fd9\u6837\u505a\u3002 \u914d\u7f6e\u4e3aAccess\u7aef\u53e3\u7684\u4ea4\u6362\u673a\u7aef\u53e3\u5728\u5c06\u4ee5\u592a\u7f51\u5e27\u53d1\u9001\u5230\u8bbe\u5907\u4e4b\u524d\uff0c\u5c06\u5220\u9664\u6240\u6709VLAN\u4fe1\u606f\u3002 \u800cTrunk\u7aef\u53e3\u53ef\u4ee5\u627f\u8f7d\u591a\u4e2aVLAN\u6d41\u91cf\uff0c\u901a\u5e38\u7528\u4e8e\u5c06\u4ea4\u6362\u673a\u8fde\u63a5\u5230\u5176\u4ed6\u4ea4\u6362\u673a\u6216\u8def\u7531\u5668\u3002 \u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u5c0f\u578b\u4f01\u4e1a\u7ea7\u4ea4\u6362\u673a\uff08\u5982Cisco SG200\uff09\u9ed8\u8ba4\u5c06\u6bcf\u4e2a\u7aef\u53e3\u6307\u5b9a\u4e3aTrunk\u7aef\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u8ba9\u6559\u7a0b\u7b80\u5355\u660e\u4e86\uff0c\u6211\u4eec\u5047\u8bbe\u8fde\u63a5\u5230\u4ea4\u6362\u673a\u7684\u8bbe\u5907\u6ca1\u6709\u914d\u7f6e\u3002\u5728\u672c\u4f8b\u4e2d\uff0c\u5c06\u7aef\u53e319\u914d\u7f6e\u4e3aAccess\u7aef\u53e3\uff0c\u5e76\u5c06\u5176\u5206\u914d\u7ed9\u65b0\u521b\u5efaVLAN\u6210\u5458\u8d44\u683c\u3002 \u5047\u8bbe\u4f7f\u7528\u7aef\u53e325\u5c06\u4ea4\u6362\u673a\u8fde\u63a5\u5230pfSense LAN\u63a5\u53e3\uff0c\u5e76\u5c06\u5176\u914d\u7f6e\u4e3aTrunk\u7aef\u53e3\uff0c\u5e76\u5c06\u5b83\u5206\u914d\u7ed9\u65b0\u521b\u5efa\u7684VLAN\u6210\u5458\u8d44\u683c\u3002<\/p>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230VLAN Management-&gt;Interference Settings\uff0c\u9009\u62e9\u7aef\u53e319\uff0c\u7136\u540e\u9009\u62e9\u201cEDIT\u201d\u3002 \u5c06\u63a5\u53e3VLAN\u6a21\u5f0f\u4ece\u201cTrunk\u201d\u66f4\u6539\u4e3a\u201cAccess\u201d\uff0c\u7136\u540e\u9009\u62e9\u201cApply\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002 \u73b0\u5728\u6309\u7167\u7c7b\u4f3c\u7684\u6b65\u9aa4\u5c06\u7aef\u53e325\u914d\u7f6e\u4e3aTrunk\u7aef\u53e3\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2752\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-2.png\" width=\"800\" height=\"450\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-2.png 800w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-2-300x169.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-2-768x432.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-2-500x281.png 500w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u63a5\u4e0b\u6765\uff0c\u5bfc\u822a\u81f3VLAN Management-&gt;Port VLAN Membership\uff0c\u9009\u62e9\u7aef\u53e319\uff0c\u7136\u540e\u9009\u62e9\u201c\u52a0\u5165VLAN\u201d\u3002 \u7531\u4e8e\u63a5\u5165\u7aef\u53e3\u53ef\u4ee5\u4f5c\u4e3auntagged\u6dfb\u52a0\u5230\u5355\u4e2aVLAN\uff0c\u6211\u4eec\u9700\u8981\u5148\u5220\u9664\u4ea4\u6362\u673a\u81ea\u52a8\u5206\u914d\u7ed9\u6bcf\u4e2a\u7aef\u53e3\uff08\u901a\u5e38\u662fVLAN 1\uff09\u7684\u9ed8\u8ba4VLAN\u3002 \u7a81\u51fa\u663e\u793aVLAN 1\uff0c\u65b9\u6cd5\u662f\u5de6\u952e\u5355\u51fb\uff0c\u7136\u540e\u9009\u62e9\u7bad\u5934\u56fe\u6807\u5c06\u5176\u4ece\u63a5\u53e3\u4e2d\u5220\u9664\u3002 \u73b0\u5728\u7a81\u51fa\u663e\u793aVLAN 50\uff0c\u7136\u540e\u9009\u62e9\u7bad\u5934\u56fe\u6807\u5c06\u5176\u6dfb\u52a0\u5230\u63a5\u53e3\uff0c\u786e\u4fdd\u4ece\u201cTagged\u201d\u4e0b\u7684\u9009\u9879\u4e2d\u9009\u62e9\u201cUntagged\u201d\u3002 \u5b8c\u6210\u540e\u9009\u62e9\u201cApply\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2753\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-3.png\" width=\"800\" height=\"450\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-3.png 800w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-3-300x169.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-3-768x432.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-3-500x281.png 500w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5c06\u4ea4\u6362\u673a\u7aef\u53e319\u914d\u7f6e\u4e3aAccess\u7aef\u53e3\u5e76\u52a0\u5165\u5230VLAN 50\u4e2d\uff0c\u540c\u65f6\u914d\u7f6e\u8fde\u63a5\u5230pfSense LAN \u63a5\u53e3\u7684\u7aef\u53e325\uff0c \u5c06\u7aef\u53e3\u914d\u7f6e\u4e3aTrunk\u7aef\u53e3\u5e76\u52a0\u5165\u5230VLAN 50\u4e2d\u3002<\/p>\n<p style=\"text-align: justify;\">\u786e\u4fdd\u5c06\u7aef\u53e325\u914d\u7f6e\u4e3aTrunk\u7aef\u53e3\uff0c\u7136\u540e\u5bfc\u822a\u5230VLAN Management-&gt;Port VLAN Membership\uff0c\u9009\u62e9\u7aef\u53e325\uff0c\u7136\u540e\u9009\u62e9\u201cJoin VLAN\u201d\u3002 \u7a81\u51fa\u663e\u793aVLAN 50\uff0c\u7136\u540e\u9009\u62e9\u7bad\u5934\u56fe\u6807\u5c06\u5176\u6dfb\u52a0\u5230\u63a5\u53e3\uff0c\u786e\u4fdd\u4ece\u201cTagged\u201d\u4e0b\u7684\u9009\u9879\u4e2d\u9009\u62e9\u201cTagged\u201d\u3002 \u5b8c\u6210\u540e\u9009\u62e9\u201cApply\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2754\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-4.png\" width=\"800\" height=\"450\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-4.png 800w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-4-300x169.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-4-768x432.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/pfsense-vlan-4-500x281.png 500w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u4ea4\u6362\u673a\u914d\u7f6e\u5b8c\u6210\uff0c\u8bf7\u786e\u4fdd\u5c06\u6240\u505a\u7684\u66f4\u6539\u4fdd\u5b58\u5230\u542f\u52a8\u914d\u7f6e\u4e2d\uff0c\u4ee5\u9632\u4ea4\u6362\u673a\u56e0\u4efb\u4f55\u539f\u56e0\u91cd\u65b0\u542f\u52a8\u800c\u4e22\u5931\u914d\u7f6e\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>pfSense\u914d\u7f6e<\/strong><\/p>\n<p style=\"text-align: justify;\">\u73b0\u5728\uff0c\u6211\u4eec\u9700\u8981\u5728pfSense\u4e2d\u914d\u7f6eVLAN 50\u3002\u5bfc\u822a\u5230\u7f51\u7edc<em>\u63a5\u53e3- &gt;\u63a5\u53e3\u5206\u914d<\/em>\uff0c\u5e76\u8bb0\u4e0b\u5206\u914d\u7ed9LAN\u7f51\u5361\u7684\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u540d\u79f0\u3002\u00a0\u5728\u672c\u4f8b\u4e2d\uff0c\u6211\u4eec\u5047\u5b9a\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u7684\u540d\u5b57\u662f\u201cem1\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002 LAN2\u63a5\u53e3\u5c06\u4f5c\u4e3a\u6211\u4eec\u5c06\u5728\u4e0b\u4e00\u6b65\u521b\u5efa\u7684VLAN\u63a5\u53e3\u7684\u201c\u7236\u63a5\u53e3\u201d\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542967127158.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2755\" title=\"1517542967127158.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542967127158.png\" alt=\"1.png\" width=\"1148\" height=\"482\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542967127158.png 1148w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542967127158-1024x430.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542967127158-300x126.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542967127158-768x322.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542967127158-500x210.png 500w\" sizes=\"auto, (max-width: 1148px) 100vw, 1148px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u63a5\u4e0b\u6765\uff0c\u5bfc\u822a\u5230\u7f51\u7edc\u63a5\u53e3-&gt;\u63a5\u53e3\u5206\u914d &gt; VLANs\uff0c\u9009\u62e9\u201c+\u6dfb\u52a0\u201d\u56fe\u6807\u3002 \u5728\u968f\u540e\u7684\u9875\u9762\u4e2d\uff0c\u4ece\u201c\u7236\u63a5\u53e3\u201d\u4e0b\u62c9\u5217\u8868\u4e2d\u7684\u9009\u9879\u4e2d\uff0c\u9009\u62e9LAN 2\u63a5\u53e3\u201cem1\u201d\uff0c\u5e76\u5728\u201cVLAN\u00a0\u6807\u8bc6\u201d\u4e0b\u8f93\u5165\u503c50\u3002 \u5728\u201c\u63cf\u8ff0\u201d\u680f\u6dfb\u52a0\u8be5VLAN\u7684\u53ef\u9009\u8bf4\u660e\uff0c\u7136\u540e\u9009\u62e9\u201c\u4fdd\u5b58\u8bbe\u7f6e\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542471975006.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2756\" title=\"1517542471975006.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542471975006.png\" alt=\"2.png\" width=\"1158\" height=\"416\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542471975006.png 1158w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542471975006-1024x368.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542471975006-300x108.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542471975006-768x276.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542471975006-500x180.png 500w\" sizes=\"auto, (max-width: 1158px) 100vw, 1158px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u521b\u5efaVLAN\u63a5\u53e3\u540e\uff0c\u8fd4\u56de\u5230\u7f51\u7edc\u63a5\u53e3-&gt;\u63a5\u53e3\u5206\u914d\uff0c\u5728\u53ef\u7528\u7f51\u7edc\u7aef\u53e3\u4e2d\uff0c\u9009\u62e9\u201cem1\u4e0a\u7684VLAN 50-opt1\uff0c\u70b9\u51fb\u201c+\u00a0\u6dfb\u52a0\u201d\u56fe\u6807\uff0c\u7136\u540e\u9009\u62e9\u201c\u4fdd\u5b58\u8bbe\u7f6e\u201d\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542913136877.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2757\" title=\"1517542913136877.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542913136877.png\" alt=\"3.png\" width=\"1155\" height=\"485\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542913136877.png 1155w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542913136877-1024x430.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542913136877-300x126.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542913136877-768x322.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517542913136877-500x210.png 500w\" sizes=\"auto, (max-width: 1155px) 100vw, 1155px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5047\u5b9apfSense\u5df2\u7ecf\u5c06VLAN 50\u5206\u914d\u4e3aOPT4\u3002 \u5bfc\u822a\u5230\u7f51\u7edc\u63a5\u53e3 &#8211; &gt; OPT4\u5e76\u9009\u62e9\u201c\u542f\u7528\u63a5\u53e3\u201d\u3002 \u5728\u201c\u63cf\u8ff0\u201d\u680f\uff0c\u5c06\u201cOPT4\u201d\u66ff\u6362\u4e3a\u201cVLAN 50\u201d\uff0c\u7136\u540e\u4ece\u201cIPv4\u914d\u7f6e\u7c7b\u578b\u201d\u4e0b\u62c9\u5217\u8868\u4e2d\u7684\u9009\u9879\u4e2d\u9009\u62e9\u201c\u9759\u6001IPv4\u201d\u3002 \u5bf9\u4e8eVLAN 50\uff0c\u6211\u4eec\u5c06\u4f7f\u7528\u7f51\u7edc192.168.50.0\/24\uff0c\u5728\u6b64\u63a5\u53e3\u4e0a\u5206\u914d\u9759\u6001IP\u5730\u5740192.168.50.1\uff0c\u5e76\u5728\u201c\u9759\u6001IP\u914d\u7f6e\u201d\u90e8\u5206\u4e0b\u9009\u62e9\u201c24\u201d\u7684\u7f51\u7edc\u63a9\u7801\u3002 \u5176\u4ed6\u53c2\u6570\u53ef\u4ee5\u4fdd\u6301\u5176\u9ed8\u8ba4\u503c\u3002 \u5b8c\u6210\u540e\u9009\u62e9\u201c\u4fdd\u5b58\u8bbe\u7f6e\u201d\u548c\u201c\u5e94\u7528\u66f4\u6539\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543256970735.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2758\" title=\"1517543256970735.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543256970735.png\" alt=\"4.png\" width=\"1144\" height=\"1108\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543256970735.png 1144w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543256970735-1024x992.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543256970735-300x291.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543256970735-768x744.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543256970735-310x300.png 310w\" sizes=\"auto, (max-width: 1144px) 100vw, 1144px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u4e3a\u6211\u4eec\u7684\u65b0VLAN\u6784\u5efa\u9632\u706b\u5899\u89c4\u5219\uff0c\u4ee5\u4fbf\u6d41\u91cf\u53ef\u4ee5\u4eceWAN\u63a5\u53e3\u5165\u7ad9\/\u51fa\u7ad9\uff0c\u4e5f\u53ef\u4ee5\u63a5\u5165Internet\u3002 \u5bfc\u822a\u5230\u9632\u706b\u5899 &#8211; &gt;\u89c4\u5219\u7b56\u7565\uff0c\u9009\u62e9VLAN 50\uff0c\u9009\u62e9\u201c\u6dfb\u52a0\u201d\u56fe\u6807\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u89c4\u5219\u3002\u00a0\u5728\u672c\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c06\u4e3aVLAN 50\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u51fa\u7ad9\u4f20\u9012\u89c4\u5219\uff0c\u7c7b\u4f3c\u4e8e\u5178\u578b\u7684LAN\u51fa\u7ad9\u4f20\u9012\u89c4\u5219\u7684\u914d\u7f6e\u65b9\u5f0f\u3002\u52a8\u4f5c\u9009\u201c\u901a\u8fc7\u201d \uff0c\u534f\u8bae\u9009\u201cany\u201d\uff0c\u6e90\u5730\u5740\u9009\u201cVLAN50 net\u201d\u3002 \u8f93\u5165\u8fd9\u4e2a\u65b0\u5efa\u89c4\u5219\u7684\u63cf\u8ff0\u3002 \u5176\u4ed6\u53c2\u6570\u53ef\u4ee5\u4fdd\u6301\u5176\u9ed8\u8ba4\u503c\u3002 \u5b8c\u6210\u540e\u9009\u62e9\u201c\u4fdd\u5b58\u8bbe\u7f6e\u201d\u548c\u201c\u5e94\u7528\u66f4\u6539\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543633778087.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2759\" title=\"1517543633778087.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543633778087.png\" alt=\"5.png\" width=\"1149\" height=\"947\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543633778087.png 1149w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543633778087-1024x844.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543633778087-300x247.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543633778087-768x633.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543633778087-364x300.png 364w\" sizes=\"auto, (max-width: 1149px) 100vw, 1149px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u9664\u975e\u6253\u7b97\u4e3a\u4e3b\u673a\u8bbe\u5907\u5206\u914d\u9759\u6001IP\u5730\u5740\uff0c\u5426\u5219\u9700\u8981\u4e3a\u65b0VLAN\u914d\u7f6eDHCP\u670d\u52a1\u5668\u3002\u5bfc\u822a\u81f3\u670d\u52a1 &#8211; &gt; DHCP\u670d\u52a1\uff0c\u5e76\u9009\u62e9VLAN 50\u63a5\u53e3\u3002\u9009\u62e9\u201c\u5728\u63a5\u53e3VLAN50\u4e0a\u542f\u7528DHCP\u670d\u52a1\u201d\uff0c\u7136\u540e \u8f93\u5165IP\u5730\u5740\u8303\u56f4\u3002 pfSense\u5c06\u9ed8\u8ba4\u4f7f\u7528\u5206\u914d\u7ed9\u6b64\u63a5\u53e3\u7684IP\u5730\u5740\u4f5c\u4e3a\u7f51\u5173\u5730\u5740\u3002\u00a0\u5728\u672c\u4f8b\u4e2d\uff0c\u7f51\u5173\u5730\u5740\u662f192.168.50.1\u3002\u00a0\u5982\u679c\u662f\u5176\u4ed6\u7f51\u5173\uff0c\u8bf7\u5728\u201c\u7f51\u5173\u201d\u4e0b\u8f93\u5165\u5176\u4ed6\u7f51\u5173\u7684IP\u5730\u5740\u3002\u00a0\u540c\u65f6\u8f93\u5165DNS\u5730\u5740\uff0c\u5176\u4ed6\u53c2\u6570\u4fdd\u6301\u9ed8\u8ba4\u3002 \u5b8c\u6210\u540e\u9009\u62e9\u201c\u4fdd\u5b58\u8bbe\u7f6e\u201d\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543833392526.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2760\" title=\"1517543833392526.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543833392526.png\" alt=\"6.png\" width=\"1145\" height=\"1160\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543833392526.png 1145w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543833392526-1011x1024.png 1011w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543833392526-296x300.png 296w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517543833392526-768x778.png 768w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u5728\u4e0a\u4e00\u6b65\uff0c\u4f60\u6ca1\u6709\u6307\u5b9aDNS\u5730\u5740\uff0c\u90a3\u8fd8\u9700\u8981\u5bfc\u822a\u5230\u670d\u52a1 &#8211; &gt; DNS\u8f6c\u53d1\u5668 &#8211; &gt;\u63a5\u53e3\uff0c\u5e76\u786e\u4fddDNS\u8f6c\u53d1\u5668\u7528\u4e8e\u54cd\u5e94\u6765\u81ea\u5ba2\u6237\u7aef\u7684\u67e5\u8be2\u63a5\u53e3\u5305\u542bVLAN50\uff0c\u7136\u540e\u201c\u4fdd\u5b58\u8bbe\u7f6e\u201d\u5e76\u201c\u5e94\u7528\u66f4\u6539\u201d\uff08\u89c1\u4e0b\u56fe\uff09\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547454375224.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2761\" title=\"1517547454375224.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547454375224.png\" alt=\"7.png\" width=\"1139\" height=\"760\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547454375224.png 1139w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547454375224-1024x683.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547454375224-300x200.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547454375224-768x512.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547454375224-450x300.png 450w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u81f3\u6b64\uff0c\u914d\u7f6e\u5b8c\u6210\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u8fdb\u884c\u6d4b\u8bd5\uff0c\u8bf7\u5c06\u4e3b\u673a\u8bbe\u5907\uff08\u5982\u53f0\u5f0f\u673a\u6216\u7b14\u8bb0\u672c\u7535\u8111\uff09\u8fde\u63a5\u5230\u4ea4\u6362\u673a\u4e0a\u7684\u7aef\u53e319\u3002\u5982\u679c\u6309\u7167\u524d\u8ff0\u914d\u7f6e\u4e86\u6240\u6709\u5185\u5bb9\uff0c\u5219\u5e94\u8be5\u5728\u4e3aVLAN 50\u7f51\u7edc192.168.50.0\/24\u6307\u5b9a\u7684DHCP\u5730\u5740\u8303\u56f4\u5185\u6536\u5230\u4e00\u4e2aIP\u5730\u5740\u3002\u9ed8\u8ba4\u7f51\u5173\u5e94\u8be5\u662f192.168.50.1\uff0cDNS\u5e94\u8be5\u662f\u4f60\u6307\u5b9a\u7684\u5730\u5740\uff0c\u5982\u679cpfsense\u4e4b\u524d\u5df2\u7ecf\u8fde\u63a5\u4e92\u8054\u7f51\uff0c\u4f60\u73b0\u5728\u5e94\u8be5\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u7f51\u7edc\u3002<\/p>\n<p style=\"text-align: justify;\">\u8fd9\u91cc\u8981\u6ce8\u610f\uff0c\u6309\u7167\u5f53\u524d\u914d\u7f6e\uff0c\u6bcf\u4e2aVLAN\u90fd\u53ef\u4ee5\u8def\u7531\u5230\u6240\u6709\u5176\u4ed6VLAN\u3002\u5982\u679c\u60f3\u7981\u6b62\u67d0\u4e2a\u6216\u67d0\u4e9b\u7279\u5b9aVLAN\u7684\u901a\u4fe1\uff0c\u5219\u5fc5\u987b\u521b\u5efa\u9632\u706b\u5899\u89c4\u5219\uff0c\u660e\u786e\u89c4\u5b9a\u8def\u7531\u65b9\u5411\u3002\u8981\u6ce8\u610f\u7684\u662f\uff0cpfSense\u5728\u7b2c\u4e00\u6b21\u5339\u914d\u7684\u57fa\u7840\u4e0a\u8bc4\u4f30\u9632\u706b\u5899\u89c4\u5219\uff08\u5373\u7b2c\u4e00\u4e2a\u5339\u914d\u6570\u636e\u5305\u7684\u89c4\u5219\u7684\u64cd\u4f5c\u5c06\u88ab\u6267\u884c\uff09\u3002\u56e0\u6b64\uff0c\u5982\u679c\u60f3\u8981\u963b\u6b62\u6240\u6709VLAN 50\u6d41\u91cf\u5230\u8fbeLAN\uff0c\u5219\u53ef\u4ee5\u5728\u4e4b\u524d\u521b\u5efa\u7684\u89c4\u5219\u4e4b\u524d\u521b\u5efa\u4e00\u6761\u89c4\u5219\uff0c\u963b\u6b62VLAN 50\u4e0eLAN\u7684\u901a\u4fe1\uff08\u89c1\u4e0b\u56fe\uff09\u3002<\/p>\n<p class=\"center\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547916355021.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2762\" title=\"1517547916355021.png\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547916355021.png\" alt=\"8.png\" width=\"1145\" height=\"276\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547916355021.png 1145w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547916355021-1024x247.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547916355021-300x72.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547916355021-768x185.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/1517547916355021-500x121.png 500w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>\u603b\u7ed3<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u4ea4\u6362\u673a\u548c\u7f51\u7edc\u63a5\u53e3\u652f\u6301VLAN\u529f\u80fd\uff0c\u914d\u7f6epfSense\u7684VLAN\u53ef\u4ee5\u7b80\u5355\u5f52\u7eb3\u4e3a\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u5728\u4ea4\u6362\u673a\u4e0a\u521b\u5efa\u4e00\u4e2a\u9759\u6001VLAN\uff0c\u5e76\u5c06\u8be5VLAN\u4e2d\u7ee7\u5230pfSense\u4e0a\u7684LAN\u63a5\u53e3\u3002<\/li>\n<li>\u521b\u5efa\u5e76\u6dfb\u52a0VLAN\u63a5\u53e3\uff0c\u521b\u5efa\u5fc5\u8981\u7684\u9632\u706b\u5899\u89c4\u5219\u3002<\/li>\n<li>\u4e3aVLAN\u5206\u914d\u4e86\u4e00\u4e2a24\u4f4d\u63a9\u7801\u7684\u79c1\u6709IP\u5b50\u7f51\uff0c\u4f7f\u7528DHCP\u7ed9\u4e3b\u673a\u5206\u914dIP\u5730\u5740\u3002<\/li>\n<li>VLAN\u53ef\u4ee5\u5171\u4eabpfSense\u7684Internet\u8fde\u63a5\u3002<\/li>\n<li style=\"text-align: justify;\">\u914d\u7f6epfSense\u6765\u9632\u6b62\u6bcf\u4e2aVLAN\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u865a\u62df\u5c40\u57df\u7f51\uff08VLAN\uff09\u662f\u4e00\u7ec4\u903b\u8f91\u4e0a\u7684\u8bbe\u5907\u548c\u7528\u6237\uff0c\u8fd9\u4e9b\u8bbe\u5907\u548c\u7528\u6237\u5e76\u4e0d\u53d7\u7269\u7406\u4f4d\u7f6e\u7684\u9650 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=401\">\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":[130],"class_list":["post-401","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-vlan"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/401","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=401"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/401\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}