【网络诊断命令】Linux traceroute命令 追踪网络数据包的路由途径 Linux traceroute命令用于显示数据包到主机间的路径, 相当于windows下的tracert 命令。 traceroute指令让你追踪网络数据包的路由途径,预设数据包大小是40Bytes,用户可另行设置。 help --- 新命令 我们先help 一下 tracerroute -h Usage: traceroute [-FIldnrv] [-f 1ST_TTL] [-m MAXTTL] [-p PORT] [-q PROBES] [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE] [-z PAUSE_MSEC] HOST [BYTES] Trace the route to HOST -F Set the don't fragment bit -I Use ICMP ECHO instead of UDP datagrams -l Display the TTL value of the returned packet -d Set SO_DEBUG options to socket -n Print numeric addresses -r Bypass routing tables, send directly to HOST -v Verbose -m Max time-to-live (max number of hops) -p Base UDP port number used in probes (default 33434) -q Number of probes per TTL (default 3) -s IP address to use as the source address -t Type-of-service in probe packets (default 0) -w Time in seconds to wait for a response (default 3) -g Loose source route gateway (8 max) 诠释: traceroute [-dFlnrvx][-f<存活数值>][-g<网关>...][-i<网络界面>][-m<存活数值>][-p<通信端口>][-s<来源地址>][-t<服务类型>][-w<超时秒数>][主机名称或IP地址][数据包大小] 参数说明:
显示到达目的地的数据包路由
|
|Archiver|手机版|深圳市光明谷科技有限公司|光明谷商城|Sunshine Silicon Corpporation ( 粤ICP备14060730号 ) |Sitemap
GMT+8, 2024-9-30 23:14 , Processed in 0.089670 second(s), 33 queries .
Powered by Discuz! X3.2 Licensed
© 2001-2013 Comsenz Inc.