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?

3
  • 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? Jan 16, 2014 at 12:15
  • @EvanAnderson: In both cases.
    – cpx
    Jan 16, 2014 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, 2014 at 12:41

3 Answers 3

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).

2
  • By 'internet' in the question I meant the 'World Wide Web".
    – cpx
    Jan 16, 2014 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, 2014 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).

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .