当前位置:网站首页>Network packet loss troubleshooting
Network packet loss troubleshooting
2022-06-12 06:47:00 【wwwlyj123321】
Use ethtool -S Check the statistics of network interface receiving and contracting
MTU:Maximum transmission unit——the size of the largest packet that a network protocol can transmit
MTU yes IP The largest unit of data that a packet can transmit at a time , More than this size will be subcontracted , However, if subcontracting cannot be performed , Will result in packet loss .
MSS Namely IP The maximum segment of data that can be transmitted per packet , This value is MTU Value minus IP Packet header size 20Byte and TCP Header of data segment 20Byte. namely Mss+40=MTU.
give an example : Such as client Mechanical MTU yes 1500,Server Mechanical MTU yes 1440. I always thought MSS Negotiation is client and server Their respective mss Take the minimum value as this time tcp Communicating mss value . But after checking the data, we found that ,client Provided mss yes 1460 (mss = mtu – 40 = 1500 – 40 = 1460) It means from server To client The data part of cannot be greater than 1460, Whole IP Package cannot exceed 1500, and server Proposed mss yes 1400(mss = mtu – 40 = 1440 – 40 = 1400) It means from client To servr The data part of cannot be greater than 1400, Whole IP Package cannot exceed 1440.
Need to focus on IP Tunnel technology , Such as LVS Of LD To RS,IPSEC Etc IP Caused by the tunnel MTU increase ( notes :IP Tunneling technology is the use of IP delivery IP Package technology , Will be in the original IP Package plus new IP First class information , Lead to IP The packet size becomes larger , Maybe more than MTU Value ), Exceed corresponding client perhaps server Maximum MTU The link is blocked , This is the time , It usually passes in the opposite direction icmp The packet perimeter tells the sender , such as : This ICMP The packet tells the sending source , The next dance MTU yes 1450, The packet you sent is too large and needs to be fragmented . But your bag IP There is a non sharable in the head , So I can only throw away my bag , Let me inform you , Resend a smaller package .
- ifconfig ${Interface} mtu ${SIZE} up
- ifconfig eth1 mtu 9000 up
This is the most common method , For all the linux All releases are valid . The disadvantage is that it fails after restart , Need to load... In boot entry
ref:
How to locate the network packet loss fault ? How to solve ? - You know
Cloud network packet loss fault location panoramic guide
A wonderful network problem , Put technology into the home " I'm confused "
ethtool Principle introduction and troubleshooting ideas for network card packet loss - You know
Network card packet capturing and packet loss troubleshooting 1 - Simple books
边栏推荐
- 美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
- Vscode common plug-ins
- 网络丢包问题排查
- Delete the duplicate items in the ordered array -- force deduction question 26 (simple)
- LeetCode-1629. Key with the longest key duration
- 报表工具的二次革命
- LeetCode-1587. Bank account summary II
- android studio 利用数据库实现登录注册界面功能
- LeetCode-1303. Team size
- Cron expression and website generation
猜你喜欢

SQL language

SQL injection read / write file

leetcode 704. Binary search

When SQL server2019 is installed, the next step cannot be performed. How to solve this problem?

Are you still using like+% for MySQL fuzzy query?

张驰课堂:2022年CAQ中质协六西格玛考试时间通知

Matlab 6-DOF manipulator forward and inverse motion

Solution: content type 'application/x-www-form-urlencoded; charset=UTF-8‘ not supported

leetcode.39 --- 组合总和

【图像去噪】基于偏微分方程(PDE)实现图像去噪附matlab代码
随机推荐
sql server 2019安装出现错误,如何解决
Bid farewell to the charged xshell, and the free function of tabby is more powerful
六月集训 第七日 ——哈希表
The first day of June training - array
torch在高版本训练的模型在低版本中使用报错
LeetCode-1490. Clone n-ary tree
Tomato learning notes -vscade configuring makefile (using task.jason and launch.jason)
LeetCode-1576. Replace all question marks
SQL injection - blind injection
上位机开发(固件下载软件之需求分析)
LeetCode-997. Find the town judge
LeetCode-884. Unusual words in two sentences
Install MySQL tutorial
CL210OpenStack操作的故障排除--章節實驗
Leetcode January 10 daily question 306 Additive number
Leetcode: Sword finger offer 63 Maximum profit of stock [record prefix minimum and or no brain segment tree]
The eighth day of June training - prefix and
The seventh day of June training - hash table
LeetCode-1185. Day of the week
库里扛起了勇士对凯尔特人的第四场