{"id":110184,"date":"2020-05-03T18:44:03","date_gmt":"2020-05-03T10:44:03","guid":{"rendered":"http:\/\/4563.org\/?p=110184"},"modified":"2020-05-03T18:44:03","modified_gmt":"2020-05-03T10:44:03","slug":"%e6%b1%82%e9%97%ae-%e5%ae%bd%e5%b8%a6%e5%8f%af%e4%bb%a5%e5%a4%9a%e6%ac%a1%e6%8b%a8%e5%8f%b7%e5%be%97%e5%88%b0%e5%a4%9a%e4%b8%aa%e5%85%ac%e7%bd%91-ip-%e5%b1%80%e5%9f%9f%e7%bd%91%e4%b8%ad%e7%9a%84","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=110184","title":{"rendered":"\u6c42\u95ee \u5bbd\u5e26\u53ef\u4ee5\u591a\u6b21\u62e8\u53f7\u5f97\u5230\u591a\u4e2a\u516c\u7f51 IP \u5c40\u57df\u7f51\u4e2d\u7684\u673a\u5668\u5982\u4f55\u5206\u914d\u8fd9\u4e9b\u516c\u7f51 IP"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6c42\u95ee \u5bbd\u5e26\u53ef\u4ee5\u591a\u6b21\u62e8\u53f7\u5f97\u5230\u591a\u4e2a\u516c\u7f51 IP \u5c40\u57df\u7f51\u4e2d\u7684\u673a\u5668\u5982\u4f55\u5206\u914d\u8fd9\u4e9b\u516c\u7f51 IP               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Aixiaoa <\/span>  <span><i><\/i> 65<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<h3>\u9700\u6c42<\/h3>\n<p>1.\u4e00\u4e2a\u8bbe\u5907\u62e8\u53f7\u5e76\u7ed9\u5185\u7f51\u8bbe\u5907\u5206\u53d1\u5185\u7f51 IP \uff08\u8def\u7531\uff09<\/p>\n<p>2.\u5185\u7f51\u8bbe\u5907\u83b7\u53d6\u5230\u5185\u7f51 IP \u4e4b\u95f4\u53ef\u4ee5\u4f7f\u7528\u5185\u7f51 IP \u901a\u4fe1<\/p>\n<p>3.\u516c\u7f51 IP \u5206\u522b\u5bf9\u5e94\u4e0d\u540c\u7684\u5185\u7f51\u8bbe\u5907\uff08\u4e5f\u5c31\u662f\u4e00\u4e2a\u516c\u7f51 IP \u5bf9\u5e94\u4e00\u4e2a\u5185\u7f51 IP \uff09\uff0c\u5728\u516c\u7f51\u8bbf\u95ee\u516c\u7f51 IP \u53ef\u4ee5\u76f4\u63a5\u8fde\u63a5\u5230\u5bf9\u5e94\u5185\u7f51\u8bbe\u5907\u4e0a\uff08\u6bd4\u5982 ssh \u767b\u5f55 \uff09 \u7aef\u53e3\u8f6c\u53d1\u4e0d\u80fd\u6ee1\u8db3\u9700\u6c42\uff0c\u9700\u8981\u5168\u7aef\u53e3\u8f6c\u53d1\u4e14 IP \u4e92\u76f8\u5bf9\u5e94<\/p>\n<p>4.\u6211\u7406\u60f3\u4e2d\u7684\u597d\u50cf\u5c31\u662f\u516c\u6709\u4e91\u90a3\u79cd\u7684\uff0c\u963f\u91cc\u4e91\u670d\u52a1\u5668 ip addr \u770b\u5230\u7684\u662f\u5185\u7f51 IP\uff0c\u8fd8\u4f1a\u7ed1\u5b9a\u4e00\u4e2a\u516c\u7f51 IP \u4f7f\u7528<\/p>\n<p>\u6211\u5fc3\u91cc\u5dee\u4e0d\u591a\u6709\u70b9 B \u6570\u4e86\uff0c\u53ef\u60dc\u7f51\u7edc\u57fa\u7840\u4ec5\u4ec5\u5165\u95e8\uff0c\u4e0d\u592a\u6e05\u695a\u5177\u4f53\u4e00\u70b9\u600e\u4e48\u505a\u624d\u80fd\u8fbe\u5230\u8fd9\u79cd\u6548\u679c\uff0c\u8fd8\u671b\u5404\u4f4d\u5de8\u4f6c\u4e0d\u541d\u8d50\u6559<\/p>\n<h3>\u9884\u7b97<\/h3>\n<p>\u51e0\u5343\u5230\u4e07\u628a\u5757\u5427<\/p>\n<p>\u8def\u7531\u3001\u4ea4\u6362\u673a\u90fd\u53ef\u4ee5\u4e70<\/p>\n<p>\u8bbe\u5907\u6bd4\u8f83\u8d35\u4e5f\u53ef\u4ee5\u63a5\u53d7<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>14<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"603670\" 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>                                                             OpenWrt \u88c5\u4e2a mwan3 \u5373\u53ef\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603671\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oovveeaarr <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1:1 NAT                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603672\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : runtu2019 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5de5\u5177\u591a\u5f97\u5f88\uff0cwin \u6216\u8005 linux \u505a nat \u6620\u5c04\uff0c\u597d\u4e00\u70b9\u5c31\u662f\u4e09\u5c42\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u90fd\u652f\u6301\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603673\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pcbl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7fa1\u6155\u53ef\u4ee5\u72ec\u7acb\u591a\u62e8\u7684\uff0c\u6211\u8fd9\u53ea\u80fd\u4e00\u62e8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603674\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pcbl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u52a0\u94b1\u90fd\u4e0d\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603675\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Aixiaoa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cwbsw \u90a3 IP \u5982\u4f55\u5bf9\u5e94\u5462\uff1f<\/p>\n<p>@oovveeaarr \u55ef\u55ef \u786e\u5b9e\u53ef\u4ee5 \u4ea4\u6362\u673a\u53ef\u4ee5\u505a\u8fd9\u4e2a\u4e8b\u4e48\uff1f \u6211\u6253\u7b97\u4e70\u4e2a mikrotik \u4e07\u5146 \u53bb\u62e8\u53f7\u83b7\u53d6 IP ros \u6211\u8bb0\u5f97\u597d\u50cf\u4e5f\u80fd\u505a\u8fd9\u4e2a \u4f46\u662f ros \u6211\u4e0d\u4f1a\u7528<\/p>\n<p>@runtu2019 \u4e09\u5c42\u8def\u7531\u62e8\u53f7\u7136\u540e\u9759\u6001 nat \uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603676\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Aixiaoa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @pcbl \u54c8\u54c8\u54c8\u54c8 \u4e5f\u633a\u8d35\u7684 \u8981\u4e0d\u662f\u6ca1\u529e\u6cd5 \u6211\u66f4\u5e0c\u671b\u4e00\u6761\u5bbd\u5e26\u4e00\u4e2a\u673a\u5668                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603677\" 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>                                                             @Aixiaoa <br \/>mwan3 \u6307\u5b9a\u6bcf\u53f0\u673a\u5668\u8d70\u4e0d\u540c\u7684\u5916\u7f51\u51fa\u53e3\u4e0d\u5c31\u5b8c\u4e86\uff1f\u7528 mwan3 \u662f\u56e0\u4e3a\u914d\u7f6e\u7701\u4e8b\uff0c\u4e8b\u5b9e\u4e0a ip rule \u51e0\u6761\u547d\u4ee4\u5c31\u641e\u5b9a\u4e86\u3002<br \/>\u6216\u8005\u6362\u4e2a\u601d\u8def\uff0c\u901a\u8fc7 VLAN \u4e5f\u53ef\u4ee5\u5b9e\u73b0\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603678\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Aixiaoa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cwbsw \u8fd9\u4e2a\u5165\u7ad9\u6d41\u91cf\u5982\u4f55\u8f6c\u53d1\u5230\u6b63\u786e\u7684\u5185\u7f51\u673a\u5668\u5462\uff1f \u4f60\u8bf4\u7684 vlan \u662f wan \u53e3\u6253\u6807\u7b7e lan \u53e3\u90a3\u53f0\u6307\u5b9a\u7684\u5185\u7f51\u673a\u5668\u4e5f\u653e\u4e00\u4e2a vlan \u91cc\u5c31\u80fd\u89e3\u51b3\u4e86\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603679\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pcbl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Aixiaoa \u4e00\u6761\u5bbd\u5e26\u4e00\u4e2a\u7684\u8bdd\uff0c\u5f97\u5f04\u597d\u51e0\u4e2a\u5149\u732b\uff0c\u6ca1\u6709\u90a3\u4e48\u591a\u591a\u5165\u6237\u5149\u7ea4\uff0c\u5f31\u7535\u7bb1\u4f4d\u7f6e\u4e5f\u4e0d\u591f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603680\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZXCDFGTYU <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8001\u54e5\u641e\u5de5\u4f5c\u5ba4\u7684\u5427\uff0c\u4f60\u8bd5\u8bd5\u7231\u5feb\u6216\u8005 ROS \u770b\u770b\uff0c\u6211\u8bb0\u5f97\u53ef\u4ee5 PPPoE \u591a\u62e8\u53f7\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603681\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Aixiaoa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @pcbl \u6211\u5c31\u662f\u5165\u6237\u597d\u591a\u5149\u7ea4 \u5149\u732b \u76f4\u63a5\u4e00\u95f4\u5c4b\u5b50\u653e\u4e86<\/p>\n<p>@ZXCDFGTYU \u5bf9 \u6211\u5dee\u4e0d\u591a\u786e\u5b9a\u65b9\u6848\u4e86 ros \u62e8\u53f7\u52a0\u9759\u6001 nat \u6620\u5c04 \u52a0 dhcp \u4e0b\u53d1\u5185\u7f51 ip \u5177\u4f53\u7684\u4fee\u6539\u6620\u5c04\u6211\u6253\u7b97\u627e\u4eba\u5f00\u53d1 api<br \/>\u5982\u679c ros \u6211\u641e\u4e0d\u61c2\u600e\u4e48\u7528 \u5c31\u5f04 openwrt                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603682\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZXCDFGTYU <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Aixiaoa \u4f60\u770b\u4e0b\u7231\u5feb\u5427\uff0c\u5e94\u8be5\u652f\u6301\u591a PPPoE\uff0c\u7136\u540e\u6211\u8bb0\u5f97\u7231\u5feb\u6709\u4e2a\u914d\u7f6e\u80fd\u6307\u5b9a\u54ea\u4e2a\u62e8\u53f7\u5bf9\u5e94\u54ea\u4e2a\u5185\u7f51 ip \u7684\u6765\u7740\uff0c\u4f60\u770b\u770b\u5427\uff0cros \u5176\u5b9e\u4e5f\u5dee\u4e0d\u591a\u3002\u7231\u5feb\u7684\u8bdd\u64cd\u4f5c\u6bd4\u8f83\u7b80\u5355\u4e9b\u3002\u4ee5\u524d\u6211\u505a\u7684\u4e00\u4e2a\u9879\u76ee\u5c31\u662f\u8fd9\u79cd\u7684\uff0c\u5e94\u8be5\u4e0d\u7528\u8fd9\u4e48\u9ebb\u70e6\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"603683\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZXCDFGTYU <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Aixiaoa \u627e\u4e2a\u914d\u7f6e\u597d\u70b9\u7684\u7535\u8111\u5c31\u80fd\u88c5\u7231\u5feb\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6c42\u95ee \u5bbd\u5e26\u53ef\u4ee5\u591a\u6b21\u62e8\u53f7\u5f97\u5230\u591a\u4e2a\u516c\u7f51&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\/110184"}],"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=110184"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/110184\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=110184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=110184"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=110184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}