Finding mtu size

Get help and discuss anything related to tweaking your internet connection, as well as the different tools and registry patches on the site. TCP Optimizer settings and Analyzer results should be posted here.
Post Reply
empleat
New Member
Posts: 14
Joined: Tue Jun 09, 2015 7:27 am

Finding mtu size

Post by empleat »

Hello,

i don't understand this at all.
[TCP Optimization for lower pings]

I have modem ube evm3230 and when i tried ping google for example with mtu 1500, it writes:"packets needs to be fragmented".

I wasn't able find any information about mtu size of this modem and i tested it without router.

And it is weird, i thought for ethernet is 1500, so why should has this modem problems with it today times, i mean this is old a while.

To tutorial: when i found mtu size, which doesn't need to be fragmented, they write you have to add header to this value +28.

It makes no sense, by this http://www.dcgaming.org/wp-content/uploads/2014/01/fragment.jpg should be header already included in mtu.

So why i should add it, in addition, if i add it, it starts again writes:"packets needs to be fragmented".
User avatar
Philip
SG VIP
Posts: 11759
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

The 1500 bytes packet/MTU includes TCP/IP headers. TCP and IP headers are 20 bytes each, so, in essence you have:
TCP/IP traffic = 1460 bytes payload + 20 bytes IP header + 20 bytes TCP header = 1500 bytes max.

These 40 bytes headers can differ as well (if you add 1323 TCPOptions timestamps, for example it adds another 12 bytes of headers further reducing the payload/useful data).

With that in mind, when you do a "ping", you sending out ICMP, not TCP/IP packets. ICMP adds 8 bytes header, and your packets still have the 20 bytes IP header, so, then:
ICMP packet = 1472 bytes data + 20 bytes IP header + 8 bytes ICMP header = 1500 bytes max.

That is why you have +28 bytes of headers with ICMP pings.

I don't know about the Ubee evm3230 specifically, but some ISPs and devices may add other headers (like ADSL PPPoE, for example), reducing that 1500 bytes MTU. In some cases they can be configured to increase the MTU.

I hope this helps.
empleat
New Member
Posts: 14
Joined: Tue Jun 09, 2015 7:27 am

Post by empleat »

Than my mtu size is okay, i can ping google with 1472 bytes, without message: packets needs to be fragmented.
Thanks for perfect explanation.
User avatar
Philip
SG VIP
Posts: 11759
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Yes, if you can ping up to 1472 bytes without fragmentation, your MTU is 1500. The TCP Optimizer has that ping test built-in as well.

Glad I could help.
Post Reply