当前位置:网站首页>Why can ping fail while traceroute can
Why can ping fail while traceroute can
2022-06-24 08:45:00 【Gegwu MMQ!!】
ping It's going ICMP agreement .tracert I was shocked to follow the route .. The two commands are different .
If the server is not enabled ICMP The protocol or firewall is disabled ICMP, And I didn't do address mapping ICMP Mapping , Will result in ping no ..
tracertoute The routing switch needs to be enabled ip Tracking is the only way .

Description the target machine refused to respond ICMP Of echo nothing more .
ping When , Is to send one icmp Of echo, The target machine corresponds to one reply. Then I think it's OK .
traceroute Also hair icmp echo, however , hold TTL from 1 Start , Gradually increase . Nodes on the path , Receive a TTL by 0 Of ICMP When , An error message will be returned . In this way , Learn about the nodes on the path .
If a target machine , Do not respond to icmp echo, But still responded icmp echo in TTL by 0 The situation of , This is your performance .
ping And traceroute All use icmp agreement , But its working principle and ICMP The definitions of type fields in are different :
about ping, It's a echo request package , The type is 8 0, When ping The person receiving the relevant icmp When the package , According to the actual situation , Logic is , Just send it back reply 0 0, Logical not , Then send some other information according to the specific situation , To sum up , Is to see whether the purpose can be timely icmp reply The packet is sent back to the source , When a node on the path puts reply Give it to deny It fell off , I'm sure ping It doesn't work , For example, it will be time out,
about traceroute, The essence can be understood as hop by hop Of ping, But this ping And the above ping Dissimilarity , This ping And our ping Different commands ,traceroute After the package is sent out , Each site will send back one The type code is 11 0 Of icmp Pack it back , To the end point , Just send back a code as 3 3 Of icmp Package back to source
therefore , If at some point in the path ( Router ) On , Restricted types 11 Of ICMP message (ICMP Packets are the most common limitation of firewalls ), Your situation will appear .
边栏推荐
- 利用ngrok做内网穿透
- 相机投影矩阵计算
- Battle history between redis and me under billion level traffic
- Picture tools
- DataX User Guide
- String转Base64
- Distributed | how to make "secret calls" with dble
- How to replace the web player easyplayerproactivex Key in OCX?
- Why do you want to file? What are the advantages and disadvantages of website filing?
- Using sonar for code checking
猜你喜欢

【关于运维和网工的差别,一文说透】

Background management of uniapp hot update

Redis的Cluster集群数据倾斜

MySQL 因字符集问题插入中文数据时提示代码 :1366
![[micro services ~nacos] Nacos service providers and service consumers](/img/b7/47ecd6979ccfeb270261681d6130be.png)
[micro services ~nacos] Nacos service providers and service consumers

關於ETL看這篇文章就够了,三分鐘讓你明白什麼是ETL

Xiaohei ai4code code baseline nibble 1

Jenkins自动化部署,连接不到所依赖的服务【已解决】

2022.06.23(LC_144,94,145_二叉树的前序、中序、后序遍历)

Detailed explanation of Base64 coding and its variants (to solve the problem that the plus sign changes into a space in the URL)
随机推荐
There was an error checking the latest version of pip
Vscode install the remote -wsl plug-in to connect to the local WSL
Using ngrok for intranet penetration
orb slam build bug: undefined reference to symbol ‘_ZN5boost6system15system_categoryEv‘
Picture tools
Scheduled database backup script
相机投影矩阵计算
【生活思考】计划与自律
Why do you want to file? What are the advantages and disadvantages of website filing?
Matlab求解线性方程组Ax=b
ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis
MyCAT读写分离与MySQL主从同步
Win10 cloud, add Vietnamese
[force deduction 10 days SQL introduction] Day3
MySQL 因字符集问题插入中文数据时提示代码 :1366
rsync做文件备份
获取屏幕宽高工具类
leetcode 1268. Search Suggestions System(搜索推荐系统)
Common misconceptions in Tencent conference API - signature error_ code 200003
表单图片上传在Chorme中无法查看请求体的二进制图片信息