{"id":272,"date":"2022-10-30T17:03:15","date_gmt":"2022-10-30T09:03:15","guid":{"rendered":"https:\/\/blog.taiyang.space\/?p=272"},"modified":"2023-05-05T15:24:46","modified_gmt":"2023-05-05T07:24:46","slug":"vlan%e7%ae%80%e8%bf%b0","status":"publish","type":"post","link":"https:\/\/blog.taiyang.space\/?p=272","title":{"rendered":"VLAN\u7b80\u8ff0"},"content":{"rendered":"<p>\u4ece\u8fd9\u7bc7\u6587\u7ae0\u5f00\u59cb\u6211\u4eec\u4f7f\u7528<strong>\u534e\u4e3a\u8bbe\u5907<\/strong>\u4ecb\u7ecd\u4ee5\u53ca\u6a21\u62df\u7f51\u7edc\u4e2d\u5e38\u7528\u7684\u534f\u8bae\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1aVLAN\u3001STP\u3001NAT\u3001ACL\u3001VRRP\u3001DHCP\u3002<\/p>\n<p>\u4e3a\u4ec0\u4e48\u8981\u7528\u534e\u4e3a\u8bbe\u5907\u5462\uff1f<\/p>\n<ol start=\"\">\n<li>\u5982\u4eca\u56fd\u5185\u5e02\u573a\u534e\u4e3a\u8bbe\u5907\u5360\u6709\u91cf\u65e5\u76ca\u589e\u591a<\/li>\n<li>\u4e4b\u524d\u6211\u4eec\u4f7f\u7528GNS3\u6a21\u62df\u4e86Cisco\u8bbe\u5907\uff08\u867d\u7136\u53ea\u4ecb\u7ecd\u4e86OSPF\uff09\uff0c\u4e86\u89e3\u53e6\u4e00\u79cd\u5382\u5546\u8bbe\u5907\u547d\u4ee4\u7684\u98ce\u683c<\/li>\n<\/ol>\n<p>\u5de5\u6b32\u5584\u5176\u4e8b\u5fc5\u5148\u5229\u5176\u5668\uff0c\u9996\u5148\u5949\u4e0a\u534e\u4e3a\u8bbe\u5907\u6a21\u62df\u5668ENSP\u5b89\u88c5\u5305\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1zHKe1j4hGi38_C39soRu3A\">\u6233\u6211\ud83c\udf39<\/a>  \u63d0\u53d6\u7801\uff1a6666<\/p>\n<p>\u6587\u4ef6\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b<\/p>\n<pre><code>ensp-install\n        eNSP_Setup.exe\t\/\/ ensp\u5b89\u88c5\u5305\n        vfw_usg.vdi\t\t\t\/\/ \u9632\u706b\u5899usg6000\u955c\u50cf\u6587\u4ef6\n        VirtualBox-5.2.30-\u9996\u9009-Win.exe\n        WinPcap_4_1_3.exe\n        WinSCP-5.13.9-Setup.exe\n        wireshark-win32-1.4.3.exe\t\t\/\/ \u6293\u5305\u5de5\u5177\n<\/code><\/pre>\n<p>\u9996\u5148\u5b89\u88c5\u5176\u4f59\u8f6f\u4ef6\uff0c\u6700\u540e\u5b89\u88c5ENSP<\/p>\n<p>\u5e9f\u8bdd\u4e0d\u591a\u8bf4\uff0c\u6b63\u6587\u5f00\u59cb<\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h2>1. \u4ec0\u4e48\u662fVLAN<\/h2>\n<p>VLAN\uff08Virtual Local Area Network\uff09\u5373\u865a\u62df\u5c40\u57df\u7f51\uff0c\u662f\u5c06\u4e00\u4e2a\u7269\u7406\u7684LAN\u5728\u903b\u8f91\u4e0a\u5212\u5206\u6210\u591a\u4e2a\u5e7f\u64ad\u57df\u7684\u901a\u4fe1\u6280\u672f\u3002<br \/>\n\u6bcf\u4e2aVLAN\u662f\u4e00\u4e2a\u5e7f\u64ad\u57df\uff0cVLAN\u5185\u7684\u4e3b\u673a\u95f4\u53ef\u4ee5\u76f4\u63a5\u901a\u4fe1\uff0c\u800cVLAN\u95f4\u5219\u4e0d\u80fd\u76f4\u63a5\u4e92\u901a\u3002\u8fd9\u6837\uff0c\u5e7f\u64ad\u62a5\u6587\u5c31\u88ab\u9650\u5236\u5728\u4e00\u4e2aVLAN\u5185\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>2. \u4e3a\u4ec0\u4e48\u9700\u8981VLAN<\/h2>\n<p>\u65e9\u671f\u4ee5\u592a\u7f51\u662f\u4e00\u79cd\u57fa\u4e8eCSMA\/CD\uff08Carrier Sense Multiple Access\/Collision Detection\uff09\u7684\u5171\u4eab\u901a\u8baf\u4ecb\u8d28\u7684\u6570\u636e\u7f51\u7edc\u901a\u8baf\u6280\u672f\u3002\u5f53\u4e3b\u673a\u6570\u76ee\u8f83\u591a\u65f6\u4f1a\u5bfc\u81f4\u51b2\u7a81\u4e25\u91cd\u3001\u5e7f\u64ad\u6cdb\u6ee5\u3001\u6027\u80fd\u663e\u8457\u4e0b\u964d\u751a\u81f3\u9020\u6210\u7f51\u7edc\u4e0d\u53ef\u7528\u7b49\u95ee\u9898\u3002\u901a\u8fc7\u4e8c\u5c42\u8bbe\u5907\u5b9e\u73b0LAN\u4e92\u8fde\u867d\u7136\u53ef\u4ee5\u89e3\u51b3\u51b2\u7a81\u4e25\u91cd\u7684\u95ee\u9898\uff0c\u4f46\u4ecd\u7136\u4e0d\u80fd\u9694\u79bb\u5e7f\u64ad\u62a5\u6587\u548c\u63d0\u5347\u7f51\u7edc\u8d28\u91cf\u3002<\/p>\n<p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\u51fa\u73b0\u4e86VLAN\u6280\u672f\u3002\u8fd9\u79cd\u6280\u672f\u53ef\u4ee5\u628a\u4e00\u4e2aLAN\u5212\u5206\u6210\u591a\u4e2a\u903b\u8f91\u7684VLAN\uff0c\u6bcf\u4e2aVLAN\u662f\u4e00\u4e2a\u5e7f\u64ad\u57df\uff0cVLAN\u5185\u7684\u4e3b\u673a\u95f4\u901a\u4fe1\u5c31\u548c\u5728\u4e00\u4e2aLAN\u5185\u4e00\u6837\uff0c\u800cVLAN\u95f4\u5219\u4e0d\u80fd\u76f4\u63a5\u4e92\u901a\uff0c\u5e7f\u64ad\u62a5\u6587\u5c31\u88ab\u9650\u5236\u5728\u4e00\u4e2aVLAN\u5185\u3002\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301639411.png\" referrerpolicy=\"no-referrer\" alt=\"1667056556035-17b50b83-c3e7-4f3c-ba2a-7081dd4ac810\"><\/p>\n<p>&nbsp;<\/p>\n<h3>2.1 \u5e7f\u64ad\u4fe1\u606f\u662f\u7ecf\u5e38\u53d1\u51fa\u7684\u5417<\/h3>\n<p>\u662f\u7684!\u5b9e\u9645\u4e0a\u5e7f\u64ad\u5e27\u4f1a\u975e\u5e38\u9891\u7e41\u5730\u51fa\u73b0\u3002\u5229\u7528TCP\/IP\u534f\u8bae\u6808\u901a\u4fe1\u65f6\u4f1a\u53d1\u51fa\u591a\u79cd\u7c7b\u578b\u7684\u5e7f\u64ad\u4fe1\u606f<\/p>\n<p>\u5e38\u89c1\u7684\u6709\uff1a<\/p>\n<ul>\n<li>ARP\u8bf7\u6c42\uff1a\u5efa\u7acbIP\u5730\u5740\u548cMAC\u5730\u5740\u7684\u6620\u5c04\u5173\u7cfb\u3002<\/li>\n<li>RIP\uff1a\u4e00\u79cd\u52a8\u6001\u8def\u7531\u534f\u8bae\u3002<\/li>\n<li>DHCP\uff1a\u7528\u4e8e\u81ea\u52a8\u8bbe\u5b9aIP\u5730\u5740\u7684\u534f\u8bae\u3002<\/li>\n<li>NetBEUI\uff1aWindows\u4e0b\u4f7f\u7528\u7684\u7f51\u7edc\u534f\u8bae\u3002<\/li>\n<li>IPX\uff1aNovellNetware\u4f7f\u7528\u7684\u7f51\u7edc\u534f\u8bae\u3002<\/li>\n<li>Apple Talk\uff1a\u82f9\u679c\u516c\u53f8\u7684Macintosh\u8ba1\u7b97\u673a\u4f7f\u7528\u7684\u7f51\u7edc\u534f\u8bae\u3002<\/li>\n<\/ul>\n<p>\u5982\u679c\u6574\u4e2a\u7f51\u7edc\u53ea\u6709\u4e00\u4e2a\u5e7f\u64ad\u57df\uff0c\u90a3\u4e48\u4e00\u65e6\u53d1\u51fa\u5e7f\u64ad\u4fe1\u606f\uff0c\u5c31\u4f1a\u4f20\u904d\u6574\u4e2a\u7f51\u7edc\uff0c\u5e76\u4e14\u5bf9\u7f51\u7edc\u4e2d\u7684\u4e3b\u673a\u5e26\u6765\u989d\u5916\u7684\u8d1f\u62c5\u3002\u56e0\u6b64\uff0c\u5728\u8bbe\u8ba1LAN\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u5982\u4f55\u624d\u80fd\u6709\u6548\u5730\u5206\u5272\u5e7f\u64ad\u57df\u3002<\/p>\n<p>\u56e0\u6b64\uff0cVLAN\u5177\u5907\u4ee5\u4e0b\u4f18\u70b9\uff1a<\/p>\n<ul>\n<li><strong>\u9650\u5236\u5e7f\u64ad\u57df<\/strong>\uff1a\u5e7f\u64ad\u57df\u88ab\u9650\u5236\u5728\u4e00\u4e2aVLAN\u5185\uff0c\u8282\u7701\u4e86\u5e26\u5bbd\uff0c\u63d0\u9ad8\u4e86\u7f51\u7edc\u5904\u7406\u80fd\u529b\u3002<\/li>\n<li><strong>\u589e\u5f3a\u5c40\u57df\u7f51\u7684\u5b89\u5168\u6027<\/strong>\uff1a\u4e0d\u540cVLAN\u5185\u7684\u62a5\u6587\u5728\u4f20\u8f93\u65f6\u76f8\u4e92\u9694\u79bb\uff0c\u5373\u4e00\u4e2aVLAN\u5185\u7684\u7528\u6237\u4e0d\u80fd\u548c\u5176\u5b83VLAN\u5185\u7684\u7528\u6237\u76f4\u63a5\u901a\u4fe1\u3002<\/li>\n<li><strong>\u63d0\u9ad8\u4e86\u7f51\u7edc\u7684\u5065\u58ee\u6027<\/strong>\uff1a\u6545\u969c\u88ab\u9650\u5236\u5728\u4e00\u4e2aVLAN\u5185\uff0c\u672cVLAN\u5185\u7684\u6545\u969c\u4e0d\u4f1a\u5f71\u54cd\u5176\u4ed6VLAN\u7684\u6b63\u5e38\u5de5\u4f5c\u3002<\/li>\n<li><strong>\u7075\u6d3b\u6784\u5efa\u865a\u62df\u5de5\u4f5c\u7ec4<\/strong>\uff1a\u7528VLAN\u53ef\u4ee5\u5212\u5206\u4e0d\u540c\u7684\u7528\u6237\u5230\u4e0d\u540c\u7684\u5de5\u4f5c\u7ec4\uff0c\u540c\u4e00\u5de5\u4f5c\u7ec4\u7684\u7528\u6237\u4e5f\u4e0d\u5fc5\u5c40\u9650\u4e8e\u67d0\u4e00\u56fa\u5b9a\u7684\u7269\u7406\u8303\u56f4\uff0c\u7f51\u7edc\u6784\u5efa\u548c\u7ef4\u62a4\u66f4\u65b9\u4fbf\u7075\u6d3b\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>3. VLAN vs \u5b50\u7f51<\/h2>\n<p>\u901a\u8fc7\u5c06IP\u5730\u5740\u7684\u7f51\u7edc\u90e8\u5206\u8fdb\u4e00\u6b65\u5212\u5206\u4e3a\u82e5\u5e72\u4e2a\u5b50\u7f51\uff0c\u53ef\u4ee5\u89e3\u51b3IP\u5730\u5740\u7a7a\u95f4\u5229\u7528\u7387\u4f4e\u548c\u4e24\u7ea7IP\u5730\u5740\u4e0d\u591f\u7075\u6d3b\u7684\u95ee\u9898\u3002<\/p>\n<p>\u4e0eVLAN\u76f8\u7c7b\u4f3c\u7684\u662f\uff0c\u5b50\u7f51\u4e5f\u53ef\u4ee5\u9694\u79bb\u4e3b\u673a\u95f4\u7684\u901a\u4fe1\u3002\u5c5e\u4e8e\u4e0d\u540cVLAN\u7684\u4e3b\u673a\u4e4b\u95f4\u4e0d\u80fd\u76f4\u63a5\u901a\u4fe1\uff0c\u5c5e\u4e8e\u4e0d\u540c\u7684\u5b50\u7f51\u7684\u4e3b\u673a\u4e4b\u95f4\u4e5f\u4e0d\u80fd\u76f4\u63a5\u901a\u4fe1\u3002\u4f46\u4e8c\u8005\u6ca1\u6709\u5fc5\u7136\u7684\u5bf9\u5e94\u5173\u7cfb\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301642599.png\" referrerpolicy=\"no-referrer\" alt=\"1667056888417-c6737680-17f7-4fb0-8800-e9e12691602d\"><\/p>\n<p>&nbsp;<\/p>\n<h2>4. VLAN Tag\u548cVLAN ID<\/h2>\n<p>\u8981\u4f7f\u4ea4\u6362\u673a\u80fd\u591f\u5206\u8fa8\u4e0d\u540cVLAN\u7684\u62a5\u6587\uff0c\u9700\u8981\u5728\u62a5\u6587\u4e2d\u6dfb\u52a0\u6807\u8bc6VLAN\u4fe1\u606f\u7684\u5b57\u6bb5\u3002IEEE <a href=\"https:\/\/info.support.huawei.com\/info-finder\/encyclopedia\/zh\/QinQ.html\">802.1Q<\/a>\u534f\u8bae\u89c4\u5b9a\uff0c\u5728\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u4e2d\u52a0\u51654\u4e2a\u5b57\u8282\u7684VLAN\u6807\u7b7e\uff08\u53c8\u79f0VLAN Tag\uff0c\u7b80\u79f0Tag\uff09\uff0c\u7528\u4ee5\u6807\u8bc6VLAN\u4fe1\u606f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301644694.png\" referrerpolicy=\"no-referrer\" alt=\"1667056953488-7d0e8515-910f-45f9-8272-31468e79e75a\"><\/p>\n<p><em>IEEE 802.1Q\u5c01\u88c5\u7684VLAN\u6570\u636e\u5e27\u683c\u5f0f<\/em><\/p>\n<p>\u6570\u636e\u5e27\u4e2d\u7684VID\u5b57\u6bb5\u6807\u8bc6\u4e86\u8be5\u6570\u636e\u5e27\u6240\u5c5e\u7684VLAN\uff0c\u6570\u636e\u5e27\u53ea\u80fd\u5728\u5176\u6240\u5c5eVLAN\u5185\u8fdb\u884c\u4f20\u8f93\u3002<strong>VID\u5b57\u6bb5\u4ee3\u8868VLAN ID\uff0cVLAN ID\u53d6\u503c\u8303\u56f4\u662f0\uff5e4095\u3002\u7531\u4e8e0\u548c4095\u4e3a\u534f\u8bae\u4fdd\u7559\u53d6\u503c\uff0c\u6240\u4ee5VLAN ID\u7684\u6709\u6548\u53d6\u503c\u8303\u56f4\u662f1\uff5e4094\u3002<\/strong><\/p>\n<p>\u4ea4\u6362\u673a\u5185\u90e8\u5904\u7406\u7684\u6570\u636e\u5e27\u90fd\u5e26\u6709VLAN\u6807\u7b7e\u3002\u800c\u4ea4\u6362\u673a\u8fde\u63a5\u7684\u90e8\u5206\u8bbe\u5907\uff08\u5982\u7528\u6237\u4e3b\u673a\u3001\u670d\u52a1\u5668\uff09\u53ea\u4f1a\u6536\u53d1\u4e0d\u5e26VLAN tag\u7684\u4f20\u7edf\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u3002\u56e0\u6b64\uff0c\u8981\u4e0e\u8fd9\u4e9b\u8bbe\u5907\u4ea4\u4e92\uff0c\u5c31\u9700\u8981\u4ea4\u6362\u673a\u7684\u63a5\u53e3\u80fd\u591f\u8bc6\u522b\u4f20\u7edf\u4ee5\u592a\u7f51\u6570\u636e\u5e27\uff0c\u5e76\u5728\u6536\u53d1\u65f6\u7ed9\u5e27\u6dfb\u52a0\u3001\u5265\u9664VLAN\u6807\u7b7e\u3002\u6dfb\u52a0\u4ec0\u4e48VLAN\u6807\u7b7e\uff0c\u7531\u63a5\u53e3\u4e0a\u7684\u7f3a\u7701VLAN\uff08Port Default VLAN ID\uff0cPVID\uff09\u51b3\u5b9a\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>5. VLAN\u7684\u63a5\u53e3\u7c7b\u578b\u548cVLAN\u6807\u7b7e\u7684\u5904\u7406\u673a\u5236<\/h2>\n<p>\u73b0\u7f51\u4e2d\u5c5e\u4e8e\u540c\u4e00\u4e2aVLAN\u7684\u7528\u6237\u53ef\u80fd\u4f1a\u88ab\u8fde\u63a5\u5728\u4e0d\u540c\u7684\u4ea4\u6362\u673a\u4e0a\uff0c\u4e14\u8de8\u8d8a\u4ea4\u6362\u673a\u7684VLAN\u53ef\u80fd\u4e0d\u6b62\u4e00\u4e2a\uff0c\u5982\u679c\u9700\u8981\u7528\u6237\u95f4\u7684\u4e92\u901a\uff0c\u5c31\u9700\u8981\u4ea4\u6362\u673a\u95f4\u7684\u63a5\u53e3\u80fd\u591f\u540c\u65f6\u8bc6\u522b\u548c\u53d1\u9001\u591a\u4e2aVLAN\u7684\u6570\u636e\u5e27\u3002\u6839\u636e\u63a5\u53e3\u8fde\u63a5\u5bf9\u8c61\u4ee5\u53ca\u5bf9\u6536\u53d1\u6570\u636e\u5e27\u5904\u7406\u7684\u4e0d\u540c\uff0c\u5f53\u524d\u6709VLAN\u7684\u591a\u79cd\u63a5\u53e3\u7c7b\u578b\uff0c\u4ee5\u9002\u5e94\u4e0d\u540c\u7684\u8fde\u63a5\u548c\u7ec4\u7f51\u3002<\/p>\n<p>\u4e0d\u540c\u5382\u5546\u5bf9VLAN\u63a5\u53e3\u7c7b\u578b\u7684\u5b9a\u4e49\u53ef\u80fd\u4e0d\u540c\u3002\u5bf9\u4e8e\u534e\u4e3a\u8bbe\u5907\u6765\u8bf4\uff0c\u5e38\u89c1\u7684VLAN\u63a5\u53e3\u7c7b\u578b\u6709\u4e09\u79cd\uff0c\u5305\u62ec\uff1aAccess\u3001Trunk\u548cHybrid\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>Access\u63a5\u53e3<\/h3>\n<p>Access\u63a5\u53e3\u4e00\u822c\u7528\u4e8e\u548c\u4e0d\u80fd\u8bc6\u522bTag\u7684\u7528\u6237\u7ec8\u7aef\uff08\u5982\u7528\u6237\u4e3b\u673a\u3001\u670d\u52a1\u5668\uff09\u76f8\u8fde\uff0c\u6216\u8005\u4e0d\u9700\u8981\u533a\u5206\u4e0d\u540cVLAN\u6210\u5458\u65f6\u4f7f\u7528\u3002<\/p>\n<p>\u5728\u4e00\u4e2aVLAN\u4ea4\u6362\u7f51\u7edc\u4e2d\uff0c\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u4e3b\u8981\u6709\u4ee5\u4e0b\u4e24\u79cd\u5f62\u5f0f\uff1a<\/p>\n<ul>\n<li>\u65e0\u6807\u8bb0\u5e27\uff08Untagged\u5e27\uff09\uff1a\u539f\u59cb\u7684\u3001\u672a\u52a0\u51654\u5b57\u8282VLAN\u6807\u7b7e\u7684\u5e27\u3002<\/li>\n<li>\u6709\u6807\u8bb0\u5e27\uff08Tagged\u5e27\uff09\uff1a\u52a0\u5165\u4e864\u5b57\u8282VLAN\u6807\u7b7e\u7684\u5e27\u3002<\/li>\n<\/ul>\n<p>Access\u63a5\u53e3\u5927\u90e8\u5206\u60c5\u51b5\u53ea\u80fd\u6536\u53d1Untagged\u5e27\uff0c\u4e14\u53ea\u80fd\u4e3aUntagged\u5e27\u6dfb\u52a0\u552f\u4e00VLAN\u7684Tag\u3002\u4ea4\u6362\u673a\u5185\u90e8\u53ea\u5904\u7406Tagged\u5e27\uff0c\u6240\u4ee5Access\u63a5\u53e3\u9700\u8981\u7ed9\u6536\u5230\u7684\u6570\u636e\u5e27\u6dfb\u52a0VLAN Tag\uff0c\u4e5f\u5c31\u5fc5\u987b\u914d\u7f6e\u7f3a\u7701VLAN\u3002\u914d\u7f6e\u7f3a\u7701VLAN\u540e\uff0c\u8be5Access\u63a5\u53e3\u4e5f\u5c31\u52a0\u5165\u4e86\u8be5VLAN\u3002<\/p>\n<p>\u5f53Access\u63a5\u53e3\u6536\u5230\u5e26\u6709Tag\u7684\u5e27\uff0c\u5e76\u4e14\u5e27\u4e2dVID\u4e0ePVID\u76f8\u540c\u65f6\uff0cAccess\u63a5\u53e3\u4e5f\u80fd\u63a5\u6536\u5e76\u5904\u7406\u8be5\u5e27\u3002<\/p>\n<p>\u5728\u53d1\u9001\u5e26\u6709Tag\u7684\u5e27\u524d\uff0cAccess\u63a5\u53e3\u4f1a\u5265\u79bbTag\u3002<\/p>\n<h3>Trunk\u63a5\u53e3<\/h3>\n<p>Trunk\u63a5\u53e3\u4e00\u822c\u7528\u4e8e\u8fde\u63a5\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u3001AP\u4ee5\u53ca\u53ef\u540c\u65f6\u6536\u53d1Tagged\u5e27\u548cUntagged\u5e27\u7684\u8bed\u97f3\u7ec8\u7aef\u3002\u5b83\u53ef\u4ee5\u5141\u8bb8\u591a\u4e2aVLAN\u7684\u5e27\u5e26Tag\u901a\u8fc7\uff0c\u4f46\u53ea\u5141\u8bb8\u5c5e\u4e8e\u7f3a\u7701VLAN\u7684\u5e27\u4ece\u8be5\u7c7b\u63a5\u53e3\u4e0a\u53d1\u51fa\u65f6\u4e0d\u5e26Tag\uff08\u5373\u5265\u9664Tag\uff09\u3002<\/p>\n<p>Trunk\u63a5\u53e3\u4e0a\u7684\u7f3a\u7701VLAN\uff0c\u6709\u7684\u5382\u5546\u4e5f\u5c06\u5b83\u5b9a\u4e49\u4e3anative VLAN\u3002\u5f53Trunk\u63a5\u53e3\u6536\u5230Untagged\u5e27\u65f6\uff0c\u4f1a\u4e3aUntagged\u5e27\u6253\u4e0aNative VLAN\u5bf9\u5e94\u7684Tag\u3002<\/p>\n<h3>Hybrid\u63a5\u53e3<\/h3>\n<p>Hybrid\u63a5\u53e3\u65e2\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u4e0d\u80fd\u8bc6\u522bTag\u7684\u7528\u6237\u7ec8\u7aef\uff08\u5982\u7528\u6237\u4e3b\u673a\u3001\u670d\u52a1\u5668\uff09\u548c\u7f51\u7edc\u8bbe\u5907\uff08\u5982Hub\uff09\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u4ee5\u53ca\u53ef\u540c\u65f6\u6536\u53d1Tagged\u5e27\u548cUntagged\u5e27\u7684\u8bed\u97f3\u7ec8\u7aef\u3001AP\u3002\u5b83\u53ef\u4ee5\u5141\u8bb8\u591a\u4e2aVLAN\u7684\u5e27\u5e26Tag\u901a\u8fc7\uff0c\u4e14\u5141\u8bb8\u4ece\u8be5\u7c7b\u63a5\u53e3\u53d1\u51fa\u7684\u5e27\u6839\u636e\u9700\u8981\u914d\u7f6e\u67d0\u4e9bVLAN\u7684\u5e27\u5e26Tag\uff08\u5373\u4e0d\u5265\u9664Tag\uff09\u3001\u67d0\u4e9bVLAN\u7684\u5e27\u4e0d\u5e26Tag\uff08\u5373\u5265\u9664Tag\uff09\u3002<\/p>\n<p>Hybrid\u63a5\u53e3\u548cTrunk\u63a5\u53e3\u5728\u5f88\u591a\u5e94\u7528\u573a\u666f\u4e0b\u53ef\u4ee5\u901a\u7528\uff0c\u4f46\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e0b\uff0c\u5fc5\u987b\u4f7f\u7528Hybrid\u63a5\u53e3\u3002\u6bd4\u5982\u5728\u7075\u6d3bQinQ\u4e2d\uff0c\u670d\u52a1\u63d0\u4f9b\u5546\u7f51\u7edc\u7684\u591a\u4e2aVLAN\u7684\u62a5\u6587\u5728\u8fdb\u5165\u7528\u6237\u7f51\u7edc\u524d\uff0c\u9700\u8981\u5265\u79bb\u5916\u5c42VLAN Tag\uff0c\u6b64\u65f6Trunk\u63a5\u53e3\u4e0d\u80fd\u5b9e\u73b0\u8be5\u529f\u80fd\uff0c\u56e0\u4e3aTrunk\u63a5\u53e3\u53ea\u80fd\u4f7f\u8be5\u63a5\u53e3\u7f3a\u7701VLAN\u7684\u62a5\u6587\u4e0d\u5e26VLAN Tag\u901a\u8fc7\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>6. VLAN\u7684\u4f7f\u7528\u573a\u666f<\/h2>\n<p>VLAN\u7684\u5e38\u89c1\u4f7f\u7528\u573a\u666f\u5305\u62ec\uff1aVLAN\u95f4\u7528\u6237\u7684\u4e8c\u5c42\u9694\u79bb\uff0cVLAN\u95f4\u7528\u6237\u7684\u4e09\u5c42\u4e92\u8bbf\u3002<\/p>\n<h3>6.1 VLAN\u95f4\u7528\u6237\u7684\u4e8c\u5c42\u9694\u79bb<\/h3>\n<h4>\u57fa\u4e8e\u63a5\u53e3\u5212\u5206<\/h4>\n<p>\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u67d0\u5546\u52a1\u697c\u5185\u6709\u591a\u5bb6\u516c\u53f8\uff0c\u4e3a\u4e86\u964d\u4f4e\u6210\u672c\uff0c\u591a\u5bb6\u516c\u53f8\u5171\u7528\u7f51\u7edc\u8d44\u6e90\uff0c\u5404\u516c\u53f8\u5206\u522b\u8fde\u63a5\u5230\u4e00\u53f0\u4e8c\u5c42\u4ea4\u6362\u673a\u7684\u4e0d\u540c\u63a5\u53e3\uff0c\u5e76\u901a\u8fc7\u7edf\u4e00\u7684\u51fa\u53e3\u8bbf\u95eeInternet\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301645465.png\" referrerpolicy=\"no-referrer\" alt=\"1667057127832-c288f4df-d428-49d7-ac68-1673b0fe6b9a\"><\/p>\n<p>\u4e3a\u4e86\u4fdd\u8bc1\u5404\u516c\u53f8\u4e1a\u52a1\u7684\u72ec\u7acb\u548c\u5b89\u5168\uff0c\u53ef\u5c06\u6bcf\u4e2a\u516c\u53f8\u6240\u8fde\u63a5\u7684\u63a5\u53e3\u5212\u5206\u5230\u4e0d\u540c\u7684VLAN\uff0c\u5b9e\u73b0\u516c\u53f8\u95f4\u4e1a\u52a1\u6570\u636e\u7684\u5b8c\u5168\u9694\u79bb\u3002\u53ef\u4ee5\u8ba4\u4e3a\u6bcf\u4e2a\u516c\u53f8\u62e5\u6709\u72ec\u7acb\u7684\u201c\u865a\u62df\u8def\u7531\u5668\u201d\uff0c\u6bcf\u4e2aVLAN\u5c31\u662f\u4e00\u4e2a\u201c\u865a\u62df\u5de5\u4f5c\u7ec4\u201d\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u57fa\u4e8eIP\u5730\u5740\u5212\u5206<\/h4>\n<p>\u518d\u6bd4\u5982\uff0c\u67d0\u516c\u53f8\u6709\u4e24\u4e2a\u90e8\u95e8\uff0c\u5206\u522b\u5206\u914d\u4e86\u56fa\u5b9a\u7684IP\u7f51\u6bb5\u3002\u4e3a\u52a0\u5f3a\u5458\u5de5\u95f4\u7684\u5b66\u4e60\u4e0e\u4ea4\u6d41\uff0c\u5458\u5de5\u7684\u4f4d\u7f6e\u6709\u65f6\u4f1a\u76f8\u4e92\u8c03\u52a8\uff0c\u4f46\u516c\u53f8\u5e0c\u671b\u5404\u90e8\u95e8\u5458\u5de5\u8bbf\u95ee\u7684\u7f51\u7edc\u8d44\u6e90\u7684\u6743\u9650\u4e0d\u53d8\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301645744.png\" referrerpolicy=\"no-referrer\" alt=\"1667057289310-c545bffa-d151-4647-af7e-6ee0a83e393c\"><\/p>\n<p>\u4e3a\u4e86\u4fdd\u8bc1\u90e8\u95e8\u5185\u5458\u5de5\u7684\u4f4d\u7f6e\u8c03\u6574\u540e\uff0c\u8bbf\u95ee\u7f51\u7edc\u8d44\u6e90\u7684\u6743\u9650\u4e0d\u53d8\uff0c\u53ef\u5728\u516c\u53f8\u7684\u4ea4\u6362\u673aSwitch_1\u4e0a\u914d\u7f6e\u57fa\u4e8eIP\u5b50\u7f51\u5212\u5206VLAN\u3002\u8fd9\u6837\uff0c\u670d\u52a1\u5668\u7684\u4e0d\u540c\u7f51\u6bb5\u5c31\u5212\u5206\u5230\u4e0d\u540c\u7684VLAN\uff0c\u8bbf\u95ee\u670d\u52a1\u5668\u4e0d\u540c\u5e94\u7528\u670d\u52a1\u7684\u6570\u636e\u6d41\u5c31\u4f1a\u9694\u79bb\uff0c\u63d0\u9ad8\u4e86\u5b89\u5168\u6027\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>6.2 VLAN\u95f4\u7528\u6237\u7684\u4e09\u5c42\u4e92\u8bbf<\/h3>\n<p>\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u67d0\u5c0f\u578b\u516c\u53f8\u7684\u4e24\u4e2a\u90e8\u95e8\u5206\u522b\u901a\u8fc7\u4e8c\u5c42\u4ea4\u6362\u673a\u63a5\u5165\u5230\u4e00\u53f0\u4e09\u5c42\u4ea4\u6362\u673aSwitch_3\uff0c\u6240\u5c5eVLAN\u5206\u522b\u4e3aVLAN2\u548cVLAN3\uff0c\u90e8\u95e81\u548c\u90e8\u95e82\u7684\u7528\u6237\u4e92\u901a\u65f6\uff0c\u9700\u8981\u7ecf\u8fc7\u4e09\u5c42\u4ea4\u6362\u673a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202212012056209.png\" referrerpolicy=\"no-referrer\" alt=\"202212012052639\"><\/p>\n<p>\u901a\u8fc7VLANIF\u5b9e\u73b0VLAN\u95f4\u7528\u6237\u7684\u4e09\u5c42\u4e92\u8bbf<\/p>\n<p>\u53ef\u5728Switch_1\u548cSwitch_2\u4e0a\u5212\u5206VLAN\u5e76\u5c06VLAN\u900f\u4f20\u5230Switch_3\u4e0a\uff0c\u7136\u540e\u5728Switch_3\u4e0a\u4e3a\u6bcf\u4e2aVLAN\u914d\u7f6e\u4e00\u4e2aVLANIF\u63a5\u53e3\uff0c\u5b9e\u73b0VLAN2\u548cVLAN3\u95f4\u7684\u8def\u7531\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>7. \u5b9e\u9a8c<\/h2>\n<p>\u7531\u4e8evlan\u4e2d\u5b9e\u9a8c\u8f83\u591a\uff0c\u5c31\u4e0d\u5728\u6587\u7ae0\u4e2d\u5177\u4f53\u89e3\u91ca\u600e\u4e48\u914d\u7f6e\uff1b\u53ea\u653e\u62d3\u6251\u56fe\uff0c\u4e0d\u8fc7\u5927\u5bb6\u53ef\u4ee5\u4e0b\u8f7d\u62d3\u6251\u56fe\uff0c\u6240\u6709\u62d3\u6251\u5747\u5df2\u914d\u7f6e\u597d\u5e76\u9644\u6709\u8be6\u7ec6\u547d\u4ee4  <a href=\"https:\/\/resource.chentaiyang.space\/ensp-vlan.zip\">\u6233\u6211\u4e0b\u8f7d\u62d3\u6251\u56fe\ud83c\udf39<\/a><\/p>\n<h3>7.1 \u4e24\u53f0\u4ea4\u6362\u673a\u901a\u8fc7VLAN\u9694\u79bb\u540c\u4e00\u7f51\u6bb5\u4e3b\u673a\u4e92\u901a<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301646641.png\" referrerpolicy=\"no-referrer\" alt=\"1667058680527-42a10640-2a42-414c-bc1e-6c1e593c251f\"><\/p>\n<p>&nbsp;<\/p>\n<h3>7.2 \u589e\u52a0\u6c47\u805a\u4ea4\u6362\u673a\u5b9e\u73b0\u591a\u63a5\u5165\u4ea4\u6362\u673a\u4e92\u8054<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301647613.png\" referrerpolicy=\"no-referrer\" alt=\"1667058323888-64d56ab6-e134-422a-94e4-daec653c8d18\"><\/p>\n<p>&nbsp;<\/p>\n<h3>7.3 VLAN\u95f4\u8def\u7531\u5b9e\u73b0\u90e8\u95e8\u95f4\u4e09\u5c42\u4e92\u901a<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/PicGo202210301647778.png\" referrerpolicy=\"no-referrer\" alt=\"1667058788437-b602de05-7eed-4108-890e-7196945192b5\"><\/p>\n<p>&nbsp;<\/p>\n<p>\u672c\u6587\u5b8c<\/p>\n<p>\u656c\u7231\u4e8e\u660e\u5929\ud83c\udf39<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u534e\u4e3a\u6a21\u62df\u5668ensp\u5b89\u88c5\u5305\u4ee5\u53caVLAN\u7b80\u8ff0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80],"tags":[81,62,36],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-huawei","tag-ensp","tag-62","tag-36"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>VLAN\u7b80\u8ff0 - #\u762b\u7537\u65e5\u8bb0<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.taiyang.space\/?p=272\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VLAN\u7b80\u8ff0 - #\u762b\u7537\u65e5\u8bb0\" \/>\n<meta property=\"og:description\" content=\"\u534e\u4e3a\u6a21\u62df\u5668ensp\u5b89\u88c5\u5305\u4ee5\u53caVLAN\u7b80\u8ff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.taiyang.space\/?p=272\" \/>\n<meta property=\"og:site_name\" content=\"#\u762b\u7537\u65e5\u8bb0\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-30T09:03:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-05T07:24:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picture.chentaiyang.space\/PicGo202210301639411.png\" \/>\n<meta name=\"author\" content=\"taiyang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"taiyang\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=272#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=272\"},\"author\":{\"name\":\"taiyang\",\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"headline\":\"VLAN\u7b80\u8ff0\",\"datePublished\":\"2022-10-30T09:03:15+00:00\",\"dateModified\":\"2023-05-05T07:24:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=272\"},\"wordCount\":246,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"keywords\":[\"ensp\",\"\u6570\u901a\",\"\u8ba1\u7f51\"],\"articleSection\":[\"Huawei\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.taiyang.space\/?p=272#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=272\",\"url\":\"https:\/\/blog.taiyang.space\/?p=272\",\"name\":\"VLAN\u7b80\u8ff0 - #\u762b\u7537\u65e5\u8bb0\",\"isPartOf\":{\"@id\":\"https:\/\/blog.taiyang.space\/#website\"},\"datePublished\":\"2022-10-30T09:03:15+00:00\",\"dateModified\":\"2023-05-05T07:24:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=272#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.taiyang.space\/?p=272\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=272#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/blog.taiyang.space\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VLAN\u7b80\u8ff0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.taiyang.space\/#website\",\"url\":\"https:\/\/blog.taiyang.space\/\",\"name\":\"#\u762b\u7537\u65e5\u8bb0\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.taiyang.space\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\",\"name\":\"taiyang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg\",\"contentUrl\":\"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg\",\"width\":612,\"height\":640,\"caption\":\"taiyang\"},\"logo\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/blog.taiyang.space\"],\"url\":\"https:\/\/blog.taiyang.space\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VLAN\u7b80\u8ff0 - #\u762b\u7537\u65e5\u8bb0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.taiyang.space\/?p=272","og_locale":"zh_CN","og_type":"article","og_title":"VLAN\u7b80\u8ff0 - #\u762b\u7537\u65e5\u8bb0","og_description":"\u534e\u4e3a\u6a21\u62df\u5668ensp\u5b89\u88c5\u5305\u4ee5\u53caVLAN\u7b80\u8ff0","og_url":"https:\/\/blog.taiyang.space\/?p=272","og_site_name":"#\u762b\u7537\u65e5\u8bb0","article_published_time":"2022-10-30T09:03:15+00:00","article_modified_time":"2023-05-05T07:24:46+00:00","og_image":[{"url":"https:\/\/picture.chentaiyang.space\/PicGo202210301639411.png"}],"author":"taiyang","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"taiyang","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.taiyang.space\/?p=272#article","isPartOf":{"@id":"https:\/\/blog.taiyang.space\/?p=272"},"author":{"name":"taiyang","@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"headline":"VLAN\u7b80\u8ff0","datePublished":"2022-10-30T09:03:15+00:00","dateModified":"2023-05-05T07:24:46+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.taiyang.space\/?p=272"},"wordCount":246,"commentCount":0,"publisher":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"keywords":["ensp","\u6570\u901a","\u8ba1\u7f51"],"articleSection":["Huawei"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.taiyang.space\/?p=272#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.taiyang.space\/?p=272","url":"https:\/\/blog.taiyang.space\/?p=272","name":"VLAN\u7b80\u8ff0 - #\u762b\u7537\u65e5\u8bb0","isPartOf":{"@id":"https:\/\/blog.taiyang.space\/#website"},"datePublished":"2022-10-30T09:03:15+00:00","dateModified":"2023-05-05T07:24:46+00:00","breadcrumb":{"@id":"https:\/\/blog.taiyang.space\/?p=272#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.taiyang.space\/?p=272"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.taiyang.space\/?p=272#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.taiyang.space\/"},{"@type":"ListItem","position":2,"name":"VLAN\u7b80\u8ff0"}]},{"@type":"WebSite","@id":"https:\/\/blog.taiyang.space\/#website","url":"https:\/\/blog.taiyang.space\/","name":"#\u762b\u7537\u65e5\u8bb0","description":"","publisher":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.taiyang.space\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c","name":"taiyang","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/","url":"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg","contentUrl":"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg","width":612,"height":640,"caption":"taiyang"},"logo":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/blog.taiyang.space"],"url":"https:\/\/blog.taiyang.space\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272"}],"version-history":[{"count":5,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}