扁桃体发炎严重吃什么药好得快| 七月二十是什么星座| 有血尿是什么原因| 戒指戴哪个手指代表什么| 燃烧卡路里是什么意思| 萎缩性胃炎什么症状| 肾的作用和功能是什么| 风凉话是什么意思| 为什么一直流鼻涕| 胸口闷痛什么原因引起的| 什么原因导致荨麻疹| 黄疸高对婴儿有什么影响| 经常放屁吃什么药好| 土加亥念什么| 鼻息肉长什么样子图片| 鱼疗是什么鱼| 喝什么茶可以降血糖| 脑供血不足做什么检查能查出来| 缺钠是什么原因造成的| 王八看绿豆是什么意思| 1.28什么星座| 北极熊代表什么生肖| 梦见自己大肚子快生了是什么意思| 卵巢多囊样改变是什么意思| 鉴黄师是什么职业| pyq是什么| 心口痛挂什么科| 什么是非处方药| 下午5点多是什么时辰| 75岁属什么| negative是什么意思| 早入簧门姓氏标什么意思| 蜘蛛喜欢吃什么| 十万个为什么内容| 肛周湿疹用什么药膏| 819是什么意思| 子欲养而亲不待什么意思| 麦芽糊精是什么| 226是什么意思| 搬新家有什么讲究和准备的| 氧分压高是什么原因| 什么叫射线| 一个火一个羽一个白念什么| 法国的货币叫什么| 排卵是什么意思| 宫寒吃什么| 上技校学什么专业好| 琅琊榜是什么意思| 213什么意思| 勃起不够硬吃什么药| 贩子是什么意思| 火鸡面为什么叫火鸡面| 小工是什么意思| sp是什么的缩写| 慢性咽喉炎吃什么药好| 鼻塞流鼻涕吃什么药| 病原体是什么意思| 舌头紫红色是什么原因| 2023是什么年| 淋菌性尿道炎吃什么药| 武的部首是什么| hib是什么疫苗| 因小失大是什么生肖| 异麦芽酮糖醇是什么| 1450是什么意思| 什么网站可以看黄色视频| 露营需要准备什么东西| 火烧火燎是什么意思| 乙肝表面抗体偏高是什么意思| 水由什么构成| hkc是什么牌子| 五个月宝宝吃什么辅食最好| 野是什么意思| 经常吃红枣有什么好处和坏处| 消化酶缺乏是什么症状| 结晶果糖是什么| 接吻有什么好处| 拔牙挂什么科室| 什么旺土| 梦见自己流血是什么预兆| 人湿气重有什么症状| 长期喝什么茶能降三高| 结核抗体阳性说明什么| 什么伐桂| 陶渊明是什么先生| 栩字五行属什么| 维生素b6有什么作用| tg是什么指标| dha什么时候吃| 血小板减少吃什么药| 对药物过敏是什么症状| 怀璧其罪是什么意思| 血压偏低吃什么东西补最好| 11月20号什么星座| 他达拉非片是什么药| 慢悠悠的近义词是什么| 无意识是什么意思| 漳平水仙茶属于什么茶| maxrieny是什么品牌| 国色天香是什么生肖| 伏脉常见于什么病| 怀才不遇是什么意思| 化疗后吃什么补身体| 育婴师是干什么的| 虾不能跟什么一起吃| 什么笑脸| 美商是什么意思| 吃红苋菜有什么好处| yy是什么意思| 为什么出汗特别多| 小孩心跳快是什么原因| 产酸克雷伯菌属于什么菌| 痛风什么东西不能吃| 早期流产是什么症状| 九月十号什么星座| 过生日送什么礼物好| yet什么意思| 猪油不凝固是什么原因| 巨蟹座和什么座最配对| 山楂什么时候成熟| 什么是假性高血压| 香槟是什么| 反流性食管炎吃什么食物好| 舌炎是什么原因引起的怎样治疗| 奶瓶pp和ppsu有什么区别| 拔完智齿后需要注意什么| ml是什么意思| 奇亚籽在中国叫什么| 牙龈化脓是什么原因| 知我者非你也什么意思| 大便常规检查能查出什么| 满江红属于什么植物| 血液为什么是红色| 微博是什么意思| 子宫和宫颈有什么区别| 什么人不能吃蜂蜜| 每天早上起床口苦是什么原因| 梦见春梦是什么意思| 作风问题的核心是什么| 肠胃蠕动慢吃什么药| 利巴韦林是什么药| 6424什么意思| 不管事是什么意思| 腿酸痛是什么原因| 炒菜是什么意思| 蔗糖脂肪酸酯是什么| 西游记什么时候拍的| 胃疼吃什么好| 争奇斗艳的斗是什么意思| 鸾俦是什么意思| 猪肚炒什么好吃| 什么是寓言故事| 虚劳病是什么意思| 2月27是什么星座| 脚底发热是什么原因| 公元前3000年是什么朝代| 巨蟹座和什么最配| 连续打喷嚏是什么原因| 红眼病用什么眼药水| 口什么腹什么| 虾片是什么做的| 粘胶纤维是什么| hds是什么意思| 有且仅有什么意思| 9月21号是什么星座| 阿修罗道是什么意思| 真狗是什么意思| 35岁月经量少是什么原因| 锦纶是什么面料优缺点| 股票填权是什么意思| 三八送什么花| 颈椎病吃什么药效果好| 10月5号是什么星座| 肠炎吃什么消炎药| 嫐什么意思| 红枣为什么要炒黑再泡水喝| 百香果什么时候成熟| 什么让我成长| 胸为什么会胀痛| 25岁属什么生肖| 政客是什么意思| 皮癣用什么药膏| 戴字五行属什么| 男生剪什么发型好看| 名声大噪是什么意思| gr是什么| 梦里见血代表什么预兆| lh是什么意思啊| 阑尾炎在什么位置| 物心念什么| 氯雷他定片主治什么病| 棠字五行属什么| 拔罐出水泡是什么原因| 手机是什么意思| 一什么不什么| 哦吼是什么意思| 6月30是什么星座| 瞩目是什么意思| 鸡肉不能和什么一起吃| 大土土什么字| 喝什么| 雏凤是什么意思| 高血糖吃什么食物好| 袖珍人是什么| 身体出现白斑有可能患什么病| 男性前列腺炎有什么症状| 维生素c阳性是什么意思| 蜻蜓属于什么类动物| 白发缺少什么维生素| 2月是什么星座的| 痤疮用什么药膏最有效| 左手小手指麻木是什么原因引起的| 胃痉挛是什么| 皮蛋是什么蛋| 为什么会晨勃| bang是什么意思| pc是什么缩写| 糖尿病吃什么| 冰粉是什么做的| 鱼油不能和什么一起吃| 喆读什么| 种生基是什么意思| 耳语是什么意思| 阴茎冰凉是什么原因| 扫货是什么意思| 阴囊潮湿用什么药| goldlion是什么牌子| 暖皮适合什么颜色衣服| 03年是什么命| hp感染是什么意思| 吃竹笋有什么好处和坏处| 白糖和冰糖有什么区别| 蚂蚱长什么样| pretty是什么意思| 皇太极叫什么名字| 七五年属什么| 开火车是什么意思| 一什么一什么| 陪嫁一般陪些什么东西| 孔雀蓝配什么颜色好看| hbsag是什么| 宝宝喝什么奶粉好| 吃什么能降尿蛋白| 舌头热灼是什么原因| 红枣为什么要去核煮| 井里面一个点念什么| 血流信号是什么意思| 石蛋是什么| 冠状沟有白色分泌物是什么原因| 葵水是什么意思| 拔牙后可以吃什么食物| 菊花茶有什么功效| 低回声斑块是什么意思| 天津有什么玩的| 冰激凌和冰淇淋有什么区别| 九锡是什么意思| 5月21号是什么星座| 老人吃什么水果对身体好| 总胆固醇偏高是什么原因| 铁皮石斛有什么功效| 脱发严重是什么原因| 十二生肖排第七是什么生肖| 美的不可方物是什么意思| 腱鞘炎什么症状| 百度
Search

