About Network2 Osi7 Layers

๋„คํŠธ์›Œํฌ

OSI 7 Layers

๋ฐ์ดํ„ฐ๋ฅผ ์ฃผ๊ณ  ๋ฐ›์„ ๋•Œ ๋ฐ์ดํ„ฐ ์ž์ฒด์˜ ํ๋ฆ„์„ ๊ฐ ๊ตฌ๊ฐ„๋ณ„๋กœ ๋‚˜๋ˆ  ๋†“์€ ๊ฒƒ์ด๋‹ค.

image-20210927213741200.png

TCP/IP

์ปดํ“จํ„ฐ ๋ผ๋ฆฌ ์ •๋ณด๋ฅผ ์ฃผ๊ณ  ๋ฐ›์„ ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ํ†ต์‹  ๊ทœ์•ฝ์ด๋‹ค.

image-20210927214948839.png

ํŒจํ‚ท(Packet)

๋„คํŠธ์›Œํฌ์ƒ์—์„œ ์ „๋‹ฌ๋˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ํ†ต์นญํ•˜๋Š” ๋ง, ๋ฐ์ดํ„ฐ์˜ ํ˜•์‹ํ™”๋œ ๋ธ”๋ก(Block)์ด๋‹ค.

ํŒจํ‚ท์€ ์ œ์–ด ์ •๋ณด + ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ๋กœ ์ด๋ฃจ์–ด์ง€๋ฉฐ, ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ๋Š” ํŽ˜์ด๋กœ๋“œ(Payload)๋ผ๊ณ  ํ•œ๋‹ค.

์บก์Šํ™”(Encapsulation)

  • ํ”„๋กœํ† ์ฝœ์„ ์ด์šฉํ•ด์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด๋‚ผ ๋•Œ ํŒจํ‚ท์„ ๋งŒ๋“œ๋Š” ๊ณผ์ •์ด๋‹ค.
  • ์ด ๊ณผ์ •์ค‘์—๋Š” ์ฒซ ๋ฒˆ์งธ๊ฒƒ์ด ๋งˆ์ง€๋ง‰์ด ๋  ์ˆ˜ ์—†๊ณ , ๋งˆ์ง€๋ง‰์ด ์ฒซ๋ฒˆ์งธ๊ฐ€ ๋ ์ˆ˜ ์—†๋‹ค.

(์—ญ์บก์Šํ™”(Decapsulation)๋Š” ์ˆ˜์‹ ํ•  ๋•Œ๋Š” ์—ญ์ˆœ)

image-20210927222002231.png

2 ๊ณ„์ธต

  • LAN์—์„œ ํ†ต์‹ ํ•  ๋•Œ ์ฃผ์†Œ์ฒด๊ณ„๋Š” MAC ์ด๋‹ค. EX)D5-5E-45-12-05-EB-A1
  • 16์ง„์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜๋ฉฐ, 12๊ฐœ๋กœ ์ด๋ฃจ์–ด์ ธ ์žˆ๋‹ค.
  • OUI(6 Bytes) : IEEE๊ฐ€ ๋ถ€์—ฌํ•œ ์ œ์กฐํšŒ์‚ฌ ์‹๋ณ„ ID + ๊ณ ์œ ๋ฒˆํ˜ธ(6 Bytes) : ์ œ์กฐ์‚ฌ์—์„œ ๋ถ€์—ฌํ•œ ๊ณ ์œ  ๋ฒˆํ˜ธ

https://github.com/yeoung004/yeoung004.github.io/blob/main/_posts/Network/996700395E199B6B0E.png?raw=true

  • Destination Address(6 bytes) + Source Address(6 Bytes) + Ethernet Type(2 bytes) = 14 bytes
  • Ethernet (Protocal) Type : Payload(์ƒ์œ„ ํ”„๋กœํ† ์ฝœ)์— ์–ด๋–ค ํ”„๋กœํ† ์ฝœ์ด ๋“ค์–ด๊ฐ€ ์žˆ๋Š”์ง€ ์•Œ๋ ค์ฃผ๊ธฐ ์œ„ํ•จ

์•ฝ์–ด

  • OSI(Open Systems Interconnection)

  • TCP/IP(Transmission Control Protocol/Internet Protocol)

  • MAC(A Media Access Control)
  • ์บก์Šํ™”(Encapsulation)

  • OUI(Organizationally Unique Identifier)
  • IEEE(Institute of Electrical and Electronics Engineers)