{"id":225592,"date":"2020-12-07T17:08:04","date_gmt":"2020-12-07T09:08:04","guid":{"rendered":"http:\/\/4563.org\/?p=225592"},"modified":"2020-12-07T17:08:04","modified_gmt":"2020-12-07T09:08:04","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e5%b1%80%e5%9f%9f%e7%bd%91%e9%87%8c%e8%bf%9b%e8%a1%8c%ef%bc%88%e8%89%af%e6%80%a7%e7%9a%84%ef%bc%89dhcp-%e5%8a%ab%e6%8c%81","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=225592","title":{"rendered":"\u5982\u4f55\u5728\u5c40\u57df\u7f51\u91cc\u8fdb\u884c\uff08\u826f\u6027\u7684\uff09DHCP \u52ab\u6301"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5982\u4f55\u5728\u5c40\u57df\u7f51\u91cc\u8fdb\u884c\uff08\u826f\u6027\u7684\uff09DHCP \u52ab\u6301               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dangyuluo <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u548c\u5927\u90e8\u5206\u5bb6\u5ead\u4e00\u6837\uff0c\u6211\u5bb6\u6709\u4e00\u4e2a\u518d\u666e\u901a\u4e0d\u8fc7\u7684\u5c40\u57df\u7f51\uff0c\u4e3b\u8def\u7531\u8d1f\u8d23 DHCP\uff0c\u7f51\u5173\u548c NAT\uff0c\u5176\u4f59\u8bbe\u5907\u90fd\u5728\u548c\u8c10\u5730\u4e0a\u7f51\u3002\u540e\u6765\u4e3a\u4e86\u4e00\u4e9b\u79d1\u7814\u76ee\u7684\uff0c\u6211\u914d\u7f6e\u4e86\u4e00\u4e2a\u8bbe\u5907\u3002\u4e3a\u4e86\u5b9e\u73b0\u900f\u660e\u79d1\u7814\uff0c\u6211\u5173\u6389\u4e86\u4e3b\u8def\u7531\u7684 DHCP\uff0c\u5728\u8bbe\u5907 X \u4e0a\u914d\u7f6e\u4e86\u9759\u6001 IP \u5e76\u5f00\u542f\u4e86 DHCP \u670d\u52a1\uff0c\u4e00\u5207\u8fd0\u884c\u826f\u597d\u3002<\/p>\n<p>\u4f46\u662f\u6709\u7684\u670b\u53cb\u4e5f\u9700\u8981\u8fdb\u884c\u79d1\u7814\uff0c\u4f46\u4ed6\u4eec\u5bf9\u8def\u7531\u5668\u53c8\u4e0d\u719f\u6089\uff0c\u65e0\u6cd5\u505a\u5230\u4ece\u5bb9\u914d\u7f6e\uff0c\u56e0\u6b64\u6211\u60f3\u80fd\u4f7f\u8bbe\u5907 X \u52ab\u6301\u4e86\u4e3b\u8def\u7531\u5668\u91cc\u7684 DHCP \u670d\u52a1\uff0c\u771f\u6b63\u5730\u505a\u5230\u5373\u63d2\u5373\u7528\u3002<\/p>\n<p>\u76ee\u524d\u624b\u91cc\u6ca1\u6709\u5bcc\u4f59\u7684\u8bbe\u5907\u53ef\u4f9b\u5b9e\u9a8c\uff0c\u8bf7\u95ee\u5927\u5bb6\u6709\u6ca1\u6709\u7c7b\u4f3c\u7684\u7ecf\u9a8c\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4565597\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : visitant <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a X \u4e0a\u7684 DHCP \u914d\u7f6e\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565598\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : dangyuluo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @visitant \u5df2\u7ecf\u5f00\u542f\u4e86 DHCP\uff0c\u8fd8\u9700\u8981\u4ec0\u4e48\u7279\u6b8a\u7684\u914d\u7f6e\u4e48\uff1f\u8ba9\u4ed6\u80fd\u62a2\u7b54\u5730\u66f4\u5feb\u70b9\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565599\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : dangyuluo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u60f3\u56f0\u96be\u70b9\u5e94\u8be5\u662f\u5982\u4f55\u4f7f\u8bbe\u5907 X \u7684 DHCP \u5305\u603b\u662f\u80fd\u591f\u7b2c\u4e00\u4e2a\u5230\u8fbe\u8bbe\u5907\uff0c\u8fd9\u4e2a\u548c\u7269\u7406\u8ddd\u79bb\u5e94\u8be5\u6ca1\u5173\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565600\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : visitant <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u76f4\u63a5\u628a\u4e3b\u8def\u7531\u7684 DHCP \u529f\u80fd\u5173\u4e86,\u53ea\u8ba9\u8ba9 X \u7684 DHCP \u5de5\u4f5c\u5c31\u53ef\u4ee5\u4e86\u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565601\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Elissa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f4\u63a5\u5173\u4e86\u4e3b\u8def\u7531 DHCP\uff0cx \u5f53 DHCP \u5c31\u884c\u4e86\uff0c\u4e3b\u8def\u7531\u7f51\u5173\u548c nat \u4e0d\u5f71\u54cd\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565602\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : loading <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u63a5\u6210\u4e24\u5c42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565603\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Alwaysonline <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \uff08 1 \uff09 \u4e3b\u8def\u7531\u5f00 DHCP\uff0c\u7f51\u5173\u6539\u6210 X \u8def\u7531\u7684\u3002<br \/>\uff08 2 \uff09 X \u8def\u7531\u5173 DHCP\uff0c\u914d\u7f6e\u597d\u79d1\u7814\u89c4\u5219\u3002<\/p>\n<p>\u6240\u6709\u7684\u8bbe\u5907\u81ea\u52a8\u83b7\u53d6\u5373\u53ef\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565604\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : indo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u76ee\u524d\u7684\u65b9\u6848\u662f\u65c1\u8def\u7531\u65b9\u5f0f\u3002<br \/>\u4e3b\u8def\u7531\u5f00\u542f DHCP\uff0c\u666e\u901a\u7528\u6237\u76f4\u63a5\u81ea\u52a8\u83b7\u53d6\u5185\u7f51 IP \u6b63\u5e38\u4e0a\u7f51\u3002<br \/>X \u5173\u95ed DHCP \u3002\u9700\u8981\u79d1\u7814\u7684\u8bbe\u5907\u94fe\u63a5\u7f51\u7edc\u540e\u83b7\u53d6 IP \u540e\uff0c\u624b\u52a8\u628a\u7f51\u5173\u6539\u6210 X \u8bbe\u5907\u7684 IP \u5373\u53ef\u3002<br \/>\u8fd9\u6837\u666e\u901a\u8bbe\u5907\u4e0d\u9700\u8981\u7279\u522b\u8bbe\u7f6e\u76f4\u63a5\u4f7f\u7528\uff0c\u9700\u8981\u79d1\u7814\u89c4\u5219\u7684\u8bbe\u5907\u624b\u52a8\u8bbe\u7f6e\u4e00\u4e0b\u7f51\u5173\u5c31\u53ef\u4ee5\u4e86\uff0c\u8fd9\u6837\u5373\u4f7f\u6298\u817e X \u4e5f\u4e0d\u4f1a\u5f71\u54cd\u522b\u7684\u666e\u901a\u7528\u6237\u7684\u4f7f\u7528\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565605\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cwbsw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             DHCP Server \u4f8b\u5982 Dnsmasq \u53ef\u4ee5\u6839\u636e\u5ba2\u6237\u7aef ID \u3001Mac \u5730\u5740\u3001Vendor ID \u7b49\u7b49\u4fe1\u606f\u7ed9\u4e0d\u540c\u8bbe\u5907\u5206\u914d\u4e0d\u540c\u7684\u7f51\u5173\u548c DNS \u8bbe\u7f6e\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4565606\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shikkoku <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Openwrt \u7684 DHCP \u8bbe\u7f6e\u91cc\u6211\u8bb0\u5f97\u6709\u5f3a\u5236\u9009\u9879 <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/12\/20201217_5fdb7de120887.png\" rel=\"noreferrer\" alt=\"\u5982\u4f55\u5728\u5c40\u57df\u7f51\u91cc\u8fdb\u884c\uff08\u826f\u6027\u7684\uff09DHCP \u52ab\u6301\"> <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u5728\u5c40\u57df\u7f51\u91cc\u8fdb\u884c\uff08\u826f\u6027\u7684\uff09DHC&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225592"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225592"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225592\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225592"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}