美国德克萨斯州孤星学院海德校长到访中国孔子基金会

百度 此外,由于智能化技术的提升,智能服务将取代传统的售后服务在生产关系中的地位,因此汽车的企业需要具备强大的智能研发与服务能力,相关人才的需求甚至不亚于传统的汽车工程研发。

You will learn what is TCP/IP encapsulation and decapsulation, and how data is packed at different layers of TCP/IP protocol stack.

Before proceeding to learn the terms TCP/IP encapsulation and TCP/IP decapsulation, let us have a look at five layers of TCP/IP model.

tcpip-model.jpg

TCP/IP Encapsulation

When data moves from upper layer to lower layer of TCP/IP protocol stack, during an outgoing transmission, each layer includes a bundle of relevant information called "header" along with the actual data. The data package containing the header and the data from the upper layer then becomes the data that is repackaged at the next lower level with lower layer's header. Header is the supplemental data placed at the beginning of a block of data when it is transmitted. This supplemental data is used at the receiving side to extract the data from the encapsulated data packet. This packing of data at each layer is known as data encapsulation.

TCP/IP Encapsulation

TCP/IP Encapsulation

To visualize TCP/IP encapsulation process, refer below images.

Let us imagine four carton boxes (used to pack items for sending via courier), smaller one placed inside the bigger one as shown below.

