0

If I know the maximum packet size is 1500 bytes say for Ethernet frame v2 then for example I want to transfer 1 KB over the Internet which is roughly 1024 bytes.

Will the packet be split into many packets upon sending it or will it be just one packet? If so then why would it be split when it is under the MTU size?

  • You tagged this "tcp" as well as "ip". Clarify. Are you talking about sending this hypothetical "1 KB" (which just happens to be exactly 1,024 bytes) via a TCP connection or as a raw IP payload? – Evan Anderson Jan 16 '14 at 12:15
  • @EvanAnderson: In both cases. – cpx Jan 16 '14 at 12:24
  • I have just came across this question: Can TCP and UDP packets be split into pieces? It sounds similar. – cpx Jan 16 '14 at 12:41
1

This question is totally hypothetical. To answer you would need to know all the hops your packet passes through, what technology each hop uses and the framesize configured (where applicable).

When it comes to internetworking, ethernet is in most cases an edge technology. Should you pass through ATM the packet will be split up in 53 byte cells of which some is overhead. Frame Relay uses negotiable PDU length. And these are just two out of many, many protocol families whose combined implementation make up 'the Internet'.

This makes the question rather difficult to answer (as you included an otherwise unspecified Internet in your path).

  • By 'internet' in the question I meant the 'World Wide Web". – cpx Jan 16 '14 at 14:05
  • 1
    The world wide web is just a protocol (http/https) on top of the internet. To get a tcp/ip packet from one place to another on the internet it can pass through dozens of different underlying network systems, each with a different MTU. Example: If I send 1 ip frame to my next-door neighbor via the internet (we are both on the same cable ISP) there are at least 6 MTU's involved. My Wifi, my ethernet, Cable to the ISP, at least 1 hop in the ISP network, cable to my neighbor, his ethernet. – Tonny Jan 16 '14 at 14:39
0

It should be just one packet, considering the overhead of the technology you're using for transmission.. PPP adds headers (PPPoE adds even more) if you're using VPNs or tunnels, the MTU will be further reduced. Ditto if somewhere along the way there is a hop with a reduced MTU.

You also have to consider what the data is, if it's RTP data in UDP, it might be split to reduce latency, whereas something like an FTP would likely use all the sapce available.

So both software and transmission can make a difference.

0

On Windows you can use Wireshark (a packet sniffer) to actually see what the packets look like and what they contain. It's a very good utility I think.

(I would just comment above but don't have the points for that yet).

  • No, you can't. You can use wireshark to see the packets. Fiddler is an HTTP inspector. – mfinni Jan 16 '14 at 14:32
  • 1
    oops. fixed. Have used them both but not for awhile. Got my wires crossed. – Elliptical view Jan 16 '14 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.