Introduction

์ด๋ป๊ฒ ์ถฉ๋์ ํผํด์ ๋ด ์์ ๋ผ์ฐํฐ๊น์ง ์ ๋ฌ๋ ๊ฒ์ธ๊ฐ?
MAC : Medium Access Control/Mutiple Access Protocol
Mac protocol
three broad classes:
โ๏ธ Channel Partitioning
- ์ด๋ํต์ (LTE) ๊ฐ ์ฌ์ฉํ๋ ๋ฐฉ์
- ์ฌ๋์ด ๋ง์ ๋ ํจ์จ์
- share channel efficiently and fairly at high load
- inefficient at low load: delay in channel access, I/N bandwidth allocated even if only I active node!
- TDMA (Time Division Multiple Access)
- FDMA (Frequency Division Multiple Access)
โ๏ธ Random Access
- ์ด๋๋ท, ์์ดํ์ด๊ฐ ์ฌ์ฉํ๋ ๋ฐฉ์
- ์ฌ๋์ด ์ ์ ๋ ํจ์จ์
- channel not divided, allow collisions
- how to detect, recover from collisions
- CSMA (Carrier Sense Multiple Access)
- listen before transmit
- ๋ฌผ๋ฆฌ์ ์ด์ ๋ก ์ถฉ๋์ด ๋ถ๊ฐํผํ๋ค
- ๊ทธ๋ ๋ค๋ฉด ์ถฉ๋์ damage ๋ฅผ ์ต์ํํด์ผ ํ๋ค
- ๊ทธ๋์ ๋์จ ๊ฒ์ด CSMA/CD (collision detection)
- frame ์ ์ก ์ค, collision detection ์ถฉ๋ ๋ฐ์ ์ ์ ์ก์ ์ค๋จํ๋ค
- random time ํ frame ์ ์ฌ์ ์กํด์ผ ํ๋ค (random range ๊ฐ ์งง์์๋ก ์ข๋ค)
- ์ผ์์ํ์์ ์ฐ๋ฆฌ๊ฐ ๋ํํ๋ ๊ฒ๊ณผ ๋น์ทํ๋ค
- efficient at low load: single node can fully utilize channel
- high load: collision overhead
โ๏ธ Taking Turns
- ํ์ค์ ์ผ๋ก ๋ง์ด ์ฐ์ด์ง ์๋๋ค: single point of failure
- look for best of both worlds!
Ethernet
frame structure
data ์ ip packet ์ด ๋ค์ด๊ฐ๋ค
48 bit MAC address ๊ฐ ๋ค์ด๊ฐ๋ค

Wifi
frame structure

๐ Reference
์๋ชป๋ ๋ด์ฉ์ด ์๋ค๋ฉด ๋๊ธ๋ก ์๋ ค์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค ๐