netdev
[Top] [All Lists]

Re: Output on raw sockets ignores IP_DF when packet is bigger than pmtu

To: "Raghurama 'REDDY'" <rreddy@xxxxxxx>
Subject: Re: Output on raw sockets ignores IP_DF when packet is bigger than pmtu
From: Sridhar Samudrala <sri@xxxxxxxxxx>
Date: Thu, 6 Mar 2003 10:30:33 -0800 (PST)
Cc: NETDEV@xxxxxxxxxxx, <RREDDY@xxxxxxxxxxx>
In-reply-to: <03030611014533.2221238e.7643064@xxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 6 Mar 2003, Raghurama 'REDDY' wrote:

> Is there a way to get the host to not fragment when IP_DF is set,
> iresspective what the pmtu is?

You can disable pmtu discovery on a socket using the IP level socket option 
IP_MTU_DISCOVER.

System wide pmtu discovery can be disabled by setting 
        /proc/sys/net/ipv4/ip_no_pmtu_disc

-Sridhar


<Prev in Thread] Current Thread [Next in Thread>