חלוקה לחבילות

2 views
Skip to first unread message

batz107

unread,
Apr 12, 2010, 4:25:34 PM4/12/10
to 89350
נושא שמעט התבלבלתי בו.

נניח מחשב א' רוצה לשלוח קובץ בגודל 5000 בתים למחשב ב'
MTU=1500B

האם הוא ישלח חבילות בגודל 1460 בתים של מידע בתוספת 40 בתים של הדר
או שיש צורך לדאוג שגודל החבילה תתחלק ב-8, ולכן נשלח חבילות בגודל 1456
מידע בתוספת של 40 בתים של הדר ?

אני יודע שכאשר הוא יגיע לערוץ כאשר גודל הסמגנט שיכול לעבור בו הוא קטן
הוא יפצל וידאג לחלוקה של 8
השאלה היא האם גם בהתחלה אני אמור לדאוג לכך?

תודה

yaron winter

unread,
Apr 12, 2010, 4:55:10 PM4/12/10
to 89...@googlegroups.com
Fragmentation takes place only at the IP (network) layer.
If the transport layer recognizes the MTU and breaks the data into packets accordingly, it is not fragmentation and each packet has its own unique ID.
If it's specifically noted that the transport layer deliver to the IP layer segment whose size > MTU (such as in Q2 of Ex2 during the semester), then fragmentation will take place.

Thus, in your example, each packet will contain 1460B of data.
Does it make sense?


2010/4/12 batz107 <bat...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "89350" group.
To post to this group, send email to 89...@googlegroups.com.
To unsubscribe from this group, send email to 89350+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/89350?hl=en.


batz107

unread,
Apr 13, 2010, 4:30:55 AM4/13/10
to 89350
אני חושב שכן,
אם כך אז אתה טוען שבבוחן הראשון בשאלה הראשונה סעיף 1, גודל חבילה הוא
1460 מידע ?
ובקשר לשדה של
ID
each packet has a different ID, and is a packet gets fragmentat so
each fragment will have the ID of the original packet ?

Haya Shulman

unread,
Apr 13, 2010, 7:09:49 PM4/13/10
to 89350
Yaron is correct, the fragmentation is not performed by the sender
(who is aware of the MTU on the channel to which it is connected), but
by the intermediate routers.
Reply all
Reply to author
Forward
0 new messages