|
|
|
@ -237,7 +237,7 @@ tracert命令(Linux)格式和常用参数如图\ref{fig:tracert-cmd}所示
|
|
|
|
|
|
|
|
|
|
\subsubsection{ping命令}
|
|
|
|
|
|
|
|
|
|
本机(示例IP为10.24.90.1)启动Wireshark软件,
|
|
|
|
|
本机(示例IP为192.168.1.251)启动Wireshark软件,
|
|
|
|
|
选择要监听的网络接口(如eth0、wlan0);
|
|
|
|
|
然后在终端发起网络命令:ping IP地址/域名。
|
|
|
|
|
|
|
|
|
@ -248,7 +248,7 @@ tracert命令(Linux)格式和常用参数如图\ref{fig:tracert-cmd}所示
|
|
|
|
|
|
|
|
|
|
\begin{figure}[!ht]
|
|
|
|
|
\centering
|
|
|
|
|
\includegraphics[width=12cm]{wireshark-monitor}
|
|
|
|
|
\includegraphics[width=16cm]{wireshark-monitor}
|
|
|
|
|
\caption{Wireshark监视器界面}
|
|
|
|
|
\label{fig:c:wireshark_wireshark-monitor}
|
|
|
|
|
\end{figure}
|
|
|
|
@ -258,7 +258,7 @@ tracert命令(Linux)格式和常用参数如图\ref{fig:tracert-cmd}所示
|
|
|
|
|
|
|
|
|
|
\begin{figure}[!ht]
|
|
|
|
|
\centering
|
|
|
|
|
\includegraphics[width=12cm]{ip-view}
|
|
|
|
|
\includegraphics[width=16cm]{ip-view}
|
|
|
|
|
\caption{查看IP数据报}
|
|
|
|
|
\label{fig:c:wireshark_ip-view}
|
|
|
|
|
\end{figure}
|
|
|
|
@ -268,7 +268,7 @@ tracert命令(Linux)格式和常用参数如图\ref{fig:tracert-cmd}所示
|
|
|
|
|
|
|
|
|
|
\begin{figure}[!ht]
|
|
|
|
|
\centering
|
|
|
|
|
\includegraphics[width=12cm]{echo-request}
|
|
|
|
|
\includegraphics[width=16cm]{echo-request}
|
|
|
|
|
\caption{Echo request示例}
|
|
|
|
|
\label{fig:c:wireshark_echo-request}
|
|
|
|
|
\end{figure}
|
|
|
|
@ -280,7 +280,7 @@ tracert命令(Linux)格式和常用参数如图\ref{fig:tracert-cmd}所示
|
|
|
|
|
|
|
|
|
|
\begin{figure}[!ht]
|
|
|
|
|
\centering
|
|
|
|
|
\includegraphics[width=10cm]{ping-exec}
|
|
|
|
|
\includegraphics[width=12cm]{ping-exec}
|
|
|
|
|
\caption{ping命令执行示例}
|
|
|
|
|
\label{fig:c:wireshark_ping-exec}
|
|
|
|
|
\end{figure}
|
|
|
|
@ -292,7 +292,7 @@ tracert命令(Linux)格式和常用参数如图\ref{fig:tracert-cmd}所示
|
|
|
|
|
|
|
|
|
|
\subsubsection{traceroute命令}
|
|
|
|
|
|
|
|
|
|
本机(示例IP为10.24.90.172)启动Wireshark软件,
|
|
|
|
|
本机(示例IP为192.168.1.251)启动Wireshark软件,
|
|
|
|
|
选择要监听的网络接口(如eth0、wlan0);
|
|
|
|
|
然后在终端发起网络命令:traceroute IP地址/域名。
|
|
|
|
|
|
|
|
|
@ -302,13 +302,13 @@ tracert命令(Linux)格式和常用参数如图\ref{fig:tracert-cmd}所示
|
|
|
|
|
|
|
|
|
|
\begin{figure}[!ht]
|
|
|
|
|
\centering
|
|
|
|
|
\includegraphics[width=12cm]{wireshark-filter-setup}
|
|
|
|
|
\includegraphics[width=16cm]{wireshark-filter-setup}
|
|
|
|
|
\caption{在Wireshark中设置过滤条件}
|
|
|
|
|
\label{fig:c:wireshark_wireshark-filter-setup}
|
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
|
|
\item 在终端中使用traceroute命令,
|
|
|
|
|
目的主机是外网的一台设备(如图\ref{fig:c:wireshark_traceroute-exec},示例IP为210.34.0.12)。
|
|
|
|
|
目的主机是外网的一台设备(如图\ref{fig:c:wireshark_traceroute-exec},示例IP为210.34.0.1)。
|
|
|
|
|
|
|
|
|
|
\begin{figure}[!ht]
|
|
|
|
|
\centering
|
|
|
|
|