LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2012, 10:57 AM   #1
alopez@ac.upc.edu
LQ Newbie
 
Registered: Jul 2012
Posts: 5

Rep: Reputation: Disabled
Disable checksum offload


Hi everyone,

I would like to disable the checksum offload of my network card. I have found this command that should solve my problem:

ethtool -K eth0 tx off rx off

When I query the status of the network card with ethtool -k eth0 everything seems ok, but when I use wireshark, the TCP packets have errors in the checksum. The connectivity is ok so I suppose that the checksum offload is not disabled.

rx-checksumming: off
tx-checksumming: off

I am using Ubuntu 12.04

Thanks in advance
 
Old 07-18-2012, 11:21 AM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I forget what the condition was when checksum was always on. Maybe the same checksum value for ever frame? Is each packet reporting the checksum wrong in wireshark or just some or many?

I guess restarting network can't hurt to try.

A very slim chance the board can't change for some reason.

Unplug ethernet cable and wait a few seconds and plug back in.
 
Old 07-18-2012, 01:23 PM   #3
alopez@ac.upc.edu
LQ Newbie
 
Registered: Jul 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks for your answer. I have noticed that the only packet that wireshark detects with a wrong packet are SYN packets and ACK packets of TCP connections. Any reason for this behaver?
 
Old 07-18-2012, 03:50 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I assume you have this checked and/or you looked at packet info for the bad checksum. http://wiki.wireshark.org/TCP_Checksum_Verification

Then some issue with those two. Either some alternate syn checksum, firewall deal or vpn deal is all I can guess.

Checksum offloading reports all frames as bad as I recall in wireshark.

Hopefully someone knows for sure.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Checksum 4 Slackware download - what type of checksum is this. Earnest Lux Linux - Newbie 1 02-02-2008 08:02 PM
Offload SSH Encryption esaym Linux - Networking 2 04-25-2007 08:43 PM
LXer: Offload content to Amazon using PHP LXer Syndicated Linux News 0 01-29-2007 05:03 PM
TCP/IP Offload reschaedl Linux - Networking 0 01-10-2002 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration