{"id":6165,"date":"2019-12-29T12:37:28","date_gmt":"2019-12-29T04:37:28","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6165"},"modified":"2020-01-11T23:12:42","modified_gmt":"2020-01-11T15:12:42","slug":"fping","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/fping","title":{"rendered":"fping\u547d\u4ee4 – \u68c0\u6d4b\u4e3b\u673a\u662f\u5426\u5b58\u5728"},"content":{"rendered":"\n
fping\u7c7b\u4f3c\u4e8eping\uff08ping\u662f\u901a\u8fc7ICMP\uff08\u7f51\u7edc\u63a7\u5236\u4fe1\u606f\u534f\u8baeInternetControl Message Protocol\uff09\u534f\u8bae\u56de\u590d\u8bf7\u6c42\u4ee5\u68c0\u6d4b\u4e3b\u673a\u662f\u5426\u5b58\u5728\uff09\u3002fping\u4e0eping\u4e0d\u540c\u7684\u5730\u65b9\u5728\u4e8e\uff0cfping\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u6307\u5b9a\u8981ping\u7684\u4e3b\u673a\u6570\u91cf\u8303\u56f4\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u542b\u6709\u8981ping\u7684\u4e3b\u673a\u5217\u8868\u6587\u4ef6\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> fping [\u53c2\u6570] <\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong> <\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong> <\/p>\n\n\n\n \u68c0\u6d4b192.168.1.1\u5230192.168.1.10\u4e4b\u95f4\u7684\u4e3b\u673a\u662f\u5426\u5b58\u5728\uff1a<\/p>\n\n\n\n \u68c0\u6d4b192.168.1.1\/24\u7684\u4e3b\u673a\u662f\u5426\u5b58\u5728\uff1a<\/p>\n\n\n\n \u5c06IP\u5217\u8868\u653e\u5728\u4e00\u4e2a\u6587\u4ef6\u91cc\u9762\uff0c\u901a\u8fc7\u8bfb\u53d6\u6587\u4ef6\u6765\u68c0\u6d4b\u5217\u8868\u91cc\u7684\u4e3b\u673a\u662f\u5426\u5b58\u5728\uff1a<\/p>\n\n\n\n \u68c0\u6d4bwww.linuxcool.com\u662f\u5426\u5b58\u5728\uff1a<\/p>\n\n\n\n fping\u7c7b\u4f3c\u4e8eping\uff08ping\u662f\u901a\u8fc7ICMP\uff08\u7f51\u7edc\u63a7\u5236\u4fe1\u606f\u534f\u8baeInternetControl Messag […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6165"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6165"}],"version-history":[{"count":13,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6165\/revisions"}],"predecessor-version":[{"id":6408,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6165\/revisions\/6408"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u663e\u793a\u5b58\u6d3b\u7684(alive)<\/td><\/tr> -g<\/td> \u6307\u5b9a\u4e00\u4e2a\u8303\u56f4(group)<\/td><\/tr> -u<\/td> \u663e\u793a\u4e0d\u5b58\u6d3b\u7684(unreacheable)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# fping -a -g 192.168.1.1 192.168.1.10<\/pre>\n\n\n\n
[root@linuxcool ~]# fping -a -g 192.168.1.1\/24 <\/pre>\n\n\n\n
[root@linuxcool ~]# fping -a -f ip.txt <\/pre>\n\n\n\n
[root@linuxcool ~]# fping www.linuxcool.com <\/pre>\n","protected":false},"excerpt":{"rendered":"