如题,使用Wireshark抓包,发现IP的校验和都是0,这样的数据包看起来很不爽。
这是由于网卡的引起的,网卡设置“IP chechsum offload”为Enable,这样操作系统生成IP数据包是可以不填写checksum,由网卡智能填写。
知道问题所在,关掉该这个设置就行了。
1. Open Device manager (right click "Computer" and click "Manage")
2. Click on "Device Manager"
3. Expand "Network adapters"
4. Right click your network adapter mine is called "Nvidia nForce 10/100/1000 Mbps Ethernet" etc.
5. click "properties"
6. click the tab named "Advanced"
7. Find "IP Checksum Offload" and click it
8. Put the value to the right to "Disabled"
9. Find "TCP Checksum offload (IPvX)
10. Set the value to the right to "Disabled"