﻿{"id":13764,"date":"2022-03-09T02:26:13","date_gmt":"2022-03-08T18:26:13","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=13764"},"modified":"2022-03-09T08:39:47","modified_gmt":"2022-03-09T00:39:47","slug":"linux-network-commands","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/linux-network-commands.html","title":{"rendered":"9 \u4e2a\u6700\u4f73 Linux \u7f51\u7edc\u6545\u969c\u6392\u9664\u547d\u4ee4"},"content":{"rendered":"<p>\u7f51\u7edc\u7ba1\u7406\u5458\u7684\u65e5\u5e38\u804c\u8d23\uff08\u5982\u7ba1\u7406\u3001\u76d1\u63a7\u3001\u914d\u7f6e\u548c\u6545\u969c\u6392\u9664\uff09\u4e0d\u9700\u8981\u4f60\u5b66\u4e60\u590d\u6742\u7684\u7b2c\u4e09\u65b9\u5de5\u5177\u3002\u76f8\u53cd\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u5927\u591a\u6570 Linux \u53d1\u884c\u7248\u9884\u88c5\u7684\u73b0\u6210\u5de5\u5177\u6765\u6267\u884c\u6240\u6709\u8fd9\u4e9b\u4efb\u52a1\u3002<\/p>\n<p>\u672c\u6587\u91cd\u70b9\u4ecb\u7ecd\u7f51\u7edc\u7ba1\u7406\u5458\u804c\u8d23\u4e2d\u7684\u7f51\u7edc\u6545\u969c\u6392\u9664\u90e8\u5206\uff0c\u5e76\u6db5\u76d6\u5728\u4e0d\u540c\u7c7b\u522b\u4e0b\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u7684\u5de5\u5177\u3002\u5b83\u8fdb\u4e00\u6b65\u4ecb\u7ecd\u4e86\u8fd9\u4e9b\u5b9e\u7528\u7a0b\u5e8f\u5982\u4f55\u5728\u5b9e\u9645\u573a\u666f\u4e2d\u63d0\u4f9b\u5e2e\u52a9\u3002<\/p>\n<h3 id=\"ifconfig\">1.ifconfig<\/h3>\n<p>ifconfig \u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u5b9e\u7528\u7a0b\u5e8f\uff0c\u7528\u4e8e Linux\/Unix \u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u63a5\u53e3\u914d\u7f6e\u3002\u7f51\u7edc\u7ba1\u7406\u5458\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5b83\u5728\u914d\u7f6e\u811a\u672c\u7684\u5e2e\u52a9\u4e0b\u67e5\u8be2\u548c\u7ba1\u7406\u63a5\u53e3\u53c2\u6570\u3002<\/p>\n<p>\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u542f\u7528\u6216\u7981\u7528\u7f51\u7edc\u63a5\u53e3\uff0c\u5e76\u5141\u8bb8\u4f60\u5c06 IP \u5730\u5740\u548c\u7f51\u7edc\u63a9\u7801\u5206\u914d\u7ed9\u9009\u5b9a\u7684\u63a5\u53e3\u3002\u4f60\u8fd8\u53ef\u4ee5\u67e5\u770b\u6240\u6709\u53ef\u7528\u63a5\u53e3\u3001IP \u5730\u5740\u3001\u786c\u4ef6\u5730\u5740\u548c\u6d3b\u52a8\u63a5\u53e3\u7684\u6700\u5927\u4f20\u8f93\u5355\u5143\u5927\u5c0f\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u4f7f\u7528 up\/down \u53c2\u6570\u6fc0\u6d3b\/\u505c\u7528\u4efb\u4f55\u63a5\u53e3\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ sudo ifconfig up eth0\r\nlinuxmi@linuxmi:~\/www.linuxmi.com$ sudo ifconfig down eth0<\/code><\/pre>\n<p>\u4e3a\u63a5\u53e3\u5206\u914d IP \u5730\u5740\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ sudo ifconfig eth0 192.168.120.5 netmask 255.255.255.0<\/code><\/pre>\n<p>\u4f46\u662f\uff0c\u6b64\u5b9e\u7528\u7a0b\u5e8f\u5728 Linux \u53d1\u884c\u7248\u4e2d\u5e76\u4e0d\u5bb9\u6613\u4f7f\u7528\uff0c\u4f60\u53ef\u80fd\u4f1a\u6536\u5230\u9519\u8bef\u201c\u00a0<strong>ifconfig: command not found<\/strong>\u00a0\u201d\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u53d1\u884c\u7248\u7684\u5305\u7ba1\u7406\u5668\u5b89\u88c5<strong>net-tools<\/strong>\u5305\u6765\u89e3\u51b3\u6b64\u95ee\u9898\u3002<\/p>\n<p>\u5728 Ubuntu\/Debian \u4e0a\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ sudo apt-get install net-tools<\/code><\/pre>\n<p>\u5728 Fedora\u3001CentOS \u548c\u5176\u4ed6\u57fa\u4e8e RPM \u7684\u53d1\u884c\u7248\u4e0a\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">linuxmi@linuxmi:~\/www.linuxmi.com$ yum install net-tools<\/code><\/pre>\n<p>\u5728 Arch Linux \u4e0a\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">linuxmi@linuxmi:~\/www.linuxmi.com$ sudo pacman -S net-tools<\/code><\/pre>\n<h3 id=\"ip\">2. ip<\/h3>\n<p>ip \u662f\u65e7\u7684<strong>ifconfig<\/strong>\u7684\u66ff\u4ee3\u54c1\u3002\u4f46\u662f\uff0c\u5b83\u7684\u529f\u80fd\u8303\u56f4\u6db5\u76d6\u4e86\u4e24\u5c42 TCP\/IP \u534f\u8bae\uff0c\u5373\u6570\u636e\u94fe\u8def\u5c42\u548c\u7f51\u7edc\u5c42\u3002<\/p>\n<p>\u5b83\u663e\u793a\u7f51\u7edc\u63a5\u53e3\u5e76\u914d\u7f6e\u7f51\u7edc\u8bbe\u5907\uff0c\u5c31\u50cf ifconfig \u5b9e\u7528\u7a0b\u5e8f\u4e00\u6837\u3002\u5b83\u8fd8\u901a\u8fc7\u6dfb\u52a0\/\u5220\u9664 ARP \u7f13\u5b58\u6761\u76ee\u6765\u663e\u793a\u548c\u4fee\u6539\u5185\u6838\u8def\u7531\u8868\u3002<\/p>\n<p>\u8981\u663e\u793a\u6240\u6709\u63a5\u53e3\u53ca\u5176\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ ip addr show<\/code><\/pre>\n<p>\u6dfb\u52a0\u548c\u5220\u200b\u200b\u9664\u63a5\u53e3\uff1a<\/p>\n<pre><code class=\"hljs python\">linuxmi@linuxmi:~\/www.linuxmi.com$ ip a add 192.168.120.174 dev eth0\r\nlinuxmi@linuxmi:~\/www.linuxmi.com$ ip a del 192.168.120.174 dev eth0<\/code><\/pre>\n<p>\u8981\u542f\u7528\/\u7981\u7528\u63a5\u53e3\u7684 ARP \u534f\u8bae\uff0c\u8bf7\u4f7f\u7528 on\/off \u9009\u9879\uff1a<\/p>\n<pre><code class=\"hljs perl\">linuxmi@linuxmi:~\/www.linuxmi.com$ ip link set dev eth0 arp on\r\nlinuxmi@linuxmi:~\/www.linuxmi.com$ ip link set dev eth0 arp off<\/code><\/pre>\n<h3 id=\"ping\">3. ping<\/h3>\n<p>ping \u5b9e\u7528\u7a0b\u5e8f\u53ef\u5e2e\u52a9\u4f60\u8bc6\u522b\u7f51\u7edc\u548c\u4e3b\u673a\u7684\u53ef\u7528\u6027\u3002\u5b83\u68c0\u67e5\u4e3b\u673a\u662f\u5426\u53ef\u8bbf\u95ee\u6216\u670d\u52a1\u662f\u5426\u6b63\u5728\u8fd0\u884c\u3002\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528 ping \u547d\u4ee4\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u95ee\u9898\uff0c\u4f8b\u5982\u9ad8\u5ef6\u8fdf\u548c\u5305\u4e22\u5931\u3002<\/p>\n<p>ping \u53d1\u9001 ICMP\uff08Internet \u63a7\u5236\u6d88\u606f\u534f\u8bae\uff09\u56de\u663e\u8bf7\u6c42\u6d88\u606f\u5e76\u7b49\u5f85 ICMP \u56de\u663e\u5e94\u7b54\u6570\u636e\u5305\u4ee5\u68c0\u67e5\u4e3b\u673a\u53ef\u7528\u6027\u3002\u8f93\u51fa\u5305\u542b\u53d1\u9001\u548c\u63a5\u6536\u7684\u6d88\u606f\u603b\u6570\u4ee5\u53ca\u6570\u636e\u5305\u5230\u8fbe\u76ee\u7684\u5730\u6240\u9700\u7684\u65f6\u95f4\u3002<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ ping 8.8.8.8<\/code><\/pre>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13765\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/ping.png\" alt=\"\" width=\"992\" height=\"608\" \/><\/h3>\n<h3 id=\"netstat\">4. netstat<\/h3>\n<p>netstat\u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u5b9e\u7528\u7a0b\u5e8f\uff0c\u53ef\u5e2e\u52a9\u53d1\u73b0\u5df2\u8fde\u63a5\u548c\u6b63\u5728\u4fa6\u542c\u7684 TCP\u3001UDP \u548c UNIX \u5957\u63a5\u5b57\u3002\u5b83\u663e\u793a\u6709\u5173\u8def\u7531\u8868\u3001\u4fa6\u542c\u7aef\u53e3\u548c\u4fe1\u606f\u7edf\u8ba1\u4fe1\u606f\u7684\u4fe1\u606f\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u901a\u8fc7\u952e\u5165\u4ee5\u4e0b\u5185\u5bb9\u5217\u51fa\u4fa6\u542c\u6216\u5173\u95ed\u7684\u8fde\u63a5\uff1a<\/p>\n<pre><code class=\"hljs \"><code class=\"null\">linuxmi@linuxmi:~\/www.linuxmi.com$<\/code>netstat -a<\/code><\/pre>\n<p>\u4ec5\u5217\u51fa\u4fa6\u542c TCP \u8fde\u63a5\uff1a<\/p>\n<pre><code class=\"hljs \"><code class=\"null\">linuxmi@linuxmi:~\/www.linuxmi.com$<\/code>netstat -tl<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13766\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/netstat-tl.png\" alt=\"\" width=\"1040\" height=\"608\" \/><\/p>\n<p>\u5b83\u8fd8\u5141\u8bb8\u4f60\u4f7f\u7528 TCP \u8fde\u63a5\u5217\u51fa\u8fdb\u7a0b\u7684 PID \u548c\u7a0b\u5e8f\u540d\u79f0\uff1a<\/p>\n<pre><code class=\"hljs \">root@linuxmi:\/home\/linuxmi\/www.linuxmi.com# netstat -ptl <\/code><\/pre>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13767\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/netstat-ptl.png\" alt=\"\" width=\"1292\" height=\"608\" \/><\/h3>\n<h3 id=\"host\">5.host<\/h3>\n<p>host \u662f\u4e00\u4e2a\u6700\u5c0f\u4f46\u6700\u5f3a\u5927\u7684 CLI \u5b9e\u7528\u7a0b\u5e8f\uff0c\u5b83\u6267\u884c DNS \u67e5\u627e\u5e76\u5c06\u4e3b\u673a\u540d\u89e3\u6790\u4e3a IP \u5730\u5740\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002\u9664\u4e86\u89e3\u51b3 DNS \u670d\u52a1\u5668\u95ee\u9898\u5916\uff0c\u5b83\u8fd8\u663e\u793a\u548c\u9a8c\u8bc1 NS \u548c MX DNS \u8bb0\u5f55\u7c7b\u578b\u4ee5\u53ca ISP DNS \u670d\u52a1\u5668\u3002<\/p>\n<p>\u8981\u5728 Google \u7f51\u7ad9\u4e0a\u67e5\u627e NX\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ host -t ns google.com<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13768\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/host-t.png\" alt=\"\" width=\"992\" height=\"322\" \/><\/p>\n<p>\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u627e MX \u8bb0\u5f55\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ host -n -t mx google.com<\/code><\/pre>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13769\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/host-n.png\" alt=\"\" width=\"992\" height=\"322\" \/><\/h3>\n<h3 id=\"arp\">6. ARP<\/h3>\n<p>arp \u547d\u4ee4\u901a\u8fc7\u6dfb\u52a0\/\u5220\u9664\u5730\u5740\u5e76\u663e\u793a\u5b83\u4eec\u6765\u64cd\u4f5c\u7cfb\u7edf ARP \u8868\u7684\u7f13\u5b58\u3002ARP \u4ee3\u8868\u5730\u5740\u89e3\u6790\u534f\u8bae\uff0c\u5e76\u5c06 IP \u5730\u5740\u6620\u5c04\u5230\u673a\u5668\u7684 MAC \u5730\u5740\u3002\u56e0\u6b64\uff0carp \u547d\u4ee4\u6267\u884c\u4efb\u52a1\u5e76\u5c5e\u4e8e<strong>net-tools<\/strong>\u5305\u4e2d\u53ef\u7528\u7684\u5de5\u5177\u3002<\/p>\n<p>\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u8fd0\u884c\u547d\u4ee4\u67e5\u770b\u8868\u683c\u5185\u5bb9\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ arp <\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13770\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/arp.png\" alt=\"\" width=\"1076\" height=\"322\" \/><\/p>\n<p>\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7\u63d0\u4f9b IP \u5730\u5740\u627e\u5230\u6620\u5c04\u5230\u7279\u5b9a IP \u7684 MAC \u5730\u5740\uff1a<\/p>\n<pre><code class=\"hljs perl\">linuxmi@linuxmi:~\/www.linuxmi.com$ arp 192.168.174.254<\/code><\/pre>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13771\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/arp-192.png\" alt=\"\" width=\"1076\" height=\"244\" \/><\/h3>\n<h3 id=\"traceroute\">7.traceroute<\/h3>\n<p>\u4e00\u65e6 ping \u5b9e\u7528\u7a0b\u5e8f\u63d0\u4f9b\u4e86\u6709\u5173\u7f51\u7edc\u8fde\u63a5\u548c\u6570\u636e\u5305\u5230\u8fbe\u76ee\u7684\u5730\u6240\u9700\u603b\u65f6\u95f4\u7684\u4fe1\u606f\uff0c\u4f60\u5c31\u53ef\u4ee5\u4f7f\u7528traceroute\u547d\u4ee4\u6df1\u5165\u4e86\u89e3\u6570\u636e\u5305\u5230\u8fbe\u76ee\u6807\u4e3b\u673a\u7684\u8def\u5f84\u5e76\u89e3\u51b3\u8be5\u95ee\u9898\u3002<\/p>\n<p>\u8f93\u51fa\u663e\u793a\u6570\u636e\u5305\u8def\u7531\u4ee5\u53ca\u6e90\u548c\u76ee\u6807\u4e4b\u95f4\u7684\u6240\u6709\u4e2d\u95f4\u4e3b\u673a\u53ca\u5176\u54cd\u5e94\u65f6\u95f4\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u4ee5\u4e0b\u547d\u4ee4\u5c06\u6240\u6709\u8dc3\u70b9\u4ece\u672c\u5730\u8ba1\u7b97\u673a\u8f93\u51fa\u5230\u76ee\u6807\u4e3b\u673a 8.8.8.8 (Google)\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">linuxmi@linuxmi:~\/www.linuxmi.com$ traceroute 8.8.8.8<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13772\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/traceroute.png\" alt=\"\" width=\"1076\" height=\"400\" \/><\/p>\n<p>\u8be5\u5b9e\u7528\u7a0b\u5e8f\u4f7f\u7528 IP \u6570\u636e\u5305\u7684\u751f\u5b58\u65f6\u95f4 (TTL) \u5b57\u6bb5\uff0c\u5f53\u6570\u636e\u5305\u5230\u8fbe\u8dc3\u70b9\u65f6\uff0c\u5b83\u4f1a\u51cf\u5c11\u4e00\u4e2a\u6570\u5b57\uff0c\u4ece\u800c\u8bf4\u660e\u5176\u5728\u7f51\u7edc\u4e2d\u7684\u5bff\u547d\u3002<\/p>\n<p>\u8be5\u5b9e\u7528\u7a0b\u5e8f\u8fd8\u4f7f\u7528\u5f80\u8fd4\u65f6\u95f4 (RTT) \u7684\u6982\u5ff5\uff0c\u53ef\u786e\u4fdd\u6bcf\u4e2a\u4e2d\u95f4\u8282\u70b9\u4e22\u5f03\u6570\u636e\u5305\u5e76\u53d1\u9001\u56de ICMP \u9519\u8bef\u6d88\u606f\uff0c\u8fd9\u6709\u52a9\u4e8e traceroute \u6d4b\u91cf\u6570\u636e\u5305\u5230\u8fbe\u6cbf\u9014\u6bcf\u4e00\u8df3\u6240\u9700\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u6b64\u529f\u80fd\u53ef\u5e2e\u52a9\u7f51\u7edc\u7ba1\u7406\u5458\u786e\u5b9a Internet \u8fde\u63a5\u95ee\u9898\u7684\u6839\u672c\u539f\u56e0\u5e76\u89e3\u51b3\u8def\u7531\u4e2d\u7684\u786e\u5207\u95ee\u9898\u3002<\/p>\n<h3 id=\"dig\">8. dig<\/h3>\n<p>dig \u662f Domain Information Groper \u7684\u9996\u5b57\u6bcd\u7f29\u5199\u8bcd\uff0c\u7528\u4e8e\u6536\u96c6\u4e0e DNS \u76f8\u5173\u7684\u4fe1\u606f\u5e76\u89e3\u51b3 DNS \u95ee\u9898\u3002<\/p>\n<p>dns \u547d\u4ee4\u8f93\u51fa\u663e\u793a\u5305\u542b DNS \u8bb0\u5f55\u7684\u6587\u4ef6\u4e2d\u7684\u53ef\u7528\u4fe1\u606f\uff0c\u5e76\u5e2e\u52a9\u7f51\u7edc\u7ba1\u7406\u5458\u9a8c\u8bc1\u4e3b\u673a\u5230 IP \u5730\u5740\u540d\u79f0\u89e3\u6790\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u6309\u5982\u4e0b\u65b9\u5f0f\u6267\u884c DNS \u67e5\u627e\u67e5\u8be2\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ dig google.com<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13773\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/dig.png\" alt=\"\" width=\"992\" height=\"608\" \/><\/p>\n<p><strong>\u540c\u6837\uff0c\u4f60\u53ef\u4ee5\u501f\u52a9ANY<\/strong>\u9009\u9879\u67e5\u8be2\u4e0e\u57df\u5173\u8054\u7684\u6240\u6709\u7c7b\u578b\u7684 DNS \u8bb0\u5f55\uff1a<\/p>\n<pre><code class=\"hljs \">linuxmi@linuxmi:~\/www.linuxmi.com$ dig google.com ANY<\/code><\/pre>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13774\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/03\/dig-any.png\" alt=\"\" width=\"992\" height=\"608\" \/><\/h3>\n<h3 id=\"wireshark\">9. Wireshark<\/h3>\n<p>Wireshark \u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u4e14\u7528\u9014\u5e7f\u6cdb\u7684\u5f00\u6e90\u6570\u636e\u5305\u5206\u6790\u5de5\u5177\u3002\u5b83\u5b9e\u65f6\u6355\u83b7\u6765\u81ea\u4f60\u9009\u62e9\u7684\u63a5\u53e3\u5361\u7684\u6d41\u91cf\u3002\u5b83\u5141\u8bb8\u7f51\u7edc\u7ba1\u7406\u5458\u6839\u636e\u534f\u8bae\/\u7aef\u53e3\u6355\u83b7\u6d41\u91cf\uff0c\u4ee5\u8fdb\u884c\u76d1\u63a7\u548c\u6545\u969c\u6392\u9664\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11054 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/11\/2021-11-28-16-55-38-\u7684\u5c4f\u5e55\u622a\u56fe.png\" alt=\"\" width=\"1920\" height=\"1200\" \/><\/p>\n<p>\u9664\u4e86\u6355\u83b7\u8fc7\u6ee4\u5668\u5916\uff0c\u5b83\u8fd8\u6709\u4e00\u4e2a\u663e\u793a\u8fc7\u6ee4\u5668\uff0c\u5176\u4e2d\u5305\u542b\u5404\u79cd\u9009\u9879\uff0c\u53ef\u5e2e\u52a9\u4f60\u67e5\u770b\u5173\u6ce8\u7684\u6d41\u91cf\u3002<\/p>\n<p>\u76f8\u5173\uff1aWireshark 3.6.0 \u53d1\u5e03\uff0c\u529f\u80fd\u5f3a\u5927\u7684\u7f51\u7edc\u55c5\u63a2\u5668 <a href=\"https:\/\/www.linuxmi.com\/wireshark-3-6-0.html\">https:\/\/www.linuxmi.com\/wireshark-3-6-0.html<\/a><\/p>\n<h2 id=\"troubleshooting-networks-on-linux\">Linux \u4e0a\u7684\u7f51\u7edc\u6545\u969c\u6392\u9664<\/h2>\n<p>\u7f51\u7edc\u6545\u969c\u6392\u9664\u662f\u7f51\u7edc\u7ba1\u7406\u5458\u65e5\u5e38\u6d3b\u52a8\u7684\u4e00\u90e8\u5206\u3002\u77e5\u9053\u5728\u6ca1\u6709\u4e00\u4e2a\u5de5\u5177\u6216\u5177\u6709\u66f4\u5e7f\u6cdb\u529f\u80fd\u7684\u60c5\u51b5\u4e0b\u4f7f\u7528\u54ea\u79cd\u5de5\u5177\u5bf9\u4e8e\u6709\u6548\u6392\u9664\u5404\u79cd\u7f51\u7edc\u72b6\u51b5\u7684\u6545\u969c\u540c\u6837\u91cd\u8981\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7f51\u7edc\u7ba1\u7406\u5458\u7684\u65e5\u5e38\u804c\u8d23\uff08\u5982\u7ba1\u7406\u3001\u76d1\u63a7\u3001\u914d\u7f6e\u548c\u6545\u969c\u6392\u9664\uff09\u4e0d\u9700\u8981\u4f60\u5b66\u4e60\u590d\u6742\u7684\u7b2c\u4e09\u65b9\u5de5\u5177\u3002\u76f8\u53cd\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u5927 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[8],"class_list":["post-13764","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linuxmingling"],"aioseo_notices":[],"views":1578,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/13764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=13764"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/13764\/revisions"}],"predecessor-version":[{"id":13777,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/13764\/revisions\/13777"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=13764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=13764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=13764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}