{"id":205,"date":"2009-03-17T11:06:35","date_gmt":"2009-03-17T11:06:35","guid":{"rendered":""},"modified":"2009-03-17T11:06:35","modified_gmt":"2009-03-17T11:06:35","slug":"205","status":"publish","type":"post","link":"https:\/\/www.poloo.org\/?p=205","title":{"rendered":"\u53cc\u7f51\u5361\u5185\u5916\u7f51\u540c\u65f6\u7528"},"content":{"rendered":"<p>\u673a\u5668\u6709\u4e24\u5757\u7f51\u5361\uff0c\u63a5\u5230\u4e24\u53f0\u4ea4\u6362\u673a\u4e0a<br \/>internet\u5730\u5740\uff1a192.168.1.8\uff0c\u5b50\u7f51\u63a9\u7801\uff1a255.255.255.0\uff0c\u7f51\u5173\uff1a192.168.1.1<br \/>\u5185\u90e8\u7f51\u5730\u5740\uff1a172.23.1.8\uff0c\u5b50\u7f51\u63a9\u7801\uff1a255.255.255.0\uff0c\u7f51\u5173\uff1a172.23.1.1<\/p>\n<p>\u5982\u679c\u6309\u6b63\u5e38\u7684\u8bbe\u7f6e\u65b9\u6cd5\u8bbe\u7f6e\u6bcf\u5757\u7f51\u5361\u7684ip\u5730\u5740\u548c\u7f51\u5173\uff0c\u518dcmd\u4e0b\u4f7f\u7528route print\u67e5\u770b\u65f6\u4f1a\u770b\u5230<br \/>Network Destination Netmask Gateway Interface Metric<br \/>0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.8<br \/>0.0.0.0 0.0.0.0 172.23.1.1 172.23.1.8<br \/>\u5373\u6307\u54110.0.0.0\u7684\u6709\u4e24\u4e2a\u7f51\u5173\uff0c\u8fd9\u6837\u5c31\u4f1a\u51fa\u73b0\u8def\u7531\u51b2\u7a81\uff0c\u4e24\u4e2a\u7f51\u7edc\u90fd\u4e0d\u80fd\u8bbf\u95ee\u3002<\/p>\n<p>\u5982\u4f55\u5b9e\u73b0\u540c\u65f6\u8bbf\u95ee\u4e24\u4e2a\u7f51\u7edc\uff1f\u90a3\u8981\u7528\u5230route\u547d\u4ee4<\/p>\n<p>\u7b2c\u4e00\u6b65\uff1aroute delete 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp; &#8220;\u5220\u9664\u6240\u67090.0.0.0\u7684\u8def\u7531&#8221;<br \/>\u7b2c\u4e8c\u6b65\uff1aroute add 0.0.0.0 mask 0.0.0.0 192.168.1.1&nbsp;&nbsp;&nbsp;&nbsp; &#8220;\u6dfb\u52a00.0.0.0\u7f51\u7edc\u8def\u7531&#8221;\u8fd9\u4e2a\u662f\u4e3b\u8981\u7684,\u610f\u601d\u5c31\u662f\u4f60\u53ef\u4ee5\u4e0a\u5916\u7f51.<br \/>\u7b2c\u4e09\u6b65\uff1aroute add 172.23.0.0 mask 255.0.0.0 172.23.1.1&nbsp;&nbsp;&nbsp;&nbsp;&#8220;\u6dfb\u52a0172.23.0.0\u7f51\u7edc\u8def\u7531&#8221;\uff0c\u6ce8\u610fmask\u4e3a255.0.0.0&nbsp;&nbsp; \uff0c\u800c\u4e0d\u662f255.255.255.0 \uff0c\u8fd9\u6837\u5185\u90e8\u7684\u591a\u7f51\u6bb5\u624d\u53ef\u7528\u3002<\/p>\n<p>\u8fd9\u65f6\u5c31\u53ef\u4ee5\u540c\u65f6\u8bbf\u95ee\u4e24\u4e2a\u7f51\u7edc\u4e86\uff0c\u4f46\u78b0\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u4f7f\u7528\u4e0a\u8ff0\u547d\u4ee4\u6dfb\u52a0\u7684\u8def\u7531\u5728\u7cfb\u7edf\u91cd\u65b0\u542f\u52a8\u540e\u4f1a\u81ea\u52a8\u4e22\u5931\uff0c\u600e\u6837\u4fdd\u5b58\u73b0\u6709\u7684\u8def\u7531\u8868\u5462\uff1f<br \/>route add -p \u6dfb\u52a0\u9759\u6001\u8def\u7531\uff0c\u5373\u91cd\u542f\u540e\uff0c\u8def\u7531\u4e0d\u4f1a\u4e22\u5931\u3002\u6ce8\u610f\u4f7f\u7528\u524d\u8981\u5728tcp\/ip\u8bbe\u7f6e\u91cc\u53bb\u6389\u63a5\u5728\u4f01\u4e1a\u5185\u90e8\u7f51\u7684\u7f51\u5361\u7684\u7f51\u5173<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u673a\u5668\u6709\u4e24\u5757\u7f51\u5361\uff0c\u63a5\u5230\u4e24\u53f0\u4ea4\u6362\u673a\u4e0ainternet\u5730\u5740\uff1a192.168&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-NetOS"],"_links":{"self":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=205"}],"version-history":[{"count":0,"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}