Networking Forums

Networking Forums > Computer Networking > Linux Networking > HELP: kernel IP fragmentation reassembly problem?

Reply
Thread Tools Display Modes

HELP: kernel IP fragmentation reassembly problem?

 
 
Tuan
Guest
Posts: n/a

 
      10-03-2003, 06:11 PM
Hi,

We've got a UDP-based network loader that is used for analysis of radio
communications systems. In short is sends scheduled bursts of UDP
datagrams with tx timestamp in the payload and the UDP servers receive
the datagrams and record the rx timestamp. The UDP datagrams range from
100 bytes up to (65535 - 28).

We're using the latest Red Hat 9 kernel 2.4.20-20.9 and we first noticed
that the IP header had the Don't Fragment (DF) bit set all the time.
Also the More Fragments (MF) bit was set for packets larger than the
MTU...which is normal. So we turned on the "ip_no_pmtu_disc" (set to 1)
and the DF flag is no longer set for all packets.

Now the problem is that the my UDP server process running on another RHL
9 box does not receive any packets that are over the MTU. I see the IP
packets get fragmented but my UDP server doesn't get anything back from
the recvfrom().

Any ideas of other flags to turn on/off in /proc?

Thanks,
Tuan

 
Reply With Quote
 
 
 
 
Horst Knobloch
Guest
Posts: n/a

 
      10-03-2003, 08:57 PM
Tuan <(E-Mail Removed)> wrote:

[large UDP packets and PMTU discovery disabled]

> Now the problem is that the my UDP server process running on another RHL
> 9 box does not receive any packets that are over the MTU. I see the IP
> packets get fragmented but my UDP server doesn't get anything back from
> the recvfrom().
>
> Any ideas of other flags to turn on/off in /proc?


First check what the problem exactly is. Use tcpdump or
ethereal to check whether all fragments of the packets
are hitting your box. Also pay attention whether there
are ICMP error messages indicating that Time-to-Live
is exceeded sent.

Make sure that no strange packet filter rule is blocking
the fragmented UDP packets.

You might also tweak the /proc/sys/net/ipv4/ipfrag*
files in try-and-error manner. ;-)


Ciao, Horst
--
»When pings go wrong (It hurts me too)« E.Clapton/E.James/P.Tscharn
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS problem with kernel-2.4.33.3 John Thompson Linux Networking 0 09-13-2006 07:06 PM
ip fragmentation kernel 2.6 danger Linux Networking 3 05-31-2006 07:25 PM
How to verify TCP Reassembly vishal...@gmail.com Linux Networking 0 04-29-2006 02:16 AM
IP fragmentation with linux kernel 2.4.x Alain FORCIOLI Linux Networking 1 01-21-2004 03:01 AM
Problem with UDP fragmentation reassembly in kernel 2.4.x Tuan Hoang Linux Networking 2 10-07-2003 05:05 AM



1 2 3 4 5 6 7 8 9 10 11