List Info

Thread: Disable ipv4 fragmentation




Disable ipv4 fragmentation
country flaguser name
France
2007-04-24 12:39:53
Dear experts,

I'm working with sockets in a debian with a version of
kernel 2.6.x, and I'd 
like to disable the fragmentation of the ipv4 introduce.
I have read that there was the option of modified the file 
/proc/sys/net/ipv4/ip_always_defrag but it doesn't exist.
So I'm totally lost and I need to disable that fragmentation
or change the 
size to the maximum of 65535.
Anyone can help me?

Thanks in advance!

____________________________________________________________
_____
Grandes éxitos, superhéroes, imitaciones, cine y TV... 
http://es.msn.kiwee.com/
Lo mejor para tu móvil.


-- 
To UNSUBSCRIBE, email to debian-ipv6-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Disable ipv4 fragmentation
user name
2007-04-24 13:33:15
None of the lists you've sent this to are appropriate forums
for this
question; redirecting to debian-user.

On Tue, Apr 24, 2007 at 05:39:53PM +0000, J HU wrote:
> Dear experts,

> I'm working with sockets in a debian with a version of
kernel 2.6.x, and 
> I'd like to disable the fragmentation of the ipv4
introduce.
> I have read that there was the option of modified the
file 
> /proc/sys/net/ipv4/ip_always_defrag but it doesn't
exist.
> So I'm totally lost and I need to disable that
fragmentation or change the 
> size to the maximum of 65535.
> Anyone can help me?

What do you expect the system to do with oversized packets
instead of
fragmenting them?  Discard them?

Fragmentation is used any time a given packet is too large
to fit inside a
single frame of the underlying transport, as determined by
the network
interface's MTU.

-- 
Steve Langasek                   Give me a lever long enough
and a Free OS
Debian Developer                   to set it on, and I can
move the world.
vorlondebian.org                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to debian-ipv6-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Disable ipv4 fragmentation
country flaguser name
United States
2007-04-28 23:53:09
On Tue, 2007-04-24 at 17:39 +0000, J HU wrote:
> Dear experts,
> 
> I'm working with sockets in a debian with a version of
kernel 2.6.x, and I'd 
> like to disable the fragmentation of the ipv4
introduce.
> I have read that there was the option of modified the
file 
> /proc/sys/net/ipv4/ip_always_defrag but it doesn't
exist.
> So I'm totally lost and I need to disable that
fragmentation or change the 
> size to the maximum of 65535.
> Anyone can help me?

Fragmentation is part of IP.  Changing the MTU does not
prevent
fragmentation.  Routers and everything in between is
permitted to
fragment traffic.

You can set the DF (don't fragment) bit in various ways, but
the result
is that routers which need to fragment will instead drop
your packets.
IP guarantees that "small enough" packets can be
transmitted without
fragmentation, but that limit is a part of the protocol and
not
something you can configure.

What is the problem you are trying to solve?

Thomas

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )