LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-15-2008, 04:07 PM   #1
chewygumstix
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
Consistently Losing Fragments with Large Packets


I've got a Windows application communicating with a Linux application and am having problems receiving UDP packets larger than about 9000 bytes in the Linux application.

I'm running wireshark and seeing how the packet is fragmented in Windows and am running tcpdump in Linux and seeing that once I get a packet with more than 5 fragments I lose the last couple of fragments. Packets with 5 or fewer fragments are always received.

I understand that losing packets is part of UDP, but I shouldn't always be losing the same packets once I get to a certain size of message.

I'm led to believe I have some sort of packet buffer size problem but can't figure it out.

I've set /proc/sys/net/rmem_max to something like 64k but no luck.

Any ideas?
 
Old 12-16-2008, 10:48 PM   #2
doctorcisco
Member
 
Registered: Nov 2003
Posts: 70

Rep: Reputation: 17
Set the IP MTU to 1450 bytes so that the packets don't need to be fragmented. (1450 leaves some room for ethernet, pppoe, and vpn headers.)
 
  


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
Losing packets on bonded ethernet channels Mugsy69 Linux - Networking 2 10-20-2007 10:16 PM
network bonding problem in RHEL4 x64 ( packets losing ) Jerais Red Hat 3 05-25-2007 05:55 PM
Wifi Sweex 140 Nitro PCI losing packets whiskeyhunter Linux - Wireless Networking 0 03-15-2007 05:56 PM
BCM4318 native kernel drivers FC6 losing packets Diagmato Linux - Wireless Networking 1 10-29-2006 05:25 AM
iptables (netfilter) losing packets! koningshoed Linux - Security 4 06-28-2003 04:09 PM

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

All times are GMT -5. The time now is 11:51 PM.

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