Skip to main content

This is how I understand Data Encapsulation

I tried to understand Data Encapsulation but failed to find stuff that easy to understand, maybe because I am a slow learner.
So, I have written this to gain understanding on this topic. Please help me correct this material in case there is error. Also pardon my shit english, it is my second language.
If you gain benefit from this, I am glad, thank you for reading.

Fundamental - OSI layer and PDU

OSI - 7 Layer (Physical, Data Link, Network, Transport, Session, Presentation, Application)

PDU - Protocol Data Unit, the model/control of the information on each layer. PSU are encapsulated by attaching them to the data at each layer.

Per OSI, 5th, 6th and 7th layer is considered application layer or upper layer.

1st, 2nd, 3rd and 4th layer are considered data flow layer.

For encapsulation, we want to look more at tne Data Flow layer. PDU on each layer are defines as follows:

  • Transport layer - Segment
  • Network layer - Packet
  • Data link layer - Frame
  • Physical layer- Bit


=======================================================================
Transport layer - TCP Encapsulation

When data come from the upper layer, it is then encapsulated in a "segment" with a segment header. The segment is then sequenced so that when it reach the destination, it can be put again in original state.

Network layer - IP header Encapsulation

Once the data is broken and segmented to be routed, it will again encapsulated in a "packet" with dedicated header. This header contains the address of the source and destination of host.
However, do note that in this layer, there are multiple protocol operating with different function.

Data Link layer - Mac header Encapsulation

Packet is now received and ready to be transferred over the wire/cable/wireless. It is then encapsulated in "frame" with MAC header of source and destination host address.

Physical Layer Encapsulation

Frame is now ready to go to the other end. Frame will be converted into digital signal. By OSI standard, Physical layer is responsible to encapsulate/digital encoding these frame in form of "bit" into digital signal.

=======================================================================
My Reference:
  1. http://www.idc-online.com/technical_references/pdfs/information_technology/Understanding_Data_Encapsulation.pdf
  2. https://en.wikipedia.org/wiki/OSI_model
  3. https://www.cs.clemson.edu/course/cpsc424/material/TCP-IP%20Networks/Packets%20and%20Encapsulation.pdf

Comments

Popular posts from this blog

The 7 Deadly Diseases by Dr. William Edward Deming.

 Good advice to follow when it come to product development. I found this here: https://old.reddit.com/r/BuyItForLife/comments/lx0fyn/i_asked_an_automotive_engineer_whats_the_secret/ The diseases are: Lack of constancy of purpose : You must remain focused on doing the right things because they are the right things to do for your customer and to achieve quality. ITSM is not a fad it is a way of behaving. Emphasis on short-term profits : Cutting costs can bring short-term profits and are easy to achieve. But cutting costs can only go on for so long, before you have cut to the bone and have nothing left to cut. Evaluation by performance, merit rating, or annual review of performance : Management by objectives ends up focusing on the objectives and not on the management. It is about “hitting the numbers” and not improvement. Mobility of management : When management changes jobs constantly there is no continuity or constancy of purpose. Each time a new leader comes in, the efforts of quality

Training that I intend to attend and complete by 2020

 #Update: I failed to attend all because depression during lockdown. Will slowly try to do one in 2021.    As mentioned, I want to do these: https://www.chiheb-chebbi.com/incident-response-and-security-operations-fundamentals/ https://www.enisa.europa.eu/topics/trainings-for-cybersecurity-specialists/online-training-material/technical-operational#mobile_threats https://www.enisa.europa.eu/topics/trainings-for-cybersecurity-specialists/online-training-material/technical-operational#mobile2   This is my checklist, we'll see if I can do it. Finger-crossed.

Memilih Kamera Pertama Anda. Bahagian 2 Tambahan - Kamera Point and Shoot

Edisi Khas untuk kamera Point and Shoot. Penulis merasakan kamera jenis ini tidak mendapat perhatian yang baik dengan ciri yang kompak, ringan dan mudah dibawa. Kebanyakan keluaran lewat 2015 mempunyai spesifikasi yang bagus, setara dengan DSLR dan Mirrorless. Contoh Kamera Point and Shoot keluaran Sony yang terkini bernama Sony ZV-1 Saiz Sensor - Kebanyakan kamera sebegini sensor sebesar 1 inci sehingga APS-C.  Megapixel - Normalnya bermula 12 MP sehingga 26 MP. Hasil gambar juga baik, cuma kekurangan fungsi Penstabil (Stabiliser) menyebabkan kualiti gambar adalah bergantung kepada tetapan (setting) yang betul serta tangan pengambil gambar yang teguh. Saiz Kamera - Kerana saiz yang kompak, ia senang dibawa kemana-mana sahaja, tanpa memakan ruang pada beg mahupun poket. Saiz kecil juga nampak natural, tidak seakan menceroboh momen dengan saiz yang besar, membuatkan orang berasa tidak senang duduk. Versatil - Mempunyai kebolehan merakam video, jadi