μΊ‘μν (Encapsulation)
λ€νΈμν¬μμμ μΊ‘μνλ λ°μ΄ν°λ₯Ό μ μ‘νκΈ° μν΄ νΉμ νλ‘ν μ½μμ μ¬μ©νλ ν¨ν·μΌλ‘ κ°μΈλ κ³Όμ μ μλ―Έν©λλ€. μ΄ ν¨ν·μ μ‘μ μμμ μμ μλ‘ μ μ‘λλ λμ μ¬λ¬ κ³μΈ΅μ κ±°μ³ μ΄λνκ² λλ©°, κ° κ³μΈ΅μμλ ν΄λΉ κ³μΈ΅μ μ 보λ₯Ό ν€λλ₯Ό λΆμ΄λ©° μΆκ°νμ¬ λ°μ΄ν°κ° λͺ©μ μ§μ μ ννκ² λλ¬ν μ μλλ‘ ν©λλ€.
μμΊ‘μν (Decapsulation)
μμΊ‘μνλ μμ μκ° λ°μ΄ν°λ₯Ό μ μ‘λ°μ ν, κ° κ³μΈ΅μμ ν΄λΉνλ ν€λ μ 보λ₯Ό μ κ±°νκ³ μλ³Έ λ°μ΄ν°λ₯Ό μΆμΆνλ κ³Όμ μ λλ€. μ¦,κ° κ³μΈ΅μμ μΆμΆλ μ 보λ₯Ό κΈ°λ°μΌλ‘ λ°μ΄ν°λ₯Ό ν΄μνμ¬ μμ κ³μΈ΅μΌλ‘ μ λ¬ν©λλ€. μ΄λ¬ν λ€νΈμν¬μμμ μΊ‘μνμ μμΊ‘μν κ³Όμ μ ν¨μ¨μ μ΄κ³ μμ μ μΈ λ°μ΄ν° μ μ‘μ κ°λ₯μΌ νλ©°, μ΄λ λ€νΈμν¬ ν΅μ μ ν΅μ¬ μ리 μ€ νλμ λλ€.
λ€νΈμν¬ ν΅μ μμ ν€λμ νΈλ μΌλ¬μ λν΄ λ μμλ΄ μλ€.
ν€λμλ λ°μ΄ν°λ₯Ό μ¬λ°λ₯΄κ² μ μ‘νκ³ , λͺ©μ μ§μ λλ¬νκΈ° μν΄ νμν μ μ΄ λ° λΌμ°ν μ λ³΄κ° ν¬ν¨λ©λλ€.
ν€λμλ μ μ‘λλ λ°μ΄ν°μ μ’ λ₯λ₯Ό μλ³νκΈ° μν νλ‘ν μ½ μ λ³΄κ° λ΄κ²¨ μμ΅λλ€. μλ₯Ό λ€μ΄, TCP/IPμμλ TCP νλ‘ν μ½μ ν€λμλ μ‘μ μ§, μμ μ§, μνμ€ λ²νΈ λ±μ΄ ν¬ν¨λ©λλ€. λ ν, ν€λμλ λ°μ΄ν°κ° μμλμλμ§λ₯Ό κ²μ¦νκΈ° μν 체ν¬μ¬(Checksum)κ³Ό κ°μ μ λ³΄κ° λ€μ΄ μμ΅λλ€.
νΈλ μΌλ¬ (Trailer)
νΈλ μΌλ¬μλ λ°μ΄ν° μ 체μ λν μλ¬ μ²΄ν¬ μ λ³΄κ° λ΄κ²¨ μμ΄, λ°μ΄ν°κ° μμλμ§ μμλμ§λ₯Ό κ²μ¦ν©λλ€. νΈλ μΌλ¬λ μ μ‘λλ λ°μ΄ν°μ λ λΆλΆμ μμΉνλ©°, ν€λμ ν¨κ» λ°μ΄ν°λ₯Ό κ°μΈλ μν μ ν©λλ€.
Encapsulation involves wrapping data in a specific format or structure, including headers and possibly trailers, for transmission over a network. This process helps in organizing and securing the data for effective communication.
Decapsulation occurs when data is received at the destination. The headers and trailers added during encapsulation are successively removed at each layer to extract the original data.
Headers are added to the beginning of a data packet to include information such as source and destination addresses, sequencing, and protocol details. Headers help in routing and interpreting the data at each network layer.
Trailers are optional and may include error-checking information (like a checksum). Trailers are placed at the end of the data packet and are used to verify the integrity of the transmitted data.
'Computer Science > Network' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
10 λ°μ΄ν° λ§ν¬ κ³μΈ΅ - Data Link Layer + MAC Address (0) | 2023.12.21 |
---|---|
9 Physical Layer - 물리 κ³μΈ΅ (0) | 2023.12.20 |
7 OSI λͺ¨λΈ vs TCP/IP (0) | 2023.12.19 |
6 Protocol - λ€νΈμν¬ νλ‘ν μ½: λμ§νΈ μν΅μ ν΅μ¬ (0) | 2023.12.13 |
5 μ¨νλ λ―Έμ€ vs ν΄λΌμ°λ (On-premise vs Cloud) (1) | 2023.12.12 |
λκΈ