{"id":267259,"date":"2023-03-19T06:03:56","date_gmt":"2023-03-18T22:03:56","guid":{"rendered":"https:\/\/lrxjmw.cn\/lwlgzpcjjpbt.html"},"modified":"2023-03-19T06:03:56","modified_gmt":"2023-03-18T22:03:56","slug":"lwlgzpcjjpbt","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lwlgzpcjjpbt.html","title":{"rendered":"Linux\u7f51\u7edc\u6545\u969c\u6392\u67e5\uff1a\u89e3\u51b3ping\u4e0d\u901a\u7684\u95ee\u9898"},"content":{"rendered":"

\u5728\u7f51\u7edc\u8fde\u63a5\u4e2d\uff0cping\u547d\u4ee4<\/a>\u662f\u4e00\u79cd\u5e38\u7528\u7684\u7f51\u7edc\u8bca\u65ad\u5de5\u5177\u3002\u4f46\u6709\u65f6\u5019\u6211\u4eec\u4f1a\u53d1\u73b0\uff0c\u5728Linux<\/a>\u7cfb\u7edf<\/a>\u4e0b\u4f7f\u7528ping\u547d\u4ee4\u65f6\uff0c\u5b83\u4f1a\u63d0\u793a“ping: unknown host”\u6216“request timed out”\u7b49\u9519\u8bef\u4fe1\u606flinux vi\u547d\u4ee4\uff0c\u5bfc\u81f4\u6211\u4eec\u65e0\u6cd5\u6b63\u5e38\u4f7f\u7528\u8be5\u547d\u4ee4\u3002\u672c\u6587\u5c06\u4ece\u591a\u4e2a\u65b9\u9762\u5206\u6790\u8fd9\u4e9b\u9519\u8bef\u4fe1\u606f\u7684\u539f\u56e0\uff0c\u5e76\u63d0\u4f9b\u89e3\u51b3\u65b9\u6848\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u89e3\u51b3Linux ping\u4e0d\u901a\u7684\u95ee\u9898\u3002<\/p>\n

\u4e00\u3001\u672a\u6b63\u786e\u8f93\u5165\u4e3b\u673a\u540d\u6216IP\u5730\u5740<\/p>\n

\u9996\u5148\uff0c\u5982\u679c\u60a8\u8f93\u5165\u7684\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u6709\u8bef\uff0c\u5219\u4f1a\u51fa\u73b0“unknown host”\u9519\u8bef\u3002\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5\u8f93\u5165\u7684\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u662f\u5426\u6b63\u786e\uff0c\u4ee5\u786e\u4fdd\u5176\u6709\u6548\u6027\u3002<\/p>\n

\u4e8c\u3001\u7f51\u7edc\u8fde\u63a5\u6545\u969c<\/p>\n

linux ping\u4e0d\u901a_linux\u865a\u62df\u673aping\u4e0d\u901a_linux ping\u4e0d\u901a\u767e\u5ea6<\/p>\n

\u5176\u6b21\uff0c\u5982\u679c\u60a8\u7684\u7f51\u7edc\u8fde\u63a5\u5b58\u5728\u6545\u969c\uff0c\u5219\u4f1a\u51fa\u73b0“request timed out”\u9519\u8bef\u3002\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u662f\u5426\u6b63\u5e38\uff0c\u5e76\u6392\u9664\u7f51\u7edc\u6545\u969c\u3002<\/p>\n

\u4e09\u3001\u9632\u706b\u5899\u963b\u6b62ping\u8bf7\u6c42<\/p>\n

\u6709\u4e9b\u60c5\u51b5\u4e0b\uff0c\u7cfb\u7edf\u7ba1\u7406\u5458\u53ef\u80fd\u4f1a\u914d\u7f6e\u9632\u706b\u5899\u4ee5\u963b\u6b62ping\u8bf7\u6c42\u3002\u8fd9\u662f\u4e3a\u4e86\u4fdd\u62a4\u7cfb\u7edf\u5b89\u5168\u3002\u5982\u679c\u60a8\u9047\u5230\u8fd9\u79cd\u60c5\u51b5\uff0c\u8bf7\u8054\u7cfb\u7cfb\u7edf\u7ba1\u7406\u5458\u4ee5\u83b7\u5f97\u66f4\u591a\u4fe1\u606f\uff0c\u5e76\u4e86\u89e3\u5982\u4f55\u89e3\u51b3\u8be5\u95ee\u9898\u3002<\/p>\n

\u56db\u3001\u88abping\u7684\u4e3b\u673a\u5173\u95ed<\/p>\n

\u5982\u679c\u88abping\u7684\u4e3b\u673a\u5173\u95ed\uff0c\u5219\u4f1a\u51fa\u73b0“request timed out”\u9519\u8bef\u3002\u6b64\u65f6\u60a8\u9700\u8981\u786e\u8ba4\u88abping\u7684\u4e3b\u673a\u662f\u5426\u5df2\u5f00\u542flinux ping\u4e0d\u901a<\/strong>\uff0c\u5e76\u786e\u4fdd\u5176\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n

\u4e94\u3001\u8def\u7531\u5668\u95ee\u9898<\/p>\n

\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u8def\u7531\u5668\u53ef\u80fd\u4f1a\u5bfc\u81f4ping\u5931\u8d25\u3002\u8fd9\u53ef\u80fd\u662f\u7531\u4e8e\u8def\u7531\u8868\u4e2d\u7684\u67d0\u4e9b\u6761\u76ee\u88ab\u5220\u9664\u6216\u4fee\u6539\u6240\u81f4\u3002\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5\u8def\u7531\u5668\u8bbe\u7f6e\uff0c\u5e76\u5c1d\u8bd5\u91cd\u65b0\u914d\u7f6e\u8def\u7531\u8868\u3002<\/p>\n

\u516d\u3001DNS\u670d\u52a1\u5668\u6545\u969c<\/p>\n

\u5982\u679cDNS\u670d\u52a1\u5668\u6545\u969clinux ping\u4e0d\u901a<\/strong>\uff0c\u5219\u53ef\u80fd\u65e0\u6cd5\u5c06\u4e3b\u673a\u540d\u8f6c\u6362\u4e3a\u76f8\u5e94\u7684IP\u5730\u5740\u3002\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5DNS\u670d\u52a1\u5668\u8bbe\u7f6e\uff0c\u5e76\u786e\u4fdd\u5176\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n

\u4e03\u3001MTU\u5927\u5c0f\u95ee\u9898<\/p>\n

MTU\uff08\u6700\u5927\u4f20\u8f93\u5355\u5143\uff09\u662f\u6307\u80fd\u591f\u901a\u8fc7\u7f51\u7edc\u4f20\u8f93\u7684\u6700\u5927\u6570\u636e\u5305\u5927\u5c0f\u3002\u5982\u679cMTU\u8bbe\u7f6e\u8fc7\u9ad8\uff0c\u5219\u53ef\u80fd\u5bfc\u81f4\u6570\u636e\u5305\u65e0\u6cd5\u6b63\u786e\u4f20\u8f93\u3002\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5MTU\u8bbe\u7f6e\uff0c\u5e76\u5c1d\u8bd5\u964d\u4f4e\u5176\u503c\u3002<\/p>\n

\u516b\u3001ICMP\u534f\u8bae\u95ee\u9898<\/p>\n

linux ping\u4e0d\u901a_linux\u865a\u62df\u673aping\u4e0d\u901a_linux ping\u4e0d\u901a\u767e\u5ea6<\/p>\n

\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0blinux \u5b89\u88c5\uff0cICMP\uff08Internet\u63a7\u5236\u6d88\u606f\u534f\u8bae\uff09\u53ef\u80fd\u88ab\u7981\u7528\u6216\u51fa\u73b0\u5176\u4ed6\u95ee\u9898\uff0c\u4ece\u800c\u5bfc\u81f4ping\u5931\u8d25\u3002\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5ICMP\u534f\u8bae\u8bbe\u7f6e\uff0c\u5e76\u5c1d\u8bd5\u91cd\u65b0\u542f\u7528\u5b83\u3002<\/p>\n

\u4e5d\u3001\u865a\u62df\u5316\u8f6f\u4ef6\u95ee\u9898<\/p>\n

\u5728\u865a\u62df\u5316\u73af\u5883\u4e2d\u8fd0\u884cLinux\u7cfb\u7edf\u65f6\uff0c\u865a\u62df\u5316\u8f6f\u4ef6\u53ef\u80fd\u4f1a\u5e72\u6270ping\u547d\u4ee4\u7684\u6b63\u5e38\u8fd0\u884c\u3002\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5\u865a\u62df\u5316\u8f6f\u4ef6\u8bbe\u7f6e\uff0c\u5e76\u5c1d\u8bd5\u8c03\u6574\u5176\u914d\u7f6e\u4ee5\u89e3\u51b3\u8be5\u95ee\u9898\u3002<\/p>\n

\u603b\u7ed3<\/p>\n

\u672c\u6587\u4ecb\u7ecd\u4e86\u591a\u79cd\u5bfc\u81f4Linux ping\u4e0d\u901a\u7684\u539f\u56e0\uff0c\u5e76\u63d0\u4f9b\u4e86\u76f8\u5e94\u7684\u89e3\u51b3\u65b9\u6848\u3002\u8bfb\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u8eab\u60c5\u51b5\u8fdb\u884c\u8bca\u65ad\u548c\u6392\u9664\u6545\u969c\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u8bfb\u8005\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u7f51\u7edc\u8fde\u63a5\u4e2d\uff0cping\u547d\u4ee4\u662f\u4e00\u79cd\u5e38\u7528\u7684\u7f51\u7edc\u8bca\u65ad\u5de5\u5177\u3002ping\u4e0d\u901a\u7684\u95ee\u9898\u3002\u4e8c\u3001\u7f51\u7edc\u8fde\u63a5\u6545\u969c\u6b64\u65f6\u60a8\u9700\u8981\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u662f\u5426\u6b63\u5e38\uff0c\u5e76\u6392\u9664\u7f51\u7edc\u6545\u969c\u3002\u6b64\u65f6\u60a8\u9700\u8981\u786e\u8ba4\u88abping\u7684\u4e3b\u673a\u662f\u5426\u5df2\u5f00\u542f\uff0c\u5e76\u786e\u4fdd\u5176\u6b63\u5e38\u8fd0\u884c\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u8def\u7531\u5668\u53ef\u80fd\u4f1a\u5bfc\u81f4ping\u5931\u8d25\u3002\u5982\u679cDNS\u670d\u52a1\u5668\u6545\u969c\uff0c\u5219\u53ef\u80fd\u65e0\u6cd5\u5c06\u4e3b\u673a\u540d\u8f6c\u6362\u4e3a\u76f8\u5e94\u7684IP\u5730\u5740\u3002ping\u4e0d\u901a\u7684\u539f\u56e0\uff0c\u5e76\u63d0\u4f9b\u4e86\u76f8\u5e94\u7684\u89e3\u51b3\u65b9\u6848\u3002\u8bfb\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u8eab\u60c5\u51b5\u8fdb\u884c\u8bca\u65ad\u548c\u6392\u9664\u6545\u969c\u3002<\/p>\n","protected":false},"author":1,"featured_media":267260,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-267259","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/267259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=267259"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/267259\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/267260"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=267259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=267259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=267259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}