Networking Forums

Networking Forums > Computer Networking > Linux Networking > [HELP] flags [DF] always set

Reply
Thread Tools Display Modes

[HELP] flags [DF] always set

 
 
lollolo
Guest
Posts: n/a

 
      11-25-2011, 10:23 AM
Hi,
via tcpdump i noticed the Don't Fragment flag in the ip packets
transmitted/received from my pc.

It seems it only sends ip packets with this flags set, indipendently from
the type of traffic (LAN or internet).

Is this normal?
I though DF flag was only used in some situation. Is there a way (maybe
via /proc or /sys ) to reset the situation to the original configuration?

Could this problem affect negatively the network speed while using
internet? (maybe some packets get lost 'cause of some router with too low
MTU , unable to fragment because of the DF flag set )


thanks, lollolo
 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      11-25-2011, 01:29 PM
On 25.11.11 1:23 , lollolo wrote:
> Hi,
> via tcpdump i noticed the Don't Fragment flag in the ip packets
> transmitted/received from my pc.
>
> It seems it only sends ip packets with this flags set, indipendently from
> the type of traffic (LAN or internet).
>
> Is this normal?
> I though DF flag was only used in some situation. Is there a way (maybe
> via /proc or /sys ) to reset the situation to the original configuration?
>
> Could this problem affect negatively the network speed while using
> internet? (maybe some packets get lost 'cause of some router with too low
> MTU , unable to fragment because of the DF flag set )
>
>
> thanks, lollolo



TCP uses the DF flags to detect the path MTU, the maximum segment size
that gets through without IP fragmentation. If the nodes in the path
behave correctly, they will return an ICMP message to the sender, if
a segment is too large for the path.

--

Tauno Voipio

 
Reply With Quote
 
Jorgen Grahn
Guest
Posts: n/a

 
      11-25-2011, 02:55 PM
On Fri, 2011-11-25, lollolo wrote:
> Hi,
> via tcpdump i noticed the Don't Fragment flag in the ip packets
> transmitted/received from my pc.
>
> It seems it only sends ip packets with this flags set, indipendently from
> the type of traffic (LAN or internet).
>
> Is this normal?


Yes, nowadays it is.

> I though DF flag was only used in some situation.


Yes, in a situation which is normal nowadays.

> Is there a way (maybe
> via /proc or /sys ) to reset the situation to the original configuration?


# sysctl -a | grep pmtu_disc
net.ipv4.ip_no_pmtu_disc = 0

You can google for the details.

> Could this problem affect negatively the network speed while using
> internet? (maybe some packets get lost 'cause of some router with too low
> MTU , unable to fragment because of the DF flag set )


Yes, but that would probably stop the traffic completely, not slow it
down.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
 
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
What do TCP Flags mean Rich Windows Networking 2 03-10-2009 06:45 PM
Firewall Flags MikeV06 Windows Networking 0 01-04-2006 02:18 PM
Problem with iptables tcp-flags Martin Schneider Linux Networking 2 04-29-2005 06:04 PM
about arp Flags message ... ÃÖ±Ô¶ô Linux Networking 1 05-11-2004 01:22 PM
Xinetd flags questions tibo Linux Networking 1 02-02-2004 01:31 PM



1 2 3 4 5 6 7 8 9 10 11