{"id":2607,"date":"2024-04-22T09:02:39","date_gmt":"2024-04-22T01:02:39","guid":{"rendered":"http:\/\/www.plm.cn\/?p=2607"},"modified":"2024-04-22T09:02:39","modified_gmt":"2024-04-22T01:02:39","slug":"windows%e5%b8%b8%e7%94%a8%e7%bd%91%e7%bb%9c%e5%91%bd%e4%bb%a4%ef%bc%88%e4%b8%aa%e4%ba%ba%e6%94%b6%e8%97%8f%ef%bc%89","status":"publish","type":"post","link":"http:\/\/www.plm.cn\/2607\/","title":{"rendered":"Windows\u5e38\u7528\u7f51\u7edc\u547d\u4ee4\uff08\u4e2a\u4eba\u6536\u85cf\uff09"},"content":{"rendered":"

\u4e2a\u4eba\u6536\u85cfWindows\u5e38\u7528\u7f51\u7edc\u547d\u4ee4\uff0c\u638c\u63e1\u8fd9\u4e9b\u516c\u53f8\u5185\u7684\u4e00\u4e9b\u65e5\u5e38\u7f51\u7edc\u95ee\u9898\u5c31\u80fd\u89e3\u51b3\u4e86\"\"<\/p>\n

1\u3001ping\u547d\u4ee4<\/h5>\n

ping\u662f\u4e2a\u4f7f\u7528\u9891\u7387\u6781\u9ad8\u7684\u5b9e\u7528\u7a0b\u5e8f\uff0c\u4e3b\u8981\u7528\u4e8e\u786e\u5b9a\u7f51\u7edc\u7684\u8fde\u901a\u6027\u3002\u8fd9\u5bf9\u786e\u5b9a\u7f51\u7edc\u662f\u5426\u6b63\u786e\u8fde\u63a5\uff0c\u4ee5\u53ca\u7f51\u7edc\u8fde\u63a5\u7684\u72b6\u51b5\u5341\u5206\u6709\u7528\u3002\u7b80\u5355\u7684\u8bf4\uff0cping\u5c31\u662f\u4e00\u4e2a\u6d4b\u8bd5\u7a0b\u5e8f\uff0c\u5982\u679cping\u8fd0\u884c\u6b63\u786e\uff0c\u5927\u4f53\u4e0a\u5c31\u53ef\u4ee5\u6392\u9664\u7f51\u7edc\u8bbf\u95ee\u5c42\u3001\u7f51\u5361\u3001Modem\u7684\u8f93\u5165\u8f93\u51fa\u7ebf\u8def\u3001\u7535\u7f06\u548c\u8def\u7531\u5668\u7b49\u5b58\u5728\u7684\u6545\u969c\uff0c\u4ece\u800c\u7f29\u5c0f\u95ee\u9898\u7684\u8303\u56f4\u3002ping\u7684\u65f6\u5019\u662f\u53ef\u4ee5\u4e0d\u5e26\u7aef\u53e3\u7684\u3002ping \u7684\u547d\u4ee4\u683c\u5f0f\u901a\u5e38\u662fping + IP\u3001 \u5730\u5740 ping +\u57df\u540d\u3001 ping+ \u4e3b\u673a\u540d<\/p>\n

2\u3001ipconfig\u547d\u4ee4<\/h5>\n

ipconfig\u5b9e\u7528\u7a0b\u5e8f\u53ef\u7528\u4e8e\u663e\u793a\u5f53\u524d\u7684TCP\/IP\u914d\u7f6e\u7684\u8bbe\u7f6e\u503c\u3002\u8fd9\u4e9b\u4fe1\u606f\u4e00\u822c\u7528\u6765\u68c0\u9a8c\u4eba\u5de5\u914d\u7f6e\u7684TCP\/IP\u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u3002
\n\u6700\u5e38\u7528\u65b9\u6cd5\uff1aipconfig \/all<\/p>\n

\u800c\u4e14\uff0c\u5982\u679c\u8ba1\u7b97\u673a\u548c\u6240\u5728\u7684\u5c40\u57df\u7f51\u4f7f\u7528\u4e86\u52a8\u6001\u4e3b\u673a\u914d\u7f6e\u534f\u8baeDHCP\uff0c\u4f7f\u7528ipconfig\u547d\u4ee4\u53ef\u4ee5\u4e86\u89e3\u5230\u4f60\u7684\u8ba1\u7b97\u673a\u662f\u5426\u6210\u529f\u5730\u79df\u7528\u5230\u4e86\u4e00\u4e2aIP\u5730\u5740\uff0c\u5982\u679c\u5df2\u7ecf\u79df\u7528\u5230\uff0c\u5219\u53ef\u4ee5\u4e86\u89e3\u5b83\u76ee\u524d\u5f97\u5230\u7684\u662f\u4ec0\u4e48\u5730\u5740\uff0c\u5305\u62ecIP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u548c\u7f3a\u7701\u7f51\u5173\u7b49\u7f51\u7edc\u914d\u7f6e\u4fe1\u606f\u3002<\/p>\n

3\u3001netstat\u547d\u4ee4<\/h5>\n

\u5b66\u4e60\u4f7f\u7528netstat\u547d\u4ee4\uff0c\u4ee5\u4e86\u89e3\u7f51\u7edc\u5f53\u524d\u7684\u72b6\u6001\u3002
\n\u6700\u5e38\u7528\u7684\u5e94\u7528\uff1anetstat -ano | findstr 80<\/p>\n

netstat\u547d\u4ee4\u80fd\u591f\u663e\u793a\u6d3b\u52a8\u7684TCP\u8fde\u63a5\u3001\u8ba1\u7b97\u673a\u4fa6\u542c\u7684\u7aef\u53e3\u3001\u4ee5\u592a\u7f51\u7edf\u8ba1\u4fe1\u606f\u3001IP\u8def\u7531\u8868\u3001IPv4\u7edf\u8ba1\u4fe1\u606f\uff08\u5bf9\u4e8eIP\u3001ICMP\u3001TCP\u548cUDP\u534f\u8bae\uff09\u4ee5\u53caIPv6\u7edf\u8ba1\u4fe1\u606f\uff08\u5bf9\u4e8eIPv6\u3001ICMPv6\u3001\u901a\u8fc7IPv6\u7684TCP\u4ee5\u53caUDP\u534f\u8bae\uff09\u3002\u4f7f\u7528\u65f6\u5982\u679c\u4e0d\u5e26\u53c2\u6570\uff0cnetstat\u663e\u793a\u6d3b\u52a8\u7684TCP\u8fde\u63a5\u3002<\/p>\n

4\u3001arp\u547d\u4ee4\uff08\u5730\u5740\u8f6c\u6362\u534f\u8bae\uff09<\/h5>\n

ARP\u662fTCP\/IP\u534f\u8bae\u65cf\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u534f\u8bae\uff0c\u7528\u4e8e\u786e\u5b9a\u5bf9\u5e94IP\u5730\u5740\u7684\u7f51\u5361\u7269\u7406\u5730\u5740\u3002<\/p>\n

\u4f7f\u7528arp\u547d\u4ee4\uff0c\u80fd\u591f\u67e5\u770b\u672c\u5730\u8ba1\u7b97\u673a\u6216\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\u7684ARP\u9ad8\u901f\u7f13\u5b58\u4e2d\u7684\u5f53\u524d\u5185\u5bb9\u3002\u6b64\u5916\uff0c\u4f7f\u7528arp\u547d\u4ee4\u53ef\u4ee5\u4eba\u5de5\u65b9\u5f0f\u8bbe\u7f6e\u9759\u6001\u7684\u7f51\u5361\u7269\u7406\u5730\u5740\/IP\u5730\u5740\u5bf9\uff0c\u4f7f\u7528\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u4e3a\u7f3a\u7701\u7f51\u5173\u548c\u672c\u5730\u670d\u52a1\u5668\u7b49\u5e38\u7528\u4e3b\u673a\u8fdb\u884c\u672c\u5730\u9759\u6001\u914d\u7f6e\uff0c\u8fd9\u6709\u52a9\u4e8e\u51cf\u5c11\u7f51\u7edc\u4e0a\u7684\u4fe1\u606f\u91cf\u3002<\/p>\n

\u6309\u7167\u7f3a\u7701\u8bbe\u7f6e\uff0cARP\u9ad8\u901f\u7f13\u5b58\u4e2d\u7684\u9879\u76ee\u662f\u52a8\u6001\u7684\uff0c\u6bcf\u5f53\u5411\u6307\u5b9a\u5730\u70b9\u53d1\u9001\u6570\u636e\u5e76\u4e14\u6b64\u65f6\u9ad8\u901f\u7f13\u5b58\u4e2d\u4e0d\u5b58\u5728\u5f53\u524d\u9879\u76ee\u65f6\uff0cARP\u4fbf\u4f1a\u81ea\u52a8\u6dfb\u52a0\u8be5\u9879\u76ee\u3002<\/p>\n

5\u3001net\u547d\u4ee4<\/h5>\n

\u4e86\u89e3Net\u670d\u52a1\u7684\u529f\u80fd\uff0c\u5b66\u4f1a\u4f7f\u7528Net\u670d\u52a1\u547d\u4ee4\u89e3\u51b3\u6709\u5173\u7f51\u7edc\u95ee\u9898\u3002
\n\u6700\u5e38\u89c1\u7684\u5e94\u7528\uff1anet stop server\u547d\u4ee4\u7528\u4e8e\u63d0\u793a\u7528\u6237\u786e\u8ba4\u505c\u6b62\u6240\u6709\u4f9d\u8d56\u7684\u670d\u52a1\u5668\u670d\u52a1\uff0cnet stop server\/y\u8868\u793a\u786e\u8ba4\u505c\u6b62\u5e76\u5173\u95ed\u670d\u52a1\u5668\u670d\u52a1\u3002<\/p>\n

\u5728\u547d\u4ee4\u884c\u952e\u5165net help command\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u83b7\u5f97net\u547d\u4ee4\u7684\u8bed\u6cd5\u5e2e\u52a9\u3002\u4f8b\u5982\uff0c\u8981\u5f97\u5230\u5173\u4e8enet accounts\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f\uff0c\u53ef\u952e\u5165\u201cnet help accounts\u201d\u3002<\/p>\n

\u6240\u6709net\u547d\u4ee4\u90fd\u53ef\u4ee5\u4f7f\u7528\/y\u548c\/n\u547d\u4ee4\u884c\u9009\u9879\u3002<\/p>\n

6\u3001traceroute\u547d\u4ee4<\/h5>\n

\u638c\u63e1\u4f7f\u7528traceroute\u547d\u4ee4\u6d4b\u91cf\u8def\u7531\u60c5\u51b5\u7684\u6280\u80fd\uff0c\u5373\u7528\u6765\u663e\u793a\u6570\u636e\u5305\u5230\u8fbe\u76ee\u7684\u4e3b\u673a\u6240\u7ecf\u8fc7\u7684\u8def\u5f84\u3002<\/p>\n

traceroute\u547d\u4ee4\u7684\u57fa\u672c\u7528\u6cd5\u662f\uff0c\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u540e\u952e\u5165\u201ctracert host_name\u201d\u6216\u201ctracert ip_address\u201d\uff0c\u5176\u4e2d\uff0ctracert\u662ftraceroute\u5728Windows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u79f0\u547c\u3002<\/p>\n

7\u3001 route\u547d\u4ee4<\/h5>\n

\u5927\u591a\u6570\u4e3b\u673a\u4e00\u822c\u90fd\u662f\u9a7b\u7559\u5728\u53ea\u8fde\u63a5\u4e00\u53f0\u8def\u7531\u5668\u7684\u7f51\u6bb5\u4e0a\u3002\u7531\u4e8e\u53ea\u6709\u4e00\u53f0\u8def\u7531\u5668\uff0c\u56e0\u6b64\u4e0d\u5b58\u5728\u9009\u62e9\u4f7f\u7528\u54ea\u4e00\u53f0\u8def\u7531\u5668\u5c06\u6570\u636e\u5305\u53d1\u9001\u5230\u8fdc\u7a0b\u8ba1\u7b97\u673a\u4e0a\u53bb\u7684\u95ee\u9898\uff0c\u8be5\u8def\u7531\u5668\u7684IP\u5730\u5740\u53ef\u4f5c\u4e3a\u8be5\u7f51\u6bb5\u4e0a\u6240\u6709\u8ba1\u7b97\u673a\u7684\u7f3a\u7701\u7f51\u5173\u3002
\n\u6700\u5e38\u89c1\u7684\u5e94\u7528\uff1a\u5f53\u51fa\u73b0\u7f51\u7edc\u8fde\u4e0d\u4e0a\uff0c\u6211\u4eec\u9700\u8981\u5224\u65ad\u90a3\u4e2a\u73af\u8282\u5f02\u5e38\u7684\u65f6\u5019 \uff0c\u53ef\u4ee5\u901a\u8fc7route\u53bb\u770b\u770b\uff0c\u7cfb\u7edf\u5728\u90a3\u4e2a\u8def\u7531\u88ab\u65ad\u5f00\u4e86<\/p>\n

\u4f46\u662f\uff0c\u5f53\u7f51\u7edc\u4e0a\u62e5\u6709\u4e24\u4e2a\u6216\u591a\u4e2a\u8def\u7531\u5668\u65f6\uff0c\u7528\u6237\u5c31\u4e0d\u4e00\u5b9a\u60f3\u53ea\u4f9d\u8d56\u7f3a\u7701\u7f51\u5173\u4e86\u3002\u5b9e\u9645\u4e0a\u53ef\u80fd\u60f3\u8ba9\u67d0\u4e9b\u8fdc\u7a0bIP\u5730\u5740\u901a\u8fc7\u67d0\u4e2a\u7279\u5b9a\u7684\u8def\u7531\u5668\u6765\u4f20\u9012\uff0c\u800c\u5176\u4ed6\u7684\u8fdc\u7a0bIP\u5219\u901a\u8fc7\u53e6\u4e00\u4e2a\u8def\u7531\u5668\u6765\u4f20\u9012\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7528\u6237\u9700\u8981\u76f8\u5e94\u7684\u8def\u7531\u4fe1\u606f\uff0c\u8fd9\u4e9b\u4fe1\u606f\u50a8\u5b58\u5728\u8def\u7531\u8868\u4e2d\uff0c\u6bcf\u4e2a\u4e3b\u673a\u548c\u6bcf\u4e2a\u8def\u7531\u5668\u90fd\u914d\u6709\u81ea\u5df1\u72ec\u4e00\u65e0\u4e8c\u7684\u8def\u7531\u8868\u3002\u5927\u591a\u6570\u8def\u7531\u5668\u4f7f\u7528\u4e13\u95e8\u7684\u8def\u7531\u534f\u8bae\u6765\u4ea4\u6362\u548c\u52a8\u6001\u66f4\u65b0\u8def\u7531\u5668\u4e4b\u95f4\u7684\u8def\u7531\u8868\u3002\u4f46\u5728\u6709\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5fc5\u987b\u4eba\u5de5\u5c06\u9879\u76ee\u6dfb\u52a0\u5230\u8def\u7531\u5668\u548c\u4e3b\u673a\u4e0a\u7684\u8def\u7531\u8868\u4e2d\u3002<\/p>\n

8\u3001nslookup\u547d\u4ee4<\/h5>\n

\u547d\u4ee4nslookup\u7684\u529f\u80fd\u662f\u67e5\u8be2\u4efb\u4f55\u4e00\u53f0\u673a\u5668\u7684IP\u5730\u5740\u548c\u5176\u5bf9\u5e94\u7684\u57df\u540d\u3002\u5b83\u901a\u5e38\u9700\u8981\u4e00\u53f0\u57df\u540d\u670d\u52a1\u5668\u6765\u63d0\u4f9b\u57df\u540d\u3002\u5982\u679c\u7528\u6237\u5df2\u7ecf\u8bbe\u7f6e\u597d\u57df\u540d\u670d\u52a1\u5668\uff0c\u5c31\u53ef\u4ee5\u7528\u8fd9\u4e2a\u547d\u4ee4\u67e5\u770b\u4e0d\u540c\u4e3b\u673a\u7684IP\u5730\u5740\u5bf9\u5e94\u7684\u57df\u540d\u3002<\/p>\n

9\u3001nbtstat\u547d\u4ee4<\/h5>\n

\u4f7f\u7528nbtstat\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u8ba1\u7b97\u673a\u4e0a\u7f51\u7edc\u914d\u7f6e\u7684\u4e00\u4e9b\u4fe1\u606f\u3002\u4f7f\u7528\u8fd9\u6761\u547d\u4ee4\u8fd8\u53ef\u4ee5\u67e5\u627e\u51fa\u522b\u4eba\u8ba1\u7b97\u673a\u4e0a\u4e00\u4e9b\u79c1\u4eba\u4fe1\u606f\u3002\u5982\u679c\u60f3\u67e5\u770b\u81ea\u5df1\u8ba1\u7b97\u673a\u4e0a\u7684\u7f51\u7edc\u4fe1\u606f
\n\u6700\u5e38\u89c1\u7684\u5e94\u7528\uff1a\u53ef\u4ee5\u8fd0\u884cnbtstat -n\uff0c\u53ef\u4ee5\u5f97\u5230\u4f60\u6240\u5728\u7684\u5de5\u4f5c\u7ec4\uff0c\u8ba1\u7b97\u673a\u540d\u4ee5\u53ca\u7f51\u5361\u5730\u5740\u7b49\u7b49\uff1b\u60f3\u67e5\u770b\u7f51\u7edc\u4e0a\u5176\u4ed6\u7684\u7535\u8111\u60c5\u51b5\uff0c\u5c31\uff0c\u8fd0\u884cnbtstat -a *.*.*.*\uff0c\u6b64\u5904\u7684*.*.*.*\u7528IP\u5730\u5740\u4ee3\u66ff\u5c31\u4f1a\u8fd4\u56de\u5f97\u5230\u90a3\u53f0\u4e3b\u673a\u4e0a\u7684\u4e00\u4e9b\u4fe1\u606f\u3002<\/p>\n

 <\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u4e2a\u4eba\u6536\u85cfWindows\u5e38\u7528\u7f51\u7edc\u547d\u4ee4\uff0c\u638c\u63e1\u8fd9\u4e9b\u516c\u53f8\u5185\u7684\u4e00\u4e9b\u65e5\u5e38\u7f51\u7edc\u95ee\u9898\u5c31\u80fd\u89e3\u51b3\u4e86 1\u3001ping\u547d\u4ee4 ping\u662f\u4e2a […]<\/p>\n","protected":false},"author":1,"featured_media":2608,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[16],"class_list":["post-2607","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-xinwen"],"_links":{"self":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts\/2607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/comments?post=2607"}],"version-history":[{"count":1,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts\/2607\/revisions"}],"predecessor-version":[{"id":2609,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts\/2607\/revisions\/2609"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/media\/2608"}],"wp:attachment":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/media?parent=2607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/categories?post=2607"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/tags?post=2607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}