encapsulation-decapsulation-boxes

Application Layer (Layer 5)

Usually, the data for network transmission is generated at the Application layer. The data for network transmission from the Application layer is then encapsulated at its lower layer, Transport layer. Main protocols at Transport Layer are (TCP (Transmission Control Protocol) and UDP (User Datagram Protocol)).

The data generated at the Application layer for network transmission is called as "Message". The data generated at the Application layer (Layer 5) is then passed down to Transport layer. Following image is a visual representation of the data generated at Application layer.

application-layer-data.jpg

Transport Layer (Layer 4)

Transport layer adds many information with original data as Transport layer header (Layer 4 header), which are relevant for data processing at the Transport layer.

As described in the previous lesson, the Transport layer contains two important protocols: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol). TCP (Transmission Control Protocol) is more reliable but consumes more resource. UDP (User Datagram Protocol) is less reliable but consume fewer resources than TCP (Transmission Control Protocol). UDP (User Datagram Protocol) is faster than TCP (Transmission Control Protocol).

The Application layer message is encapsulated at the Transport layer. If the protocol used at the Transport Layer is TCP (Transmission Control Protocol), the data packet is known as "TCP Segment". If the protocol used at the Transport layer is UDP (User Datagram Protocol), the data packet is known as "UDP Datagram".

The most important values at Transport layer header (Layer 4 header) are TCP/UDP source and destination port numbers. Data packet generated at Transport Layer (Layer 4) is then passed down to Network layer (Layer 3) for further processing. Following image represents the data packet generated at Transport layer.

transport-layer-data-packet-port-number.jpg

Network Layer (Layer 3)

Network layer adds additional data as header, which are relevant for processing data at Network layer.

transport-layer-data-placed-inside-network-layer.jpg

The data packet created at the Network layer by Internet Protocol (IPv4 or IPv6), which encapsulates its upper layer Transport layer segment/datagram, is known as "IP Datagram".

The most important values at Network layer header (Layer 3 header) are source and destination IPv4/IPv6 addresses (Layer 3 addresses). The data packet generated at Network layer is then passed down to Datalink Layer (Layer 2). Following image represents data packet generated at the Network layer.

network-layer-data-packet-ipv4-ipv6-address.jpg

Datalink layer (Layer 2)

The data packet generated at Network layer is then placed inside Datalink layer header and trailer (Layer 2 header and trailer). Values inside Datalink layer header and trailer are relevant for processing data at Datalink layer.

network-layer-data-placed-inside-datalink-layer.jpg

The data packet at the Datalink layer, which encapsulates and may subdivide the IP Datagram, is known as a "Frame" (generally Ethernet Frame).

The most important values at Datalink layer header (Layer 2 header) are source and destination MAC addresses (Layer 2 addresses). Following image represents data packet generated at Datalink layer.

datalink-layer-data-packet-mac-address.jpg

Physical Layer (Layer 1)

The Frame is then transferred to Physical Layer (Layer 1), and is converted into stream of bits at the Physical layer (Layer 1). The stream of bits is then placed on network medium for transmission to the destination computer.

TCP/IP Decapsulation

The reverse process of encapsulation (or decapsulation) occurs when data is received on the destination computer during an incoming transmission. As the data moves up from the lower layer to the upper layer of TCP/IP protocol stack (incoming transmission), each layer unpacks the corresponding header and uses the information contained in the header to deliver the packet to the exact network application waiting for the data.

TCP/IP Decapsulation

TCP/IP Decapsulation

Physical Layer (Layer 1)

Stream of bits are picked from network medium and then transferred to its upper layer, which is Datalink layer (Layer 2).

Datalink Layer (Layer 2)

Receiver opens the Datalink layer header and trailer (Layer 2 header and trailer), uses the values at Datalink header and trailer for processing data at the Datalink layer.

datalink-layer-data-packet-mac-address.jpg

Receiver then collects the Network layer packet (IPv4 or IPv6 Datagram), and it is transferred to Network layer for further processing.

network-layer-data-placed-inside-datalink-layer.jpg

Network Layer (Layer 3)

Receiver opens the Network layer header (Layer 3 header), uses the values at Network layer header (Layer 3 header) for processing data at Network layer.

