{"id":410,"date":"2020-10-21T11:48:35","date_gmt":"2020-10-21T03:48:35","guid":{"rendered":"https:\/\/sinofool.net\/blog\/?p=410"},"modified":"2020-10-21T11:48:35","modified_gmt":"2020-10-21T03:48:35","slug":"tl-r479gpe-ac%e8%ae%be%e7%bd%aevlan","status":"publish","type":"post","link":"https:\/\/sinofool.net\/blog\/archives\/410","title":{"rendered":"TL-R479GPE-AC\u8bbe\u7f6eVLAN"},"content":{"rendered":"\n<p>\u6211\u524d\u6bb5\u65f6\u95f4\u4e3a\u4e86\u4e70WiFi6 AP\uff0c\u987a\u624b\u4e00\u8d77\u4e70\u4e86TL-R479GPE-AC\u3002\u5230\u624b\u53d1\u73b0\u662f4.0\u7248\u786c\u4ef6\uff0c\u9664\u4e86PoE\u4ec0\u4e48\u90fd\u6ca1\u6709\uff0c\u8fd8\u4e0d\u5982\u4e70\u4e2a\u66f4\u5c0f\u7684AC\u3002\u8fd9\u4e9bAP\u652f\u6301VLAN\uff0c\u8fd9\u4e2a\u53f7\u79f0\u4f01\u4e1a\u7ea7\u7684\u8def\u7531\u5668\u7adf\u7136\u4e0d\u652f\u6301\u3002<\/p>\n\n\n\n<p>\u867d\u7136\u65c1\u8def\u8fde\u4ea4\u6362\u673a\u4e5f\u80fd\u7528\uff0c\u4f46\u662f\u95f2\u7f6e8\u4e2aPoE\u6211\u5c31\u60f3\u6298\u817e\u6298\u817e\uff0c\u65e2\u7136\u662fOpenWrt\uff0c\u6700\u96be\u4e5f\u5c31\u662f\u62c6\u5f00\u63a5\u4e2aSerial Console\u5457\u3002\u641c\u5230\u7684\u6587\u7ae0\u5927\u90fd\u662f\u65e7\u56fa\u4ef6\u6709\u5907\u4efd\u6f0f\u6d1e\u7684\uff0c\u7136\u800c\u65b0\u7248\u672c\u5907\u4efd\u51fa\u6765\u4e0d\u662f\u538b\u7f29\u5305\u3002\u4e3b\u8981\u53c2\u8003\u4e86\u4e24\u7bc7\u6587\u7ae0\uff0c\u94fe\u63a5\u653e\u5728\u6700\u540e\u3002\u7ed5\u4e86\u4e00\u4e2a\u5927\u5f2f\u5b50\u65ad\u65ad\u7eed\u7eed\u6298\u817e\u4e86\u597d\u4e45\uff0c\u6700\u7ec8\u6210\u529f\u8fbe\u5230\u76ee\u7684\uff0c\u53ea\u6709\u5f88\u7b80\u5355\u7684\u4e24\u6b65\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e00\u6b65\uff0c\u8ba1\u7b97root\u5bc6\u7801\u3002<\/p>\n\n\n\n<p>\u4e0b\u8f7d\u56fa\u4ef6\u89e3\u538b\u7f29\u4ee5\u540e\u80fd\u770b\u5230\/etc\/passwd\u91cc\u9762root\u6709\u4e00\u4e2a\u9ed8\u8ba4\u5bc6\u7801\uff0c\u4f46\u662f\/etc\/init.d\/dropbear\u4f1a\u5728\u542f\u52a8\u540e\u6839\u636eMAC\u5730\u5740\u8bbe\u7f6e\u4e00\u4e2a\u65b0\u7684\uff0c\u7b97\u6cd5\u4e0e\u65e7\u56fa\u4ef6\u4e0d\u540c\uff0c\u662fLAN MAC\u5730\u5740\u7ecf\u8fc7MD5\u540e\u7684\u524d16\u4f4d\uff0c\u65e7\u56fa\u4ef6\u662f8\u4f4d\u3002<\/p>\n\n\n\n<p>\u542f\u7528SSH\u5728\u7ba1\u7406\u754c\u9762\u5c31\u6709\uff0c\u53eb\u201c\u6545\u969c\u8bca\u65ad\u6a21\u5f0f\u201d\uff0c\u7aef\u53e3\u9ed8\u8ba4\u662f33400\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e8c\u6b65\uff0c\u8bbe\u7f6eVLAN\u3002<\/p>\n\n\n\n<p>\u6211\u53ea\u628a\u8fd9\u4e2a\u8bbe\u5907\u5f53AC\uff0c\u4e3a\u4e86\u7701\u4e8b\u5c31\u628a\u6240\u6709\u7aef\u53e3\u90fd\u52a0\u4e86tag\uff0c\u6ca1\u6709\u5206\u6790\u5bf9\u5e94\u7684\u7f16\u53f7\u3002\u8fd9\u4e24\u884c\u5199\u5230\u4e86\/etc\/rc.local\uff0c\u8bd5\u4e86\u4e00\u4e0b\u91cd\u542f\u548c\u65ad\u7535\u540e\u90fd\u8fd8\u5728\uff0c\u731c\u6d4b\u662f\u6709\u7279\u6b8a\u5904\u7406\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>swconfig dev switch0 vlan 5 set ports '0t 1t 2t 3t 6t'\nswconfig dev switch1 vlan 5 set ports '0t 1t 2t 3t 4t 7t'<\/code><\/pre>\n\n\n\n<p>\u53c2\u8003\u6587\u7ae0\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-jcat\"><div class=\"wp-block-embed__wrapper\">\nhttp:\/\/blog.jcat.cn\/?p=74\n<\/div><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.right.com.cn\/forum\/thread-332822-1-1.html\">https:\/\/www.right.com.cn\/forum\/thread-332822-1-1.html<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u524d\u6bb5\u65f6\u95f4\u4e3a\u4e86\u4e70WiFi6 AP\uff0c\u987a\u624b\u4e00\u8d77\u4e70\u4e86TL-R479GPE-AC\u3002\u5230\u624b\u53d1\u73b0\u662f4.0\u7248\u786c\u4ef6\uff0c\u9664\u4e86PoE\u4ec0\u4e48\u90fd\u6ca1\u6709\uff0c\u8fd8\u4e0d\u5982\u4e70\u4e2a\u66f4\u5c0f\u7684AC\u3002\u8fd9\u4e9bAP\u652f\u6301VLAN\uff0c\u8fd9\u4e2a\u53f7\u79f0\u4f01\u4e1a\u7ea7\u7684\u8def\u7531\u5668\u7adf\u7136\u4e0d\u652f\u6301\u3002 \u867d\u7136\u65c1\u8def\u8fde\u4ea4\u6362\u673a\u4e5f\u80fd\u7528\uff0c\u4f46\u662f\u95f2\u7f6e8\u4e2aPoE\u6211\u5c31\u60f3\u6298\u817e\u6298\u817e\uff0c\u65e2\u7136\u662fOpenWrt\uff0c\u6700\u96be\u4e5f\u5c31\u662f\u62c6\u5f00\u63a5\u4e2aSerial Console\u5457\u3002\u641c\u5230\u7684\u6587\u7ae0\u5927\u90fd\u662f\u65e7\u56fa\u4ef6\u6709\u5907\u4efd\u6f0f\u6d1e\u7684\uff0c\u7136\u800c\u65b0\u7248\u672c\u5907\u4efd\u51fa\u6765\u4e0d\u662f\u538b\u7f29\u5305\u3002\u4e3b\u8981\u53c2\u8003\u4e86\u4e24\u7bc7\u6587\u7ae0\uff0c\u94fe\u63a5\u653e\u5728\u6700\u540e\u3002\u7ed5\u4e86\u4e00\u4e2a\u5927\u5f2f\u5b50\u65ad\u65ad\u7eed\u7eed\u6298\u817e\u4e86\u597d\u4e45\uff0c\u6700\u7ec8\u6210\u529f\u8fbe\u5230\u76ee\u7684\uff0c\u53ea\u6709\u5f88\u7b80\u5355\u7684\u4e24\u6b65\u3002 \u7b2c\u4e00\u6b65\uff0c\u8ba1\u7b97root\u5bc6\u7801\u3002 \u4e0b\u8f7d\u56fa\u4ef6\u89e3\u538b\u7f29\u4ee5\u540e\u80fd\u770b\u5230\/etc\/passwd\u91cc\u9762root\u6709\u4e00\u4e2a\u9ed8\u8ba4\u5bc6\u7801\uff0c\u4f46\u662f\/etc\/init.d\/dropbear\u4f1a\u5728\u542f\u52a8\u540e\u6839\u636eMAC\u5730\u5740\u8bbe\u7f6e\u4e00\u4e2a\u65b0\u7684\uff0c\u7b97\u6cd5\u4e0e\u65e7\u56fa\u4ef6\u4e0d\u540c\uff0c\u662fLAN MAC\u5730\u5740\u7ecf\u8fc7MD5\u540e\u7684\u524d16\u4f4d\uff0c\u65e7\u56fa\u4ef6\u662f8\u4f4d\u3002 \u542f\u7528SSH\u5728\u7ba1\u7406\u754c\u9762\u5c31\u6709\uff0c\u53eb\u201c\u6545\u969c\u8bca\u65ad\u6a21\u5f0f\u201d\uff0c\u7aef\u53e3\u9ed8\u8ba4\u662f33400\u3002 \u7b2c\u4e8c\u6b65\uff0c\u8bbe\u7f6eVLAN\u3002 \u6211\u53ea\u628a\u8fd9\u4e2a\u8bbe\u5907\u5f53AC\uff0c\u4e3a\u4e86\u7701\u4e8b\u5c31\u628a\u6240\u6709\u7aef\u53e3\u90fd\u52a0\u4e86tag\uff0c\u6ca1\u6709\u5206\u6790\u5bf9\u5e94\u7684\u7f16\u53f7\u3002\u8fd9\u4e24\u884c\u5199\u5230\u4e86\/etc\/rc.local\uff0c\u8bd5\u4e86\u4e00\u4e0b\u91cd\u542f\u548c\u65ad\u7535\u540e\u90fd\u8fd8\u5728\uff0c\u731c\u6d4b\u662f\u6709\u7279\u6b8a\u5904\u7406\u3002 \u53c2\u8003\u6587\u7ae0\uff1a https:\/\/www.right.com.cn\/forum\/thread-332822-1-1.html<\/p>\n","protected":false},"author":2,"featured_media":416,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-410","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_featured_media_url":"https:\/\/sinofool.net\/blog\/wp-content\/uploads\/2020\/10\/976.jpg","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts\/410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/comments?post=410"}],"version-history":[{"count":2,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts\/410\/revisions"}],"predecessor-version":[{"id":417,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts\/410\/revisions\/417"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/media\/416"}],"wp:attachment":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/media?parent=410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/categories?post=410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/tags?post=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}