It depends what level you are looking at. For example, if you're looking at a packet on an Ethernet network that encapsulates a TCP packet, you'll find the TCP header inside the Ethernet packet. By the time it gets to the IP layer, the Ethernet packet header has been removed.
Во время задержки в очереди заголовки TCP, IP и Data Link действуют как пакет или 3 разных пакета?
Согласно определению из википедии, я обнаружил, что задержка обработки - это задержка, вызванная обработкой маршрутизатором заголовка пакета. Мне просто интересно, все ли заголовки TCP, IP и Data Link заключены в один пакет или в 3 отдельных?
2 ответа на вопрос
They are all part of the same Protocol Data Unit. The Data link Frame holds in its data region an IP Packet, which itself holds a TCP Segment. It appears wikipedia's article does state "packet", but the linked definition of packet describes a generic protocol data unit at layer 2, not an IP packet as the ISO's OSI model or DARPA ARPANET stack defines it. This may be part of the source of your confusion.
it also may help you to know that routers and switches have a few differant modes for how they buffer and forward frames out bound (Cut-through vs Store-and-Forward), including whether they wait for the whole frame to come in and calculate its Frame check Sequence before making any real decisions about the frame and its interior protocol data. That will potentially dramatically affect the processing delay you are asking about.
Похожие вопросы
-
2
Windows 7 Home Premium запоминает пароли общего доступа к сети?
-
5
Поделитесь XP сетевым подключением без перезагрузки?
-
5
Как мне сказать Windows использовать 802.11 вместо 3G?
-
-
4
Есть ли способ поделиться сканером многофункционального принтера?
-
3
Есть ли способ соединить два компьютера через USB?
-
3
Как сохранить несколько подключений к интернету?
-
4
iPod-Touch для воспроизведения фильмов с ПК на PS3?
-
2
Mac не присоединится к рабочей группе Windows
-
1
Как я могу повысить безопасность своего портала?
-
1
Как подключить к сети Windows XP и Ubuntu Linux?