network-layer-data-packet-ipv4-ipv6-address.jpg

Receiver then collects the Transport layer packet (TCP or UDP), and it is transferred to Transport layer for further processing.

transport-layer-data-placed-inside-network-layer.jpg

Transport Layer (Layer 4)

Receiver opens the Transport layer header (Layer 4 header), uses the values at Transport layer header (Layer 4 header) for processing data at the Transport layer.

transport-layer-data-packet-port-number.jpg

Receiver then collects the Application layer data, and it is transferred to the Application layer for the network application waiting for incoming network data.

application-layer-data.jpg

Screenshot of an encapsulated Ethernet frame

Let us have a look at an encapsulated Ethernet frame, carrying HTTPS protocol (HyperText Transfer Protocol - Secure) data from a web server to the client. You can see from the Wireshark packet capture screenshot that where Datalink layer, Transport layer, Network layer and Application layer areas are marked.

As explained earlier in this lesson, you can see the source and destination MAC addresses at Datalink layer, source and destination IP addresses at Network layer and source and destination port numbers at Transport layer. Also note that the source port number is 443, which is the well-known port number for HTTPS. You can also see the encrypted Application layer data, at the bottom of the screenshot.

encapsulated-ethernet-frame.jpg

Note: The first octet of the source IPv4 address in above Wireshark packet capture screenshot is hidden to protect third-party web server.

To get more wider view about different layers of TCP/IP protocol stack and how they operate together, please visit and learn below lessons in order.

In this lesson, you have learned what is TCP/IP Encapsulation and Decapsulation. Click below links to move to previous or next lessons.

Related Tutorials
? Introduction to TCP/IP, Features of TCP/IP, TCP/IP History, What is RFC (Request for Comments)
? What is PDU (Protocol Data Unit)
? How data is moved through different layers of OSI model at sending and receiving computers
? Names of data packets at different layers of OSI model
? Why OSI model failed
? Four Layers of original TCP/IP model, Functions of four layers of TCP/IP model
? Five layered TCP/IP model
? Comparison between four layered TCP/IP model and five layered TCP/IP model
? Protocols/Standards at various layers of TCP/IP model
? Comparison between TCP/IP and OSI models
? How data is moved through different layers of TCP/IP model at sending and receiving computers
? TCP/IP Encapsulation and Decapsulation
? Physical Layer (Layer 1)
? Datalink Layer (Layer 2)
? Ethernet Frame Format
? What is MAC address or Layer 2 address or physical address
? Network Layer (Layer 3)
? IPv4 Protocol, IPv4 header and fields of IPv4 header
? IPv4 addresses, IPv4 Address Classes, IPv4 Address Classifications
? Transport Layer (Layer 4)
? Application Layer (Layer 5)
出虚汗是什么原因引起的怎么调理 华盖星是什么意思 白细胞高说明什么问题 标本是什么意思 生长痛是什么
壁报交流是什么意思 腰椎穿刺是检查什么的 打耳洞不能吃什么 糖类抗原125高是什么意思 大熊猫生活在什么地方
经常口臭的人是什么原因引起的 木驴是什么 造影有什么危害 爬行对身体有什么好处 乙肝全是阴性是什么意思
他说风雨中这点痛算什么 今年养殖什么最挣钱 类风湿要吃什么药 做梦捡到钱了什么预兆 眼睛发胀是什么原因
白脸代表什么bjcbxg.com 独角仙吃什么xinmaowt.com 感冒咳嗽一直不好是什么原因hcv9jop0ns7r.cn 做什么饭简单又好吃hcv8jop2ns6r.cn 腰痛宁为什么晚上吃hcv8jop2ns2r.cn
儿童矮小挂什么科qingzhougame.com 李子是什么水果hcv8jop8ns0r.cn 十月一日是什么星座bjcbxg.com 砂仁后下是什么意思hcv9jop8ns2r.cn 火和什么相生beikeqingting.com
鬼子红药店里叫什么药hcv7jop6ns0r.cn 囊性病变是什么意思hcv7jop9ns7r.cn 健脾养胃喝什么好hcv8jop0ns4r.cn 多种维生素什么牌子的效果最好hcv8jop2ns5r.cn 健康证明需要检查什么hcv8jop7ns8r.cn
婴儿血小板低是什么原因hcv8jop8ns5r.cn 东坡肉属于什么菜系adwl56.com 顺时针是什么方向hcv8jop7ns2r.cn 正规医院减肥挂什么科aiwuzhiyu.com 冰丝是什么材料hcv7jop9ns1r.cn
百度