Networking Forums

Networking Forums > Network Hardware > Home Networking > Packet fragmentation question

Reply
Thread Tools Display Modes

Packet fragmentation question

 
 
John E
Guest
Posts: n/a

 
      04-09-2007, 08:11 PM
In an inter-networking fragmentation scheme (i.e. end-to-end), AIUI assembly
only occurs at tranmission destination, even if the packets cross multiple
networks. This is in contrast to the intra-network fragmentation scheme,
which reassembles at every gateway.

My question relates to the way that the fragmentation occurs at each
gateway. Obviously when the message leaves the source station it is
fragmented in a standard manner. This involves splitting the data into
multiple packets (generally the size of the maximum transmission unit
[MTU]). The original data is split into packets that are equal to the MTU
minus the packet overheads (e.g. header etc). However, I'm not entirely sure
what happens when the message reaches the next gateway.

Am I correct in saying that the packet created at the source station is then
fragmented (if necessary), at the next gateway? So, say a 1000 octet packet
(60 overhead + 940 data) reaches the next gateway - would that individual
packet then be fragmented? So, then say the MTU of the next network is 800
octets, and the 1000 octet packet was received - would the 940 octets of
data be extracted, then split into two packets, one of 800 octets (data +
overhead), another with the leftover (remaining data + overhead)?

TIA.


 
Reply With Quote
 
 
 
 
Barry Margolin
Guest
Posts: n/a

 
      04-10-2007, 12:46 AM
In article <S5xSh.2804$(E-Mail Removed)>,
"John E" <La-la-(E-Mail Removed)> wrote:

> In an inter-networking fragmentation scheme (i.e. end-to-end), AIUI assembly
> only occurs at tranmission destination, even if the packets cross multiple
> networks. This is in contrast to the intra-network fragmentation scheme,
> which reassembles at every gateway.


Your second scheme doesn't make any sense. By definition there are no
gateways involved in intra-network communications. In any case,
reassembly never occurs anywhere other than at the destination.

>
> My question relates to the way that the fragmentation occurs at each
> gateway. Obviously when the message leaves the source station it is
> fragmented in a standard manner. This involves splitting the data into
> multiple packets (generally the size of the maximum transmission unit
> [MTU]). The original data is split into packets that are equal to the MTU
> minus the packet overheads (e.g. header etc). However, I'm not entirely sure
> what happens when the message reaches the next gateway.
>
> Am I correct in saying that the packet created at the source station is then
> fragmented (if necessary), at the next gateway? So, say a 1000 octet packet
> (60 overhead + 940 data) reaches the next gateway - would that individual
> packet then be fragmented? So, then say the MTU of the next network is 800
> octets, and the 1000 octet packet was received - would the 940 octets of
> data be extracted, then split into two packets, one of 800 octets (data +
> overhead), another with the leftover (remaining data + overhead)?


Yes. Unless the packet has the Don't Fragment flag set, in which case
the router will drop the packet and send an ICMP Fragmentation Required
but DF Set message back to the origin.

--
Barry Margolin, (E-Mail Removed)
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      04-10-2007, 03:40 AM
On Apr 9, 1:11 pm, "John E" <La-la-l...@hotmail.com> wrote:

> Am I correct in saying that the packet created at the source station is then
> fragmented (if necessary), at the next gateway? So, say a 1000 octet packet
> (60 overhead + 940 data) reaches the next gateway - would that individual
> packet then be fragmented? So, then say the MTU of the next network is 800
> octets, and the 1000 octet packet was received - would the 940 octets of
> data be extracted, then split into two packets, one of 800 octets (data +
> overhead), another with the leftover (remaining data + overhead)?


Yes. Fragments are fragmented precisely the same way non-fragments are
fragmented.

DS

 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      04-10-2007, 06:05 AM
Hello,

Barry Margolin a écrit :
>
> In any case,
> reassembly never occurs anywhere other than at the destination.


However it appears that some firewalls and NATs do packet reassembly
because they need it for stateful packet inspection.

[Is this huge crosspost necessary ? FU2 comp.protocols.tcp-ip]
 
Reply With Quote
 
Hexalon
Guest
Posts: n/a

 
      04-10-2007, 03:48 PM
On Apr 9, 3:11 pm, "John E" <La-la-l...@hotmail.com> wrote:
> In an inter-networking fragmentation scheme (i.e. end-to-end), AIUI assembly
> only occurs at tranmission destination, even if the packets cross multiple
> networks. This is in contrast to the intra-network fragmentation scheme,
> which reassembles at every gateway.
>
> My question relates to the way that the fragmentation occurs at each
> gateway. Obviously when the message leaves the source station it is
> fragmented in a standard manner. This involves splitting the data into
> multiple packets (generally the size of the maximum transmission unit
> [MTU]). The original data is split into packets that are equal to the MTU
> minus the packet overheads (e.g. header etc). However, I'm not entirely sure
> what happens when the message reaches the next gateway.
>
> Am I correct in saying that the packet created at the source station is then
> fragmented (if necessary), at the next gateway? So, say a 1000 octet packet
> (60 overhead + 940 data) reaches the next gateway - would that individual
> packet then be fragmented? So, then say the MTU of the next network is 800
> octets, and the 1000 octet packet was received - would the 940 octets of
> data be extracted, then split into two packets, one of 800 octets (data +
> overhead), another with the leftover (remaining data + overhead)?
>
> TIA.


Why do you want want fragmentation? Gateways are always pathways out
of your network. They are always routers.

 
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
Packet fragmentation question John E Windows Networking 4 04-10-2007 03:48 PM
Packet filter statistics question chukie_egg Linux Networking 0 04-13-2005 10:00 AM
Question about modifing NDIS packet? Rajesh Gupta Windows Networking 1 06-23-2004 10:05 PM
Fragmentation F... Wireless Internet 7 11-05-2003 04:48 AM
TCP/IP Packet Question Ryan Howell Linux Networking 3 07-26-2003 10:48 AM



1 2 3 4 5 6 7 8 9 10 11