Re: How to prevent IP fragmentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 26, 2003 at 10:39:48AM +0200, Pavel Rozenboim wrote:
> 
> I have a shrike and psyche boxes, which reside in different subnets that are
> connected through Win2k router. Whenever I send a long packets between them
> I get a "Destination unreacheable" response saying "Fragmentation needed"
> from a router. In ethernet sniffer I see that both boxes set a don't
> fragment flag in the IP header. Is there a way to prevent this behavior.

Run the command "echo 1 > /proc/sys/net/ipv4/ip_always_defrag" .

If you want to make it a permanant setting, put this in /etc/sysctl.conf
and run the command "service network restart":

# Enables automatic defragmentation
net.ipv4.ip_always_defrag = 1

Emmanuel




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux